Highest and Lowest price within a specific time frame
KH
Use something like
double val; // calculating the highest value on the 20 consequtive bars in the range // from the 1st to the 20th index inclusive on the current chart val=High[iHighest(NULL,0,MODE_HIGH,21,1)];
Good Luck
-BB-
Hello,
Does anyone, or has anyone, already written a scrip which calculates the highest and lowest price within a specified time range (for example between 10-11am) and give the values of those highest point?!
I am new to coding and have limited coding skills. Just on the of chance....
Thanks