The Moving Average expert for forming trade signals uses one moving average. Opening and closing of positions are performed when the moving average meets the price at the recently formed bar (bar index equals to 1). The lot size will be optimized according to a special algorithm. The expert advisor analyzes concurrence of the moving average and the market price chart. The checking is performed by the CheckForOpen() function. If the moving average meets the bar in such a way that the former is higher than Open price but lower than Close price, the BUY position will be opened. If the moving average meets the bar in such a way that the former is lower than Open price but higher than Close price, the SELL position will be opened. backtest graph
NOTE: Hacked or illegal versions of copyrighted Forex robots are highly prohibited on MT4talk.com. If you upload any illegal version of any copyrighted Forex robot, your forum account will be banned. No exceptions.
Forex Risk Warning: Due to leverage, Forex comes with a high risk of losing money. Eighty to 90 percent of Forex traders lose money. You should not invest money that you cannot afford to lose.