Can somebody help me, how can I write the code, because I am beginner of programming in mql.
In My strategy are two Simple Moving Average and Average Directional Movement Index.
I want open buy, when SMAB>SMAR && PlusDI>MinusDI && ADX>ADXLevel
And I close it on TakeProfit or Stoploss. If the buy closed, I want wait to open sell, NO open next order buy.
When MAs intersect I want open only one trade to next MAs intersect.
I don't know, how can I continue with programming.
Thank you very much!
To add comments, please log in or register