Hi,
I'm doing some BT with a strat' and a "setpercenttrailing".
The result is that the equity curve looks nice, ... too nice?
I use forex 1H00 barcharts data (backfilled, based on 1 min datas).
Do u know some problems in backtesting with the setpercenttrainling function?
Thank you!
Backtest with SetPercentTrailing
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: Backtest with SetPercentTrailing
Dear Roumeau,
There are no backtesting problems with setpercenttrainling function. But please note that it is not a real-time trading, but backtesting - it will always give smoother results than real trading.
To make the backtesting results more realistic you can use so called "True Backtesting": plot a chart with 3 data series (three subcharts), apply your signal to the trade subchart, enable Extended Backtesting mode (Strategy Properties --> Backtesting) and set ask data series as Ask and bid data series as Bid.
There are no backtesting problems with setpercenttrainling function. But please note that it is not a real-time trading, but backtesting - it will always give smoother results than real trading.
To make the backtesting results more realistic you can use so called "True Backtesting": plot a chart with 3 data series (three subcharts), apply your signal to the trade subchart, enable Extended Backtesting mode (Strategy Properties --> Backtesting) and set ask data series as Ask and bid data series as Bid.