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 :)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.