OPEN-SOURCE SCRIPT

EMA_HMA_RSI_Strategy

This strategy BUYS when HMA is below EMA (default setting is 200) and HMA turning to green and RSI 13 is below 70

Adds to existing position when current price is below BUY price and RSI crossing above 30 or 40

Exits the long position when HMA crosses down EMA

when you select Take Profit setting , partial profits are taken when current price > BUY price and RSI 13 crossing down 80

Bar color changes to purple when RSI13 is above 80 (if only in Long position exists)

Tested for SPY QQQ AAPL on hourly and 30 mins chart


Warning : For educational purposes only
eemanihullmovingaveragemohaneeRelative Strength Index (RSI)strategyTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer