Login Page - Create Account

Support Board


Date/Time: Mon, 23 Dec 2024 00:22:22 +0000



Highest High and Lowest Low based on Open/Close only, ignoring candle wicks

View Count: 1027

[2015-09-07 14:11:49]
User44052 - Posts: 34
Is there a way to get the sc.Highest and sc.Lowest functions to return values based only on the body of a candle over N bars. In other words, I want the highest high N bars ago to be based on only open/close prices, WITHOUT taking into account the High and Low.

Any help is appreciated.
[2015-09-08 02:03:54]
Sierra Chart Engineering - Posts: 104368
Yes this is possible. You just need to pass through either the Open or Close arrays to the sc.Highest/Lowest functions.

Refer to:
https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scBaseDataIn
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

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

Login

Login Page - Create Account