Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 16:54:08 +0000



Simple Range Function

View Count: 666

[2016-08-18 04:19:08]
User147461 - Posts: 33
In addition to the TrueRange function would you please consider adding a Range function as well to the scstudyfunctions.cpp file?


float Range(SCBaseDataRef BaseDataIn, int Index)
{
return BaseDataIn[SC_HIGH][Index] - BaseDataIn[SC_LOW][Index];
}

Thank you!
[2016-08-18 04:32:00]
Sierra Chart Engineering - Posts: 104368
This function will be in the next release:
float GetRange(SCBaseDataRef BaseDataIn, int Index);
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-08-18 04:44:32]
User147461 - Posts: 33
Maybe also add the single step function as well:
SCFloatArrayRef Range_S(SCBaseDataRef BaseDataIn, SCFloatArrayRef Out, int Index)

Thank you!

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

Login

Login Page - Create Account