RSI of MACD Strategy [Long only]

This strategy uses the RSI on MACD indicator.

When RSI indicator crossing over 30 or 35 line and price above slow ema

Note: when the position already taken, you may reenter on the purple candle

Partial Exit
Partial profit taking option is available in settings. If this is selected , 1/3 position exited when RSI indicator crossing down 80 line

When RSI indicator crossing below 15

Stop Loss
I havent used hard stop loss in this strategy. Reason is , when price going down , indicator may go up ... so just wanted to ride along with indicator ...

Stop loss mentioned in the settings is used in calculation of how many units can be be purchased based on risk level

Tested with SPY and QQQ ETFs on hourly chart

For the eductional purposes only ...

This is not a financial advise. please do your own research before taking any trading decission
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?


Please note , MACD settings I have used are 12, 21, 9. I find these are working best for SPY and QQQ ...

if you want to change it to standard settings 12, 26, 9 ... check the performance results and tweak it accordingly
+4 Reply
Any reason these don't back test with crypto?
Awesome , but I am going mad to convert it to an Alert script, please could you create an alert script too ?
Is there a trading script with alerts for this? It looks interesting.
mohanee paranormalrob

On TV , strategy bottom of the screen click on clock icon
for better exit need rsi_vwap. enter rsi_macd and exit rsi_vwap :)
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