搜尋
產品
社群
市場
新聞
經紀商
更多
TW
立即開始
社群
/
投資想法
/
Mantulisti
黃金現貨 / 美元
Mantulisti
由sa7187380提供
關注
關注
前天
0
前天
//
version
=5
indicator("Kombinasi Sinyal Beli dan Jual", overlay=true)
// Input Parameter
emaFastLength = input(9, title="Panjang EMA Cepat")
emaSlowLength = input(21, title="Panjang EMA Lambat")
rsiLength = input(14, title="Panjang RSI")
rsiOverbought = input(70, title="RSI Overbought Level")
rsiOversold = input(30, title="RSI Oversold Level")
// Kalkulasi Indikator
emaFast = ta.ema(close, emaFastLength)
emaSlow = ta.ema(close, emaSlowLength)
rsi = ta.rsi(close, rsiLength)
// Logika Beli dan Jual
buySignal = ta.crossover(emaFast, emaSlow) or (rsi < rsiOversold and ta.crossover(rsi, rsiOversold))
sellSignal = ta.crossunder(emaFast, emaSlow) or (rsi > rsiOverbought and ta.crossunder(rsi, rsiOverbought))
// Plot EMA
plot(emaFast, color=color.green, title="EMA Cepat")
plot(emaSlow, color=color.red, title="EMA Lambat")
// Tandai Sinyal
plotshape(series=buySignal, location=location.belowbar, color=color.new(color.green, 0), style=shape.labelup, title="Beli", text="Beli")
plotshape(series=sellSignal, location=location.abovebar, color=color.new(color.red, 0), style=shape.labeldown, title="Jual", text="Jual")
Harmonic Patterns
Technical Indicators
Trend Analysis
sa7187380
關注
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在
使用條款
閱讀更多資訊。