problem with sigScaleOut

#1
I am getting rid of half positions at a purticular level. I use
buy=sigScaleOut;


and later

Code:
SetPositionSize( 100, spsShares); 
SetPositionSize( 50, spsPercentOfPosition * ( Buy == sigScaleOut OR Short== sigScaleOut) );
But in the backtester results even the trades which never reached the scaleout target show up with half positions. Can anyone please help.
 

Similar threads