stfl / backtestd-expert

8 stars 4 forks source link

Add a delay for applying the trailing stop #12

Open stfl opened 3 years ago

stfl commented 3 years ago

accoring to the NNFX trailing stop rules it should only be added once price moved beyond 2*ATR from the entry.

This could either done by adding an option to CTrailingAtr or by adding a flag to BacktestExpert that only enables the Trailing stop once the desired level was passed.