shmateyev

_CM_VolumeAlert_2

220 0 50
Volume impuls alert
Remove from Favorite Scripts Add to Favorite Scripts
study(title="_CM_VolumeAlert", shorttitle="_CM_Vol_Alert", precision=0)
showMA = input(true)
ma = input(20, title="Moving Average")
vm = input(2, title="Volume Multiple")

volma = sma(volume, ma)
volextreme = volume > volma * 2

//Volume is greater than Multiple of the moving average
col = volume > volma * vm ? red : silver
//Signals based on the multiple compared to the previous bar
col2 = volume > volume[1] * vm ? red : yellow
//signals based on the multiple of the highest volume for X bars back...Here you have to change the 10 for bars back.
col3 = volume > ((highest(volume[1], 10)) * vm) ? red : yellow

plot(volume, color = open > close ? red : green, style=columns, title="Volume MA", transp=65)
plot(volume, color=col, style=histogram, linewidth=3)
//plot(highest(volume, 20)[1], style=line, linewidth=3, color=white)

plot(showMA ? sma(volume,ma) : na, style=area, color=aqua, title="Volume", transp=65)
English
English (UK)
English (IN)
Deutsch
Français
Español
Italiano
Polski
Türkçe
Русский
Português
Bahasa Indonesia
Bahasa Melayu
ภาษาไทย
Tiếng Việt
日本語
한국어
简体中文
繁體中文
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out