OPEN-SOURCE SCRIPT
Updated

RSI Mean Reversion Strategy

4 355
This is a scalping strategy designed to be used for crypto trading. It uses an Exponential Moving Average with a default length of 100 in order to identify the trend of the market. If the price is trading above 100, it will only take long trades, and vice versa for shorts. It places long orders when the RSI value closes below 40, and the price is also above the 100 EMA. It places short orders when the RSI value is above 60, and the price is below the 100 EMA.

*Note: for custom alert messages to be read, "{{strategy.order.alert_message}}" must be placed into the alert dialogue box when the alert is set.

Release Notes
Added additional input settings.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.