MT5 EA based on custom indicator triggering 2 bars late
An EA I created that calls a custom indicator using iCustom executes trades 2 bars after the indicator has triggered on the chart. Any ideas why this would be happening?
Any advice greatly appreciated!
- ICustom function
- EA trade when custom indicator prints
- Questions: to start with MetaTrader and forex
sgrossman: Any ideas why this would be happening?
Because that is how it is programmed.
How To Ask Questions The Smart Way. (2004)
Don't rush to claim that you have found a bug.
Questions Not To Ask
My program doesn't work. I think system facility X is broken.
It is almost always your code.