OPEN-SOURCE SCRIPT
EMA9/EMA20 + VolMA20 Alert

//version=5
indicator("EMA9/EMA20 + VolMA20 Alert", overlay=true)
ema9 = ta.ema(close, 9)
ema20 = ta.ema(close, 20)
volMa20 = ta.sma(volume, 20)
crossUp = ta.crossover(ema9, ema20)
volOK = volume > volMa20
signal = crossUp and volOK
plot(ema9, color=color.yellow, linewidth=2)
plot(ema20, color=color.blue, linewidth=2)
plotshape(signal, title="Signal", style=shape.triangleup, color=color.lime, size=size.small, location=location.belowbar)
alertcondition(signal, title="Pump Signal", message="EMA9 crossed EMA20 with strong volume (Vol>MA20)")
indicator("EMA9/EMA20 + VolMA20 Alert", overlay=true)
ema9 = ta.ema(close, 9)
ema20 = ta.ema(close, 20)
volMa20 = ta.sma(volume, 20)
crossUp = ta.crossover(ema9, ema20)
volOK = volume > volMa20
signal = crossUp and volOK
plot(ema9, color=color.yellow, linewidth=2)
plot(ema20, color=color.blue, linewidth=2)
plotshape(signal, title="Signal", style=shape.triangleup, color=color.lime, size=size.small, location=location.belowbar)
alertcondition(signal, title="Pump Signal", message="EMA9 crossed EMA20 with strong volume (Vol>MA20)")
Script de código abierto
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Exención de responsabilidad
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Script de código abierto
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Exención de responsabilidad
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.