joaomvr / Publications
Forum
Take Profit and Stop Loss not always working as expected
Hello Everyone, I have recently started using MQL5 and I am testing my first algorithm. It is supposed to send a buy limit order to buy a stock at price p_latest and sell it at price (p_latest - stop_loss) or (p_latest + take_profit). My stoploss is 5 points and my takeprofit is 1 points. However