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 ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Stochastic OSCILLATOR HISTOGRAM for Amibroker (AFL)
Rating:
2 / 5 (Votes 3)
Tags:
oscillator, amibroker
The Stoc Oscillator with Histogram
Screenshots
Similar Indicators / Formulas
Febo RSI ..real indicator
Submitted
by abhinavsingh over 13 years ago
Trading Volume Statistic
Submitted
by tuanstock1 over 10 years ago
Ergodic Oscillator
Submitted
by dljtrader over 14 years ago
3 Days Track
Submitted
by janet0211 almost 15 years ago
Chande Momentum Oscillator
Submitted
by klimpek over 14 years ago
Inverse Fisher Transform Stochastic Oscillator
Submitted
by northstar over 13 years ago
Indicator / Formula
Copy & Paste Friendly
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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | _SECTION_BEGIN ( "BACK COLR" ); _SECTION_BEGIN ( "PRASAD SYSTEMS" ); Param ( "DEDICATED TO MY FATHER" ,5); _SECTION_END (); GfxSetOverlayMode (1); SetChartBkColor ( ParamColor ( "Chart Color" , colorBlack )); GfxSetOverlayMode (1); GfxSelectFont ( "Tahoma" , Status ( "pxheight" )/20 ); /* Up down name*/ GfxSetTextAlign ( 6 ); // center alignment GfxSetTextColor ( ParamColor ( "Text Color" , ColorHSB ( 42, 42, 42 ) )); GfxSetBkMode (0); // transparent GfxTextOut ( Name (), Status ( "pxwidth" )/2, Status ( "pxheight" )/7); GfxSelectFont ( "Tahoma" , Status ( "pxheight" )/30 ); GfxTextOut ( IndustryID (1), Status ( "pxwidth" )/2, Status ( "pxheight" )/5 ); /* Up Down Sector*/ GfxSelectFont ( "Tahoma" , Status ( "pxheight" )/40 ); GfxTextOut ( "Feedback prasad9rao@gmail.com" , Status ( "pxwidth" )/2, Status ( "pxheight" )/4); GfxSelectFont ( "Tahoma" , Status ( "pxheight" )/20 ); GfxTextOut ( " BALKRISHNA STOCHASTICS CHARTS " , Status ( "pxwidth" )/2, Status ( "pxheight" )/15 ); _SECTION_END (); /*************** remove all above lines for Amibroker 5.00 or less than 5 /************************************************** Stochastics ***************************************************/ SP = Param ( "Periods" , 10, 1, 200, 1 ); Ksmooth = Param ( "%K avg" , 5, 1, 200, 1 ); Dsmooth = Param ( "%D avg" , 5, 1, 200, 1 ); StochDval = StochD ( SP , Ksmooth, DSmooth ); StochKval = StochK ( SP , Ksmooth); Overbought = 80; Oversold = 20; mycolorst = IIf (Stochkval- Stochdval<0, ColorRGB (248,170,255), IIf (Stochkval- Stochdval>0, ColorRGB (81,122,251), ColorRGB (125,84,11))); Plot (Stochkval- Stochdval , "" ,mycolorst , styleHistogram ); StochBuy = Cross ( StochK (SP,Ksmooth), StochD (SP,Ksmooth, DSmooth)) AND ( StochD (SP,Ksmooth, DSmooth) > 20) AND ( StochK (SP,Ksmooth) > 20) AND ( StochD (SP,Ksmooth, DSmooth) < 80) AND ( StochK (SP,Ksmooth) < 80); StochSell = Cross ( StochD (SP,Ksmooth, DSmooth), StochK (SP,Ksmooth)) AND ( StochD (SP,Ksmooth, DSmooth) > 20) AND ( StochK (SP,Ksmooth) > 20) AND ( StochD (SP,Ksmooth, DSmooth) < 80) AND ( StochK (SP,Ksmooth) < 80); StochStrongBuy = Cross ( StochK (SP,Ksmooth), StochD (SP,Ksmooth, DSmooth)) AND ( StochD (SP,Ksmooth, DSmooth) < 20) AND ( StochK (SP,Ksmooth) < 20) ; StochStrongSell = Cross ( StochD (SP,Ksmooth,DSmooth), StochK (SP , Ksmooth)); ( StochD (SP,Ksmooth, DSmooth) > 80) AND ( StochK (SP,Ksmooth) > 80); //****************** BULLISH / BEARISH *******************/ StochBull = StochK (SP , Ksmooth)> StochD (SP , Ksmooth, DSmooth) AND ( StochD (SP,Ksmooth, DSmooth) > 20) AND ( StochK (SP,Ksmooth) > 20) AND ( StochD (SP,Ksmooth, DSmooth) < 80) AND ( StochK (SP,Ksmooth) < 80); StochBear = StochK (SP , Ksmooth)< StochD (SP , Ksmooth, DSmooth) AND ( StochD (SP,Ksmooth, DSmooth) > 20) AND ( StochK (SP,Ksmooth) > 20) AND ( StochD (SP,Ksmooth, DSmooth) < 80) AND ( StochK (SP,Ksmooth) < 80); StochOB = ( StochD (SP,Ksmooth, DSmooth) > 80) AND ( StochK (SP,Ksmooth) > 80); StochOS = ( StochD (SP,Ksmooth, DSmooth) < 20) AND ( StochK (SP,Ksmooth) < 20) ; /**************************************************** CHART TITLES ****************************************************/ Title = EncodeColor ( colorYellow )+ Title = Name () + " " + EncodeColor (2) + Date () + " " /********************STOChASTICS*********************/ + EncodeColor ( colorWhite )+ "Signal(Stochastics) " + EncodeColor ( colorWhite )+ "Period = " + "[" +SP+ "]" + " %K = " + "[" +Ksmooth+ "]" + " %D = " + "[" +Dsmooth+ "]" + " :::: " + WriteIf (StochBuy, EncodeColor ( colorBrightGreen )+ "Buy" , WriteIf (StochSell, EncodeColor ( colorRed )+ "Sell" , WriteIf (StochStrongBuy, EncodeColor ( colorBrightGreen )+ "Strong Buy" , WriteIf (StochStrongSell, EncodeColor ( colorRed )+ "Strong Sell" , "Neutral" )))) + EncodeColor ( colorWhite )+ " " + "Stochastics Trend = " + WriteIf (StochBull, EncodeColor ( colorBrightGreen )+ "Bullish" , WriteIf (StochBear, EncodeColor ( colorRed )+ "Bearish" , WriteIf (StochOS, EncodeColor ( colorBrightGreen )+ "OverSold" , WriteIf (StochOB, EncodeColor ( colorRed )+ "OverBrought" , "Neutral" )))); |
3 comments
Leave Comment
Please login here to leave a comment.
Back
Hi
Can you please share the above price chart afl also? It looks like very informative.
This is just a gentle request .
johnnypareek
hello sir
nice work iam impressed with the afl and a small request sir can u share the above afl holygrail,which i think will be usefull to take a call on stocks.if u r interested to share pls do it sir i will be thankfull
Hallo Sir Prasad Brao
Please, Could you share the price chart afl On Stochastic Oscillator Histogram ? It looks like very informative.
I believe Your Father will be proud if your idea will be used for many people for kindness.
I will be glad, if you could send in my email suseda.specialfx@yahoo.com
Thank you and pray.