OPEN-SOURCE SCRIPT

Scalping EMA9 + Breakout (5m - 24h)

112
//version=6
indicator("Scalping US100 - EMA9 Breakout", overlay=true)

ema9 = ta.ema(close, 9)
plot(ema9, color=color.orange, title="EMA9")

// Condições de rompimento
breakout_up = close > high[1] and close > ema9
breakout_down = close < low[1] and close < ema9

// Plotar sinais visuais
plotshape(breakout_up, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(breakout_down, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")

// Alerta para Webhook
alertcondition(breakout_up, title="Buy Alert", message="BUY - US100 🚀")
alertcondition(breakout_down, title="Sell Alert", message="SELL - US100 🔻")

免責聲明

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