OPEN-SOURCE SCRIPT

Acl

51
//version=5
indicator("Breakout Momentum (LONG)", overlay=true)

// --- Conditions ---
rsiValue = ta.rsi(close, 14)
ema20 = ta.ema(close, 20)
volSMA10 = ta.sma(volume, 10)
highest20 = ta.highest(high, 20)

longCondition = close > highest20 and
volume > 2 * volSMA10 and
rsiValue > 55 and
close > ema20 and
close > 50 and
volume > 100000

// --- Plot signals on chart ---
plotshape(longCondition, title="Breakout Momentum", location=location.belowbar, color=color.new(color.green, 0), style=shape.triangleup, size=size.large, text="LONG")

// --- Alerts ---
if (longCondition)
alert("📈 Breakout Momentum (LONG) signal detected!", alert.freq_once_per_bar_close)

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.