Quote:
Originally Posted by Big Be
I want to grab the highest and lowest values of an indicator over an entire chart. A while ago I tried what I thought should have worked, from within an EA, but it didn't.
(Sorry I don't have that attempt now to show you.)
Any ideas?
Big Be
|
using the iHighest function:
int iHighest( string symbol, int timeframe, int type, int count=WHOLE_ARRAY, int start=0)
set the count to "Bars" so.
iHighest(NULL, 0, 3, Bars, 0);
At least that what I think would work. Just check in your chart settings how many bars you keep in history. Default I think is 52,000 bars.