I've recently enabled the "sub-pips" setting in the Control Panel. Because of this, I'm now having some difficulties setting my StopLoss levels (where I hadn't before). Here is the code I'm using but it doesn't seem to properly set the StopLoss and I don't know why:
EnterPlace = Close[0] + ((0 / TickSize) / 10);
ExitPlace = EnterPlace - ((30 / TickSize) / 10);
SetStopLoss("HI Entry", CalculationMode.Price, ExitPlace, false);
I know that this accurately calculates the correct number of pips (30), but the StopLoss level is not correctly set anymore (before I enabled the "sub-pips")...can somebody point out my error?
Comment