datetime bod = date(); int iBod = iBarShift(_Symbol, PERIOD_M5, bod); double hBod = iHigh(_Symbol, PERIOD_M5, iBod);
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
newbie trying to learn mql4 here.
I want to write an EA that will take the high low of the first bar of the day in a 5 min chart to draw a fibo retractment, and then trade based on those lines.
Have been struggling with finding the first bar of the day. Any guidance will be greatly appreciated.
Thanks in advance~