Reread the manual regarding sigScaleIn and sigScaleOut. sigScaleOut is used in Buy, not in Sell. When Sell sells, it sells entire position.

On 6/29/2010 08:05, Prabu wrote:

I'm trying to sell half of the position it currently holds.
I've given ..

PositionSize = IIf(Buy, -100, -50);
Sell = sigScaleOut;

but still it sells the whole position...


Reply via email to