Login Page - Create Account

Support Board


Date/Time: Sun, 06 Jul 2025 10:18:18 +0000



Post From: How to detect price cross a constant on the same bar

[2015-01-28 03:46:09]
Sierra Chart Engineering - Posts: 104368
Here is the documentation for a crossover compared to a fixed value:
ACSIL Interface Members - Functions: Checking for a Crossover between an Array of Values and a Fixed Value

In an Intraday chart the most reliable way to get the previous day's close is to use the Daily OHLC study:
https://www.sierrachart.com/index.php?page=doc/doc_TechnicalStudiesReference.html#s137

And reference it following the documentation here:
ACSIL Programming Concepts: Using or Referencing Study/Indicator Data in an ACSIL Function
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