adaptation for Prorealtime v10.3 of the indicator change volume Big small of Tradingview.
- Better Display of volume change
- green candle : Big volume change
- red Candle : Small volume change
Default for BTC 2,36% m5
Big volume are limited up to $limup% 5%
Pump : volume over $limgreen% 2%
Flat : Very Small volume under $limdo% 0.2%
Adjust based on volatitlity / TF
BTC/USD 1h : 4,2,0.25
in this version the average of the volume (60 by default) is configurable
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
REM VOLUME CHANGE BIG SMALL //by theo233 //on platform Tradingview //adapted for the platform Prorealtime v 10.3 by bolsatrilera //@version=3 // Better Display of Volume change // green candle : Big volume change // red Candle : Small volume change // Default for BTC m5 // Big volume are limited up to $limup% 5% // Pump : Volume over $limgreen% 2% // Flat : Very Small Volume under $limdo% 0.2% // Adjust based on volatility / TF // BTC/USD 1h : 4,2,0.25 period=60 limup = 5//step=0.1,title='Limit display up') limgreen = 2 //step=0.1,title='Green if upper : Pump') limdo = 0.2//step=0.01,title='Red if lower : Flat') pvol =(volume/average[period](volume))//period en cuadro de variables = entero= 60 (por defecto) vol60 = pvol // Top Limit if vol60<=limup then vol60=vol60 else vol60=limup endif // Bottom Limit + Boost factdo = limup // Boost for display if vol60<=limdo then vol60Small = ( 1 * factdo * ( 1-(factdo*vol60))) else vol60Small = 0 endif if vol60 <= 0 then r=255 g=0 b=0 elsif vol60 <= limgreen then r=128 g=128 b=128 else r=0 g=128 b=0 endif // Calculate Volume Change : // Divide volume with average on long period : long can be 50 60 100 // VolumeChange= Volume/SMA(Volume,50) // Then Filter Out when VC over a limit = 3, 5 , 10 // VolumeChange := VolumeChange > limit ? VolumeChange : 0 return vol60Small coloured(255,0,0)style(histogram) as "VCBS",vol60 coloured(r,g,b)style(histogram)as "VCBS",limgreen style (dottedline)as "2",limdo coloured(0,255,255)style(dottedline)as "0.2" |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials