pavlaras

GoldenBoi Indicator

pavlaras Mis à jour   
It's focused more on swing/position trading. Change the settings to find the ideal setup based on your trading style.

Peace.
Notes de version:
1st Release.
Notes de version:
Check the strategy version of the script here (www.tradingview.com/...-Indicator-Strategy/) for backtesting purposes.
Notes de version:
Update: Added alerts for long/short signals.
Notes de version:
Visual Updates.
Notes de version:
Not sure why people use this indicator as it is highly underdeveloped & not optimized for anything. The idea behind this indicator was to smooth out the signals from RSI by producing long/short signals based on RSI/EMA of RSI crossovers. I don't have time to improve it but if anyone wants to check the source code, here it is:

//@version=3

study(title="RSI-EMA_GB", shorttitle="RSI-EMA_GB", overlay=true)

src = close

len = input(14, minval=1, title="RSI Length")
len2 = input(14, minval=1, title="EMA of RSI")

up = rma(max(change(src), 0), len)
down = rma(-min(change(src), 0), len)

rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
emaRSI = ema(rsi,len2)

// plot(rsi, title="RSI", style=line, linewidth=2, color=aqua)
// plot(emaRSI, title="EMA of RSI", style=line, linewidth=2, color=red)

// band1 = hline(80, title="Overbought", linestyle=dotted, linewidth=1, color=gray)
// band2 = hline(55, title="Bought", linestyle=dotted, linewidth=1, color=gray)
// band3 = hline(45, title="Sold", linestyle=dotted, linewidth=1, color=gray)
// band4 = hline(20, title="Oversold", linestyle=dotted, linewidth=1, color=gray)

// fill(band1, band2, color=aqua, title = "Bullish", transp=90)
// fill(band2, band3, color=white, transp=90)
// fill(band3, band4, color=red, transp=90)

plotshape(crossover(rsi, emaRSI), style=shape.labelup, location=location.belowbar, color=green, transp = 20, text = "Long ", textcolor = white, editable = false)
plotshape(crossunder(rsi, emaRSI), style=shape.labeldown, location=location.abovebar, color=red, transp = 20, text = "Short", textcolor = white, editable = false)

alertcondition(crossover(rsi, emaRSI), title = 'Long Signal', message = 'Long Signal')
alertcondition(crossunder(rsi, emaRSI), title = 'Short Signal', message = 'Short Signal')
Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?