pavlaras

GoldenBoi Indicator

pavlaras 已更新   
It's focused more on swing/position trading. Change the settings to find the ideal setup based on your trading style.

Peace.
發布通知:
1st Release.
發布通知:
Check the strategy version of the script here (www.tradingview.com/...-Indicator-Strategy/) for backtesting purposes.
發布通知:
Update: Added alerts for long/short signals.
發布通知:
Visual Updates.
發布通知:
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')
受保護腳本
該腳本是閉源發佈的,您可以自由使用。您可以把它加入到常用以在圖表上使用它。您無法查看或修改其原始碼。
免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?