Code: Select all
Inputs:
PROFITTARGET( 8 ),
STOPLOSS( 10 );
SetProfitTarget( PROFITTARGET * 10 ) ;
SetStopLoss( STOPLOSS * 10) ;
However, whenever I add CurrentContracts:
Code: Select all
Inputs:
PROFITTARGET( 8 ),
STOPLOSS( 10 );
SetProfitTarget( PROFITTARGET * 10 * CurrentContracts) ;
SetStopLoss( STOPLOSS * 10 * CurrentContracts) ;
The number of contracts traded is always one (but I plan to add more).
I do not understand why the values are not 80 and 100...