I'm testing some simple strategies, does anybody see why the Enter works fine, but the ExitLongStop is never executed ?
regards Ali
if (ADX(14)[0] > 25
&& Close[0] < SMA(10)[0]
&& Close[0] > EMA(30)[0]
&& 1 == Swing(0).SwingLowBar(0, 1, 10))
{
EnterLong(DefaultQuantity, "");
}
ExitLongStop(Swing(1).SwingLow[0], "StopExit", "");

Comment