overnight high and low
SanMiguel:
I want to find the overnight high and low between 2 times but am having some anomalies in the numbers. Is this code correct?
For example, at 0600 we work out out the highs and lows of all candles from 1900 to 0559
It doesn't seem to be counting back to the 1900 candle at present.
double OvernightLow = Low[iLowest(NULL,PERIOD_H1,MODE_HIGH,diff,0)];
Why not
double OvernightLow = Low[iLowest(NULL,PERIOD_H1,MODE_LOW,diff,0)];
robofx.org:
Why not
Argh! Yes, thanks :)
I want to find the overnight high and low between 2 times but am having some anomalies in the numbers. Is this code correct?
For example, at 0600 we work out out the highs and lows of all candles from 1900 to 0559
It doesn't seem to be counting back to the 1900 candle at present.