monaphilips / Publications
Forum
How to select the previous order of the same symbol/type and check profit before opening a second order
Hi guys, I am having a persistent problem, I am trying to select the previous order of the same symbol and type (buy/sell), check if the profit has gone up by certain value (pyramid) before opening a second order. The code below shows what I did, but its not working. UsePoint is either 0.01 or
Scaling In or Pyramiding every time Trailing Stop moves to breakeven
Good day guys, I am trying to code an EA that opens a new trade as soon as the trailing stop for the previous entry is at breakeven. I want to do this at least 5 times when the trailing stop is above the previous entry price. //2nd Sell Order OrderSelect (SellTicket,SELECT_BY_TICKET); if (StopLoss <