SetStopLoss(CalculationMode.Ticks, 13);
SetProfitTarget(CalculationMode.Ticks, 12);
entryOrder = EnterLongLimit(0, true, 1, Close[0],, "MyStrat");
then, I've been attempting to exit, trying any one of these statements:
ExitLong();
ExitLong(1);
ExitLong("MyStrat");
ExitLongLimit(GetCurrentBid());
ExitLongLimit(GetCurrentBid(), "MyStrat");
ExitLongLimit(1, GetCurrentBid(), "MyStrat", "MyStrat");
But testing each of these Exit statements, they all fail to get me out of the order. Obviously, I'm missing some way to connect the ExitLong, to the entry.
How to do? Thanks.
Comment