in the help guide appears:
Should you call this method to dynamically change the trail stop price in the strategy OnBarUpdate() method, you should always reset the trail stop price / offset value when your strategy is flat otherwise, the last price/offset value set will be used to generate your trail stop order on your next open position.
In my strategy, the trailing stop is on bar uptade. I do not understand this tip.
- For example. I have used
SetTrailStop (CalculationMode.Percent, 0.01);
The value of 0.01 can be modified? one example:
In NQ instrument. Long Order filled at 10000
Trail stop offset 9900
Next order Long Order filled at 9900
Trail stop offset 9801
This is the scheme?
Regards
Comment