PROTECTED SOURCE SCRIPT
Momentum Burst Detector

//version=5
indicator("Momentum Burst Detector", overlay=true)
// Inputs
length = input.int(20, title="Consolidation Length")
volMultiplier = input.float(2.0, title="Volume Spike Multiplier")
rsiThreshold = input.int(60, title="RSI Threshold")
breakoutBuffer = input.float(0.5, title="Breakout Buffer (%)")
// Calculations
highestHigh = ta.highest(high, length)
lowestLow = ta.lowest(low, length)
priceRange = highestHigh - lowestLow
breakoutLevel = highestHigh + (priceRange * breakoutBuffer / 100)
volumeAvg = ta.sma(volume, length)
rsi = ta.rsi(close, 14)
// Conditions
isBreakout = close > breakoutLevel
isVolumeSpike = volume > volumeAvg * volMultiplier
isMomentum = rsi > rsiThreshold
momentumBurst = isBreakout and isVolumeSpike and isMomentum
// Plotting
plotshape(momentumBurst, title="Momentum Burst", location=location.abovebar, color=color.orange, style=shape.triangleup, size=size.small)
bgcolor(momentumBurst ? color.new(color.orange, 85) : na)
indicator("Momentum Burst Detector", overlay=true)
// Inputs
length = input.int(20, title="Consolidation Length")
volMultiplier = input.float(2.0, title="Volume Spike Multiplier")
rsiThreshold = input.int(60, title="RSI Threshold")
breakoutBuffer = input.float(0.5, title="Breakout Buffer (%)")
// Calculations
highestHigh = ta.highest(high, length)
lowestLow = ta.lowest(low, length)
priceRange = highestHigh - lowestLow
breakoutLevel = highestHigh + (priceRange * breakoutBuffer / 100)
volumeAvg = ta.sma(volume, length)
rsi = ta.rsi(close, 14)
// Conditions
isBreakout = close > breakoutLevel
isVolumeSpike = volume > volumeAvg * volMultiplier
isMomentum = rsi > rsiThreshold
momentumBurst = isBreakout and isVolumeSpike and isMomentum
// Plotting
plotshape(momentumBurst, title="Momentum Burst", location=location.abovebar, color=color.orange, style=shape.triangleup, size=size.small)
bgcolor(momentumBurst ? color.new(color.orange, 85) : na)
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.