Keith Watford:
Yes thanks. But which MQL4 order can do this?
The EA on H4 can just access and check the Daily time-frame. No need for the EAs to communicate.
Analyze open and close from the daily candle with the current bar number.
Marco vd Heijden:
Ok, but (running in time-frame H4) if I code Open[0] I get the Open of the H4 candle and my question is : how code the Open[0] of the Daily candle ?
Analyze open and close from the daily candle with the current bar number.
Yes use
double open_D1=iOpen(Symbol(),PERIOD_D1,0); double close_D1=iClose(Symbol(),PERIOD_D1,0);
Marco vd Heijden:
Yes use
Ok it is exactly what I was looking for.
Thank you very much

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