Login Page - Create Account

Support Board


Date/Time: Wed, 26 Feb 2025 17:59:21 +0000



acsil function

View Count: 407

[2021-05-30 18:45:58]
User39772 - Posts: 311
Hello,
can you recommend an acsil function or code section that enables me to extract the time of day within an intraday chart
for e specific price level.

Example:
The input of the function is the price level, e.g. 110 USD, and the output of the function is the first time, e.g. 11:05 a.m.
when this price was valid during the trading day.
[2021-05-31 07:59:46]
Sierra_Chart Engineering - Posts: 18569
This requires iterating through the indexes of the bars in the chart and checking the price values, and then accessing the Date-Time array to get the time.

Refer to:

Working with ACSIL Arrays and Understanding Looping
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, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account