Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Buying Selling Volume for Amibroker (AFL)

Rating:
3 / 5 (Votes 8)
Tags:
amibroker, volume

This is indicator for VSA analysis which represents the estimated strength of buying and selling volume on volume histogram.

Rakesh

Screenshots

Indicator / Formula

Copy & Paste Friendly
SetBarsRequired(sbrAll,sbrAll);

// BUYING VOLUME AND SELLING VOLUME //

BV = IIf( (H==L), 0, V*(C-L)/(H-L) );
SV = IIf( (H==L), 0, V*(H-C)/(H-L) );

PlotOHLC(SV,SV,0,0,"SellVolume",colorRed,styleCandle|styleNoTitle|styleNoLabel );
PlotOHLC(SV,BV+SV,SV,BV+SV,"BuyVolume",colorbrightgreen ,styleCandle|styleNoTitle|styleNoLabel );

Va = MA(V,30);

PlotOHLC( Va, Va, 0, 0, "", ColorBlend( colorWhite , GetChartBkColor(), 0.4 ), styleNoLabel | styleCloud | styleNoRescale, Null, Null, Null, -1 );
Plot(Va,"Average Volume",colorRose,styleNoLine|styleNoLabel );

VI = V/Va;

Title = "SellVolume:"+WriteVal(SV,5.0)+"   "+"BuyVolume:"+WriteVal(BV,5.0)+"   "+"VolumeIndex:"+WriteVal(VI,1.2)+"   "+
"BuyVolume:"+WriteVal(100*BV/(BV+SV),2.0)+"%"+"   "+"SellVolume:"+WriteVal(100*SV/(BV+SV),2.0)+"%";

6 comments

1. BrockQAW

Good. Please paste Up script of screenshot.

2. macerina

Hi Rakesh thanks for the indicator,

Is it possible to color the candle based on the buying selling pressure … green for buyer dominated candle and red for seller dominated candle.

Thanks in advance

3. hoierman

Rakeh,
Thanks fr your contribution. I have followed VSA for a long time based on Karthik’s pioneering work. It would be most helpful if you could post he entire formulas
as is shown in the chart or send me the code.

Thanks
Dick
email: areehoi@yahoo.com

4. pulakesh13

please give me 3 target after buy and 3 target after sell afl code.I have seen above buy 3 target and bellow sell..3 target ..pls any body help me.
mail:pulakeshdas.garia@gmail.com

5. allesf

Hi Rakesh ,
Do you have this indicator created in ZIP file?

Regards,
AF

6. PARTH SONI

THANK YOU SO MUCH 4 SHARING…. SIR….

Leave Comment

Please login here to leave a comment.

Back