Login Page - Create Account

Support Board


Date/Time: Thu, 16 Jan 2025 09:49:13 +0000



[Programming Help] - Save Chart to File with ASCIL

View Count: 1850

[2017-10-28 15:12:25]
User29926 - Posts: 92
Is there a way to access "Save Chart to File" ability with ASCIL?
If so, documentation with code snippet?

I want to be able to create a study that will auto save a screen shot of the chart that it is applied to.
So whenever I either enter or exit a trade, I will have a visible chart record on file.

I know the first thought will be.Just save to file when you enter or exit the trade.
Yes, I could.But NO its not what I want to do.

(1)I need this for capturing charts during replay testing of auto trading strat.(Im not going to set at my desk for hours manually saving charts to file as they happen).

(2) When live trading, I cant be distracted by clicking on the menus to save a chart to file.
Date Time Of Last Edit: 2017-10-29 07:29:10
[2017-10-28 22:51:13]
Kiwi - Posts: 375
Assuming that there is no direct approach this would work.

When your condition occurs write some text (say, "Save Now" to a file)

Run a Python program or keyboard macro script that repeatedly reads the file. If it finds the words in the file it should delete the file or words (so it doesn't repeat) and then bring sierra to foreground and issue a keyboard command that has been linked to your chosen Save Chart to File command.

You can set new key combinations in the Global Settings, Customize Keyboard Shortcuts menu.
Date Time Of Last Edit: 2017-10-28 22:51:46
[2017-10-29 01:48:39]
User29926 - Posts: 92
Run a Python program or keyboard macro script that repeatedly reads the file. If it finds the words in the file it should delete the file or words (so it doesn't repeat) and then bring sierra to foreground and issue a keyboard command that has been linked to your chosen Save Chart to File command.

If SC doesn't expose a function in ASCIL that already exist in the Platform.
Forcing customers to have to resort to third party programs, learning a new scripting languages in addition to ASCIL.
Is not a good thing.
As a former Tradestation user and EL developer, sometimes I feel like I have stepped back 10 years in time with SC.

Another issue that grinds my gears.
I have a Trendline trading strat I developed with EL, worked perfect in Tradestation.
However, I cant replicate it in SC, cause SC refuse to provide the ability to access a hand drawn trendline
on a chart with ASCIL.
Determine when current price cross over or under trend line
Access a hand drawn trendline in Tradestation with EL has been available for over 10 years or more.
[2017-10-29 12:30:36]
Sierra Chart Engineering - Posts: 104368
Both of your posts are beyond belief. You are not even reading the documentation. All of this is so thoroughly documented. Read the ACSIL documentation:
Table of Contents | (Advanced Custom Study/System Interface and Language (ACSIL))

Everything you want to do is documented.



However, I cant replicate it in SC, cause SC refuse to provide the ability to access a hand drawn trendline
on a chart with ASCIL.
Determine when current price cross over or under trend line
Access a hand drawn trendline in Tradestation with EL has been available for over 10 years or more.
Sierra Chart does have the ability to do this and the thread you made reference to is not even about this.


And Kiwi, you are not helping matters here at all.

Why are you yourself not even reading the documentation? We are providing you free use of Sierra Chart and you are making matters only worse here. This is not appreciated.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-10-29 12:31:23
[2017-10-29 22:57:49]
User29926 - Posts: 92

And Kiwi, you are not helping matters here at all.
Why are you yourself not even reading the documentation? We are providing you free use of Sierra Chart and you are making matters only worse here. This is not appreciated.

SC, why are you attacking and degrading Kiwi a customer for posting his thoughts?
Even if SC provides him free use of the software, it should not matter.
It should not mean that he has to set in the corner and be afraid to post or speak his thoughts in assisting someone.

Both of your posts are beyond belief. You are not even reading the documentation. All of this is so thoroughly documented. Read the ACSIL documentation:
Table of Contents | (Advanced Custom Study/System Interface and Language (ACSIL))

Everything you want to do is documented.
How wonderful a link to hundreds of pages to sift thru, no sample code.
With a pat on the back saying you on your own.
[2017-10-29 23:46:49]
Sierra Chart Engineering - Posts: 104368

It should not mean that he has to set in the corner and be afraid to post or speak his thoughts in assisting someone.
Yes he should if he is posting that kind of information without seeing if there is an available variable or function to accomplish what you want. He should also recognize that his suggestion is probably beyond your abilities if you cannot even on your own find a function or variable to save a chart image.

The reason it is considered an annoyance to us, is that the functionality exists and he himself is not taking the time to look it up even though he has been provided Sierra Chart for free, and he is giving something ridiculously complicated that very few of our users would have the ability to implement or it be interested in. We make no apologies here whatsoever. We are going to be blunt and to the point.

Thinking about this, this is not the first time we have told Kiwi to stay away from answering other users questions. Now, this thread was marked as Programming Help, so we were inviting other users answers, but Kiwis answer, was not reasonable.



With a pat on the back saying you on your own.
Self-sufficiency is very important and you should recognize that.

How wonderful a link to hundreds of pages to sift thru, no sample code.
As you know, your statement is completely untrue.

There are not hundreds of ACSIL pages. There are two pages containing the list of ACSIL Functions and Variables. And there is extensive example code.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-10-30 19:04:17
[2017-10-30 00:18:27]
Sierra Chart Engineering - Posts: 104368
These are the relevant pages for the documentation to save an image of the chart to a file:
ACSIL Interface Members - Variables and Arrays
https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html

Some corrections were made to post #6 above. There were some dictation errors.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-10-30 00:20:38
[2017-10-30 00:35:59]
User29926 - Posts: 92
He should also recognize that his suggestion is probably beyond your abilities if you cannot even on your own find a function or variable save a chart image.

You don't know what my ability's are.
But thanks for proving that you like to degrade and insult your customers.

As you know, your statement is completely untrue.

There are not hundreds of ACSIL pages. There are two pages containing the list of ACSIL Functions and Variables. And there is extensive example code.

I'm not stupid.I saw that section of the documentation before I post my earlier reply and there was no sample code there.
Its there now an because it has been updated. An "extensive" one line.

I use Firefox browser and as long as the web page is loaded, it will show a popup that the web page has been updated, which it did.
So there is no need to try and make it look like I`m an idiot, because I am not.

There is no need to reply, cause I am done on this thread.

Kiwi, thanks for taking the time to offer your suggestion.
Even when you didn't have to. Very much appreciated.
Date Time Of Last Edit: 2017-10-30 00:46:40

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account