I use market orders and my initial set stop loss is working just fine. here is the code I use:
SetStopLoss("target1long", CalculationMode.Ticks, 250, true);
entryLongOrder1 = EnterLong(numcontracts, "target1long");
I call "SetStopLoss("target1long", CalculationMode.Ticks, 20, true);" in my code and I am 100% sure it is being called, however, my stop is not moving from the initial stop loss.
It doesn't matter what the tick amount is, it never gets set and always reverts back to my initial stop.
I am running the free sim version of ninjatrader and I connect to an FXCM demo account.
Thanks for the help!
Comment