Login Page - Create Account

Support Board


Date/Time: Fri, 10 Jan 2025 22:59:03 +0000



ACSIL question

View Count: 741

[2016-10-03 17:30:23]
Samir - Posts: 4
I need to get highest/lowest value over n bars, any function to do that?
[2016-10-03 18:47:18]
Sierra Chart Engineering - Posts: 104368
Refer to:
sc.Highest()

sc.Lowest()
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
[2016-10-04 07:17:38]
Pinger - Posts: 33
Hi

Try sc.Lowest and sc.Highest. The 'n' count includes the current bar. Be careful with the 4 parameter version as it starts 'Index' bars back from the current bar and then calculates the Lowest/Highest 'n' bars backwards from this point. I found this bit a little confusing to start with.

Kind regards

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

Login

Login Page - Create Account