Aggiornato
Reinforced RSI - The Quant Science

This strategy was designed and written with the goal of showing and motivating the community how to integrate our 'Probabilities' module with their own script.
We have recreated one of the simplest strategies used by many traders. The strategy only trades long and uses the overbought and oversold levels on the RSI indicator.
We added stop losses and take profits to offer more dynamism to the strategy. Then the 'Probabilities' module was integrated to create a probabilistic reinforcement on each trade.
Specifically, each trade is executed, only if the past probabilities of making a profitable trade is greater than or equal to 51%. This greatly increased the performance of the strategy by avoiding possible bad trades.
The backtesting was calculated on the
TSLA, on 15 minutes timeframe.
The strategy works on Tesla using the following parameters:
1. Lenght: 13
2. Oversold: 40
3. Overbought: 70
4. Lookback: 50
5. Take profit: 3%
6. Stop loss: 3%
Time period: January 2021 to date.
Our Probabilities Module, used in the strategy example: https://www.tradingview.com/script/c59tBqoE-Probabilities-Module-The-Quant-Science/
We have recreated one of the simplest strategies used by many traders. The strategy only trades long and uses the overbought and oversold levels on the RSI indicator.
We added stop losses and take profits to offer more dynamism to the strategy. Then the 'Probabilities' module was integrated to create a probabilistic reinforcement on each trade.
Specifically, each trade is executed, only if the past probabilities of making a profitable trade is greater than or equal to 51%. This greatly increased the performance of the strategy by avoiding possible bad trades.
The backtesting was calculated on the
The strategy works on Tesla using the following parameters:
1. Lenght: 13
2. Oversold: 40
3. Overbought: 70
4. Lookback: 50
5. Take profit: 3%
6. Stop loss: 3%
Time period: January 2021 to date.
Our Probabilities Module, used in the strategy example: https://www.tradingview.com/script/c59tBqoE-Probabilities-Module-The-Quant-Science/
Note di rilascio
User interface improvement. Note di rilascio
- Pine 6 Code Update
Description Update | 2026
This buy-and-sell strategy is an example of how to apply a smart filtering approach based on % win rate.
Win Rate %: https://www.tradingview.com/script/c59tBqoE-Probabilities-Module-The-Quant-Science/
Strategy Logic
Entry: go long on a bearish break of the RSI level 35 when the RSI is overbought.
Take Profit: close the position at a percentage-based take-profit level, calculated based on the entry price.
Stop Loss: close the position at a percentage-based stop-loss level, calculated based on the entry price.
When the filter is enabled via the user interface, the strategy will filter entries based on the % Win Rate, ensuring that new positions are opened only if the value is greater than 60%.
Below, we compare the two strategies and see how the backtesting parameters change.
❌ Strategy without filter
✅Strategy with filter
Note di rilascio
- Entry condition code optimization
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.