Login Page - Create Account

Support Board


Date/Time: Thu, 16 May 2024 05:53:51 +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:
https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Functions.html#CrossoverBetweenArrayAndFixedValue

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:
https://www.sierrachart.com/index.php?page=doc/doc_ACSILProgrammingConcepts.html#UsingStudyData
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