Here are the extern variables:
Code: Select all
extern double SD_Level_1=1; //change these to whatever multiples of StDev you want
extern double SD_Level_2=2;
extern double SD_Level_3=3;
extern int Start_Hour=8; //inclusive
extern int End_Hour=18; //inclusive
extern int Max_Data_Points = 0; //use zero to signify all available data
On the 15 minute chart, the results look a bit mixed. Sometimes the thresholds serve as reversal points, other times it's the beginning of the trend. Perhaps different variations of the StDev multiples will make a difference.
Also, let me know if you find anything weird with the logic and I'll try to turn around a fix as soon as possible.
George