Forum

EA works only on "step index"

//+------------------------------------------------------------------+ //| MACD EA.mq5 | //| Copyright 2022, MetaQuotes Ltd. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2022, MetaQuotes Ltd." #property link "

Please, I need help. I Got 3 errors in my codes, but I can't fix them

//+------------------------------------------------------------------+ //| MACD EA.mq5 | //| Copyright 2022, MetaQuotes Ltd. | //| https://www.mql5.com |

No order execution, no error

I tried creating a MACD expert advisor(EA) of mql5, but it doesnt execute order order and doesn't give any error message. Please, what could have been the cause? Below is the code: ***