OPEN-SOURCE SCRIPT

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/
版本注释
User interface improvement.
algorithmictradingeducationalmathematicsPine utilitiesprobabilitiesrsi_overboughtrsi_oversoldstatisticalprobabilitystatisticsstrategytesting

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明