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
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out