Guide
How does the Strategy Backtesting Template [MYN] strategy work ?
The Strategy Backtesting Template [MYN] is a comprehensive tool for validating and developing trading strategies in TradingView. This template accommodates a versatile set of features, including specifying trading date ranges, setting trade directions, and using automatic ADX conditional logic. It facilitates trade decisions with a progression of four take profit levels where each level has its target percentage and corresponding position percentage for profit realization.
It introduces variable percentage-based stop losses and enables automatic ProfitView Alert Syntax builder for both long and short positions. An EMA filter is present to make position entry conditional on the price being above or below the EMA line. Additionally, one can opt for the MASANAKAMURA ADX variant to the existing ADX filter.
The template also includes a user-defined Time Of Day Window to limit trades to certain hours and provides a Performance Summary Dashboard. Monthly performance is tracked and visualized thanks to input from @QuantNomad, and leverage calculation bugs were addressed with contributions from Cybertron.
The scripted logic for entries and exits uses the Relative Strength Index (RSI) as a base indicator. The entry conditions are set via a crossover above for long entries and a crossunder below for short entries. Exit conditions also follow the RSI but use different threshold levels. These simple criteria are easily adjustable, providing a robust foundation for strategy testing and refinement.