Before placing Stop Loss and Take Profit, it is the USER who must think with his own head. You are solely responsible for the Stop Loss and Take Profit levels. Before setting these levels you should check the specification of the symbol. Checking the symbol specification - in the ' Market Watch ' window, right click and the 'Specification' menu.
See all properties. Read the article: The checks a trading robot must pass before publication in the Market
//--- Points (1.00045-1.00055=10 points)
m_stop_loss = InpStopLoss * m_symbol.Point();
m_take_profit = InpTakeProfit * m_symbol.Point();
m_trailing_stop = InpTrailingStop * m_symbol.Point();
m_trailing_step = InpTrailingStep * m_symbol.Point();
Please enable the necessary setting in your browser, otherwise you will not be able to log in.