I'm wondering how I would note a place in time once discovered through a loop. I don't have any code prepared but my intention is to run a FOR loop looking for the place where the MACD value is higher than the current value.
Doing that much I understand, but I now want to look at price at that exact time and I'm not sure how to do that.
Would anyone mind sharing their ideas on how I might do this? I appreciate your help. Thank you in advance.
- For loop running problem, please help.
- Don't tell me then that TA doesn't work
- Trying to find the high of a MACD wave
Perhaps you should read the manual. iBarShift to convert your "exact time" to a bar index. Use that to read bar values.
Timeseries and Indicators Access - MQL4 Reference
Timeseries and Indicators Access - MQL4 Reference
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