Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Boom Volume with Exploration for Amibroker (AFL)
ATURAN MAIN
// Volume Naik, Harga Naik = Buy|Positive|Bullish
// Volume Naik, Harga Turun = Sell and Cutloss|Negative|Bearish
// Volume Turun, Harga Turun = Buy on Weakness|Positive|Bullish
// Volume Turun, Harga Naik = Sell on Strong|Negative|Bearish
Screenshots
Indicator / Formula
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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | // Boom Volume // // ATURAN MAIN // Volume Naik, Harga Naik = Buy|Positive|Bullish // Volume Naik, Harga Turun = Sell and Cutloss|Negative|Bearish // Volume Turun, Harga Turun = Buy on Weakness|Positive|Bullish // Volume Turun, Harga Naik = Sell on Strong|Negative|Bearish _SECTION_BEGIN ( "Boom Volume" ); BV = IIf ( ( H == L ), 0, V *( C - L )/( H - L ) ); SV = IIf ( ( H == L ), 0, V *( H - C )/( H - L ) ); BVp = 100*BV/(BV+SV) ; SVp = 100*SV/(BV+SV) ; PlotOHLC (SV,SV,0,0, "SellVolume" , colorRed , styleCandle | styleNoTitle | styleNoLabel ); PlotOHLC (SV,BV+SV,SV,BV+SV, "BuyVolume" , colorgreen , styleCandle | styleNoTitle | styleNoLabel ); Va = MA ( V ,30); BarColor = IIf ( Volume > Ref ( Volume , -1 ), Naik = ParamColor ( "Volume Naik" , colorGreen ), Turun = ParamColor ( "Volume Turun" , colorRed ) ); AvgVol = MA ( Volume , 20 ); Op = 0; Cl = Volume ; Hi = Volume ; Lo = 0; PlotOHLC ( AvgVol, AvgVol, AvgVol, AvgVol, "Avg.Vol" , ParamColor ( "Avg.ACCUM Color" , colorViolet ), styleGradient ); SetBarFillColor ( IIf ( Volume > Ref ( Volume , -1), Naik, Turun ) ); PlotOHLC ( Op, Hi, Lo, Cl, _DEFAULT_NAME (), BarColor, styleCandle ); 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 = EncodeColor ( colorBrightGreen )+ "Buy Volume = " + EncodeColor ( colorBlack )+ WriteVal (BV,5.0)+ " " + EncodeColor ( colorRed )+ "Sell Volume = " + EncodeColor ( colorBlack )+ WriteVal (SV,5.0)+ " " + EncodeColor ( colorBlue )+ "Net Volume = " + EncodeColor ( colorBlack )+ WriteVal (BV-SV,5.0)+ " " + EncodeColor ( colorGreen )+ "Volume = " + EncodeColor ( colorBlack )+ WriteVal ( V ,5.0)+ " " + EncodeColor ( colorViolet )+ "Average Volume = " + EncodeColor ( colorBlack )+ WriteVal (AvgVol)+ " " + EncodeColor ( colorOrange )+ "Volume Index = " + EncodeColor ( colorBlack )+ WriteVal (VI,1.2)+ " " + EncodeColor ( colorSeaGreen )+ "Buy Volume = " + EncodeColor ( colorBlack )+ WriteVal (100*BV/(BV+SV),2.0)+ "%" + " " + EncodeColor ( colorDarkRed )+ "Sell Volume = " + EncodeColor ( colorBlack )+ WriteVal (100*SV/(BV+SV),2.0)+ "%" ; _SECTION_END (); //Boom Volume Explore// Positive = BV>SV ; Negative = BV<SV ; Good = (Positive AND Volume > AvgVol AND MACD ()> Signal ()) ; Warning = (Negative AND Volume > AvgVol AND MACD ()< Signal ()); Buy = Ref (Good, -2) ; Sell = Ref (Warning, 2) ; Filter = Good OR Warning ; AddTextColumn ( WriteIf (Good, "Good" , "Warning" ), "Alert" ) ; Ranking = PercentRank ( Volume , 20) ; WarnaText = colorBlack ; WarnaBackGround = ColorHSB (Ranking * 64/100, 255, 255); AddColumn (Ranking, "Ranking Volume" , 1.2, WarnaText, WarnaBackGround, -1, Ranking) ; Filter = 1 ; AddColumn ( Ref ( C ,-1), "Close H-1" , 1.0) ; AddColumn ( C , "Close" , 1.0) ; AddColumn (BVp, "Buy Volume %" , 1.0) ; AddColumn (SVp, "Sell Volume %" , 1.0) ; AddColumn ( V , "Today Volume" , 1.0) ; AddColumn (AvgVol, "Average Volume" , 1.0) ; AddColumn ( Ref ( V ,-1), "Volume H-1" , 1.0) ; AddColumn ( Ref ( V ,-2), "Volume H-2" , 1.0) ; AddColumn ( Ref ( V ,-3), "Volume H-3" , 1.0) ; SetSortColumns (2, 3, -4) ; |
11 comments
Leave Comment
Please login here to leave a comment.
Back
RULES
// Volume Up, Price Ride = Buy | Positive | Bullish
// Volume Up, Down Price = Sell and Cutloss | Negative | Bearish
// Volume Down, Price Down = Buy on Weakness | Positive | Bullish
// Volume Down, Price Ride = Sell on Strong | Negative | Bearish
Note: PLEASE CUSTOMIZE WITH YOUR TRADING SYSTEM IS FIRST AND MUST HAVE A BASIC CHART.
sir it shows 28 th line error
@rajkumar99
are you sure for this error? I check not.
I make and use this AFL on AmiBroker V6.0 (Trial Version).
Thanks.
really Nice AFL
thanks for Sharing
Happy profit deserthawk
Please explain this afl, how it’s work ?? hiren.3116@gmail.com
PlotOHLC( AvgVol, AvgVol, AvgVol, AvgVol, “Avg.Vol”, ParamColor( “Avg.ACCUM Color”, colorViolet ), styleGradient );
this line said error : " style gradient used without having been initialized"
any help ? thank you.
Administrator as usual, this refer to future quotes, and we have the same error: sell projected to the future, here the correction, and as usual the results are poor.. dear… Sell = Ref(Warning, -2); and not +2 !!!!
Yes error if use Amibroker 5.3 …any body can help it to repair for Amibroker 5.3
I appreciate it ..thank you
hello sir, this AFL is very good but some times not getting how to use it. alert shown warning and ranking volume 100% but one stock go upside and another one go downside. please guide me. ( 23ameetdesai@gmail.com ) reply me
Just avoid this afl…. In EOD, it wont show. It’s updating results till previous day.