Forum

Conversion of ATR Pips in MT4 to MT5

//+------------------------------------------------------------------+ //| ATR Percentage S/L-T/P .mq4 //| | //| |

Backtesting EA - Moving Stoploss to Breakeven

//for LongEntry Condition if (glongEntry == true ) { if ( PositionsTotal () == 0 ) { double buyStopLoss = BuyStopLoss( _Symbol ,StopLoss); double buyTakeProfit = BuyTakeProfit( _Symbol ,TakeProfit); gbuyTicket1 = Trade.Buy( _Symbol