ActivationFloor in 6.40.0

Hi,

I wonder if ActivationFloor is now available with stopModeRisk in ApplyStop?

I am aware of Tomasz post

However, when I perform this optimisation:

Cover = 0;

risksize = Optimize("risksize", 50.0, 10.0, 80.0, 5.0) ;
//risksize = 50 ; // percent of profits willing to give up
//barsDelay = Optimize("barsDelay", 0, 0, 10, 1) ;
barsDelay = 0 ;
flooramt = Optimize("flooramt", 1.2, 0.1, 2.0, 0.1) ;
//flooramt = 1.2 ;
//ApplyStop( type, mode, amount, exitatstop, volatile, ReEntryDelay = 0, ValidFrom = 0, ValidTo = -1, flooramount )
ApplyStop( stopTypeTrailing, stopModeRisk, riskSize, 2, False, 0, barsDelay , -1, flooramt  );

The results are sensitive to 'flooramt'.

The objective of the trailing stop is that after 1.2% gains I would cover whenever I am giving up more than 50% of the profits (looking intra-bar for lows). This is what I tried to implement in the code above.

Any help much appreciated,
Carlos

PS. I think volative is not relevant as riskSize is a constant.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.