OPEN-SOURCE SCRIPT
Updated

Linear RSI

4539
This is an attempt to create a strategy based on the previous post. The strategy, as before, is based on the RSI, which is calculated using linear regression, but with the addition of EMA. The crossing of EMA and RSI is a buy and sell signal. There are also two functions to buy (because I haven't decided which is really better), so please use checkbox to order which one you would like to use.
Release Notes
The code has been updated

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.