The question is very very simple.
I'm backtesting a strategy WITH IOG that uses the zig zig swings to perferm entries and I'm using fixed stop loss and target (20 and 10 points).
So By using the
Code: Select all
setstoploss( stopPoints * bigpointvalue);
How's possible??
I can post the code I'm using if you wish but the setstoploss( stopPoints * bigpointvalue) is indipendent and it should send a stop order to the broker as soon as the position is opened so why this result in my backtest??
I've never seen something like this before.
Regards,
David