Adding Backtesting Range to TradingView Strategy in 3 lines of code
QuantNomad
My Advanced PineScript Use-Cases Course: https://qntly.com/advpine My PineScript Programming Course: https://qntly.com/pineprog My Pro TradingView Indicators: https://qntly.com/proind Use this link to get $30 when you upgrade to a TradingView paid plan: http://qntly.com/xt9
#######################################
Follow me on: TradingView: https://qntly.com/trdv Discord: https://qntly.com/discord Telegram: https://qntly.com/tel Twitter: https://qntly.com/twtr
Contact me: https://qntly.com/con
#######################################
It's quite important to test a strategy in different periods of time. So it useful to have a backtesting range in your PineScript strategies. TradingView just recently added time input to PineScript. With it, you can implement a backtesting range just in 3 lines of code. In this video, I show you how you can do that.
Here you can find the code I used in the video: https://quantnomad.com/2020/12/08/adding-backtesting-range-to-tradingview-strategy-in-3-lines-of-code/ ... https://www.youtube.com/watch?v=1PLST_r7Mxk
14812528 Bytes