Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 19:22:48 +0000



Current price

View Count: 1006

[2014-12-27 22:41:15]
User53601 - Posts: 105
Is there a way to access the current price, current High or current Low?

I am trying to write a code in ACSIL to draw a line which ends at the the current High or Low.

However I can not find an ACSIL data variable which contains the current High or Low. Is it available in ACSIL?
[2014-12-27 23:23:47]
Sierra Chart Engineering - Posts: 104368
Check this page for sc.DailyHigh/Low:
http://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Variables_And_Arrays.html
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
[2014-12-28 12:11:46]
User53601 - Posts: 105
I should have been more precise:

I mean the High of the current bar and Low of the current bar. Are these data available in ACSIL?

I do not mean sc.High[sc.Index] but the High of the current bar which is not closed yet. I tried to use the sc.High[sc.Index+1] but seems it is not giving the value.
Date Time Of Last Edit: 2014-12-28 12:15:37
[2014-12-29 04:07:25]
Sierra Chart Engineering - Posts: 104368
Refer to the documentation here:
https://www.sierrachart.com/index.php?page=doc/doc_ACS_ArraysAndLooping.html

This is an example of what you will need to use:
sc.High[sc.ArraySize -1]
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
[2014-12-29 18:27:45]
User53601 - Posts: 105
It helped.

Thank you.

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

Login

Login Page - Create Account