Guide
How does the [Sextan] PINEv5 Sextans Backtest Framework V3.3 strategy work ?
The [Sextan] PINEv5 Sextans Backtest Framework V3.3 is a powerful tool designed to streamline the backtesting process for quantitative traders. By leveraging the new Bar Magnifier feature in Pine Script V5, it enhances the accuracy of strategy evaluations. The framework operates on a two-layer approach:
- The first layer, "{Sextan} Your Indicator Source", allows users to insert their own strategy's buy and sell signals into a provided template. These signals are then transferred to the second layer for further processing.
- The second layer, "{Sextan} PINEv5 Sextans Backtest Framework", serves as the execution ground—processing incoming signals, applying filters, setting Take Profit/Stop Loss levels, and generating custom alerts. This layer is instrumental in producing the backtest reports which include custom metrics for performance evaluation.
To employ this framework, users must add their adjusted first layer script to TradingView's chart, which results in a visual representation of buy (yellow) and sell (purple) signals. Next, by loading the second layer and configuring the settings to select the custom strategy source, traders can observe markers on the main chart and access an array of backtesting data. This includes generating backtest profit graphs and retrieving detailed report files.