Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 17:03:43 +0000



GetHighest and GetLowest Function Prototypes

View Count: 1201

[2016-08-18 16:16:07]
User147461 - Posts: 33
Would you please consider adding the GetHighest and GetLowest function prototypes in the scstudyfunctions.h file?


float GetHighest(SCFloatArrayRef In, int StartIndex, int Length);

float GetLowest(SCFloatArrayRef In, int StartIndex, int Length);

Thank you!
[2016-08-18 17:34:29]
Sierra Chart Engineering - Posts: 104368
These are already member functions of the ACSIL interface:
http://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html
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 20:25:01]
User147461 - Posts: 33
I'm calling the GetHighest and GetLowest functions directly from a separate MyFunctions.cpp file and not from my main MyStudies.cpp file.

It would just be more convenient for me to have these prototypes included in the scstudyfunctions.h file if it causes no harm no foul.

These are also member functions of the ACSIL interface which have corresponding prototypes included in the scstudyfunctions.h file.
sc.GetSummation
sc.GetTrueHigh
sc.GetTrueLow
sc.GetTrueRange

Prototypes included in the scstudyfunctions.h file:
float GetSummation(SCFloatArrayRef In,int Index,int Length);
float GetTrueHigh(SCBaseDataRef BaseDataIn, int Index);
float GetTrueLow(SCBaseDataRef BaseDataIn, int Index);
float GetTrueRange(SCBaseDataRef BaseDataIn, int Index);

Thank you for reconsidering!
[2016-08-19 05:08:29]
Sierra Chart Engineering - Posts: 104368
This is definitely not something that we would do. It is not consistent with the overall design.

You need to do this:
http://www.sierrachart.com/index.php?page=doc/ACSILProgrammingConcepts.html#PassingACSILMembers
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
Date Time Of Last Edit: 2016-08-19 05:08:47

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

Login

Login Page - Create Account