OPEN-SOURCE SCRIPT

RSI of MACD Strategy [Long only]

This strategy uses the RSI on MACD indicator.

BUY
====
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


Close
=====
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


Warning
=========
For the eductional purposes only ...

This is not a financial advise. please do your own research before taking any trading decission
Moving Average Convergence / Divergence (MACD)mohaneeMoving AveragesRelative Strength Index (RSI)rsiofmacdTrend 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