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

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności