*Mas Sathya, Ini AFL yang sudah "diwarnai"*
line1=H-L; line2=IIf(line1==0,1,line1) ; ad=((C-L)-(H-C))/line2; line3=ad*V; line4=Sum(line3,5)/Sum(V,5); line5=MA(line4,3); AccHistColor = ParamColor("Up Hist", colorGreen); DistHistColor = ParamColor("Down Hist", colorRed); AccColor1 = ParamColor("Begin Acc", colorBrightGreen); AccColor2 = ParamColor("End Acc", colorDarkGreen); DistColor1 = ParamColor("Begin Dist", colorRed); DistColor2 = ParamColor("End Dist", colorDarkRed); mycolor = IIf(line5>0 AND Line5 > Ref(Line5,-1), AccColor1, IIf(line5>0 AND Line5 < Ref(Line5,-1), AccColor2, IIf(line5<0 AND Line5 > Ref(Line5,-1), DistColor1, IIf(line5<0 AND Line5 < Ref(Line5,-1), DistColor2, colorWhite)))); Plot(line5, "SAT-ADOBOS", mycolor, styleHistogram| styleThick) ; uptrend=StochK(5)>30; downtrend=StochK(5)<40; Plot( 4, "Trend",IIf( uptrend, colorBrightGreen, IIf( downtrend, colorRed, 0 )),styleOwnScale|styleArea|styleNoLabel, -0.5, 100 ); *Please CMIIW ES* On Wed, Mar 11, 2009 at 10:25 AM, Sathya <prassat...@yahoo.com> wrote: > Mas Eco > Chainkin oscilator memang ada di setiap charting software. > namun chainkin std belum di smooth terlalu bergerigi and kelemahannya > bila terjadi GAP, namun sbagian trader mengantisipasi nya dgn > memanfaatkan MA, sehingga whipsaw dan GAP dapat teratasi. > yg saya berikan itu hanya pengembangan dari A/D standard dan saya > kombinasikan dgn OB&OS indicator, agar dapat dgn mudah > membaca kekuatan tren naik & turun sekalian dpt identifiasi bilamana > terjadi positive or negative divergence. > > PS : sbenarnya indicator standar aja sudah cukup ampuh selagi > kita paham dgn cara kerjanya. > > Rgds > Sathya > > --- In amibroker-4-bei@yahoogroups.com <amibroker-4-bei%40yahoogroups.com>, > Eco Syariah <esyar...@...> wrote: > > > > Oh... begitu... jadi S = MA ya... > > > > Untuk nambah ide/kreativitas, ini saya copy paste dari AB, mudah-mudahan > ada > > gunanya... rumus AD nya serupa tuh... terus di AB juga ada Oscillator > > AD...namanya Chaikin... mungkin ini yang dimaksud mas Sathya ? > > > > === > > > > *Accumulation/Distribution * > > > > Accumulation/Distribution is a momentum indicator which takes into > account > > changes in price and volume together. > > The idea is that a change in price coupled with an increase in volume may > > help to confirm market momentum in the direction of the price move. > > > > Note the similarity of this formula to that of the stochastic; this is > > basically a stochastic multiplied by volume. > > This means that if the security closes to its high, the volume multiplier > > will greater than if the security closes nearer to its low. > > > > If the Accumulation/Distribution indicator is moving up the buyers are > > driving the price move and the security is being accumulated. > > A decreasing A/D value implies that the sellers are driving the market > and > > the security is being distributed. > > If divergence occurs between the Accumulation/Distribution indicator and > the > > price of the security a change in price direction is probable. > > > > The Accumulation/Distribution Line formula is as follows: (C-L) - (H-C) / > > (H-L) x V + I > > > > Where I is yesterday's Accumulation/Distribution value. > > > > === > > > > Chaikin indicatorChaikin Oscillator > > > > Developed by Marc Chaikin back in the early 1970's when opening prices > were > > eliminated from many newspaper listings making it more difficult to > > calculate William's OBV. Chaikin substituted the average price > > [(HIGH+LOW)/2] for William's opening price and created an oscillator > using > > 10-period and 3-period exponential moving averages of the resulting > > Accumulation/Distribution Line. > > > > The basic premise of the Accumulation/Distribution Line is that the > degree > > of buying or selling pressure can be determined by the location of the > > close, relative to the high and low for the corresponding period. There > is > > buying pressure when a stock closes in the upper half of a period's range > > and there is selling pressure when a stock closes in the lower half of > the > > period's trading range. > > > > *Bullish Signals * > > > > There are two bullish signals that can be generated from the Chaikin > > Oscillator: positive divergences and centerline crossovers. Because the > > Chaikin Oscillator is an indicator of an indicator, it is prudent to look > > for confirmation of a positive divergence, by a bullish moving average > > crossover for example, before counting this as a bullish signal. > > > > *Bearish Signals * > > > > In direct contrast to the bullish signals, there are two bearish signals > > that can be generated from the Chaikin Oscillator: a negative divergence > and > > a bearish centerline crossover. Allow a negative divergence to be > confirmed > > by a bearish centerline crossover, before a bullish signal is rendered. > > > > The Chaikin Oscillator is good for adding momentum to the > > Accumulation/Distribution Line, but can sometimes add a little too much > > momentum and be difficult to interpret. The moving averages are both > > relatively short and will therefore be more sensitive to changes in the > > Accumulation/Distribution Line. Sensitivity is important, but one must > also > > be able to interpret the indicator. > > === > > > > ES > > > > > > > >