Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Volume day trading buy or sell for Amibroker (AFL)
This is my first afl code. I have taken from various code and added as one indicator.
It will work good for the intraday. It will give the buy or sell based volume. you can use this additional indicator. It will show which side is having the upper hand for the particular day.
Indicator / Formula
//********Dedicated to my father************* SetBarsRequired(sbrAll,sbrAll); // calculate the trading volume BV = IIf( (H==L), 0, (V*(C-L)/(H-L)) ); SV = IIf( (H==L), 0, (V*(H-C)/(H-L))); // starting of the day Bars_so_far_today = 1 + BarsSince( Day() != Ref(Day(), -1)); StartBar = ValueWhen(TimeNum() == 091500, BarIndex()); //total volume traded TodayVolume = Sum(V,Bars_so_far_today); TBUYVOL=Sum(BV,Bars_so_far_today); TSELVOL=Sum (SV,Bars_so_far_today); SVbull= TBUYVOL>= TSELVOL; SVbear=TSELVOL>=TBUYVOL; PlotShapes(iif(SVbull,shapeUpArrow, shapeNone),colorGreen, 0, L, Offset=85); PlotShapes(iif(SVbear,shapedownArrow, shapeNone),colorred, 0, L, Offset=-85); Title= " Today Volume :"+WriteVal(TodayVolume/1000,2.2)+" TBUYV :"+WriteVal(TBUYVOL/1000,2.2)+" TSellV :"+WriteVal(TSELVOL/1000,2.2);
12 comments
Leave Comment
Please login here to leave a comment.
Back
Good Work.!!!
Thanks for sharing.:)
bsedoah
good
using amibroker 5.2 version unable to see the additional indicator
Hi Kirhti,
I have tested and created this code in Amibroker 5.8.DON’T SEE IN MY AMIBROKER….
Hi Fahi,
Please add the below code. It will show the chartPlot( C, “Close”, ParamColor(“Color”, colordefault ), styleNoTitle | GetPriceStyle() );
My rating 5/5.
Did few changes. Modifies code is given below
Thanks KV
cut & paste was not done properly. herewith attaching again
Plz refer here as it is getting pasted correctly
http://wisestocktrader.com/indicatorpasties/1512-volume-day-trading-buy-sell
Nice work bro, appreciate. Aapke father ko saalam
this afl a very useful,
i want 1 request for in afl
please do in afl font size big or small setting..
i min font size setting…
please help me