shmateyev

_CM_VolumeAlert_2

149 0 23
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)
United States
United Kingdom
India
Deutschland
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Priority Support Ideas Published Followers Following Private Messages Chat Sign Out