SimoneMicucci00

Manual Backtest - Flat the Chart

This script is an utility tool for manual backtesting.
The main problem in backtesting a discretionary strategy is the bias of knowing the future result of the market, in this way all the market will be crushed into a flat line, this way you can avoid bias.
The way to use this indicator is easy and made by 4 step:
  • Step 1 : add to an asset you won't backtest and put the auto scale on
  • Step 2 : go to the asset you will backtest and scroll left until the date you want to start
  • Step 3 : use the replay function of tradingview (15 min chart won't go back more than 18 month)
  • Step 4: toggle off the indicator or remove from the chart (untill next asset to backtest)

That's not a complex indicator but is what you need to do a fair backtesting

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?