I wrote simple Moving Average Strategy ea but There are some missing ones.
Bar closing process when it closes . Because Cross Ma and result in unnecessary processing.
H1 Bar Closing and h1 new positions . (No repaint)
In addition some may be missing. Stop filter tp st etc... Do not put it. H1 eur usd cross moving average strategy and closed candle new positions .
Thank you .
File to edit :
Can someone help me please?
sma = iMA(Symbol(), 0, smaPeriod, 0, MODE_SMA,PRICE_CLOSE, 0);
lwma = iMA(Symbol(), 0, lwmaPeriod, 0, MODE_LWMA,PRICE_CLOSE, 0);