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 🔻")

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.