hi boufalo,
yes, both will be there, because sigScaleOut is working as Pyramiding (scaling out) on some condition while the ApplyStop is a hard stop and acts as Stop Loss.
if you are running this strategy for multiple instruments (and you want to have portfolio created amongst them) then you have to use Portfolio backtest only but if it is for single instrument (or multiple instruments but each being tested independently) then you can use either one.
yes, both will be there, because sigScaleOut is working as Pyramiding (scaling out) on some condition while the ApplyStop is a hard stop and acts as Stop Loss.
if you are running this strategy for multiple instruments (and you want to have portfolio created amongst them) then you have to use Portfolio backtest only but if it is for single instrument (or multiple instruments but each being tested independently) then you can use either one.
i just try it but i donot understand this part in your code InTrade = Flip( Buy, Sell );
why we have to define the sell? if we are using scaleout ?
also even iif i write Sell = 0; // we do not sell
the system does not open any position
in my code i just quickly made i donot have a sell= somethink; and for that reason i have Error sell used without initialized
any idea?
can i PM to you ?
thank you