Daeng Andi... dari Makassar apa Bone nih... ?

RC memang tools yang bagus... apalagi kalau dipoles... selain nunjukin
trend, lines nya juga bisa jadi S atau R... apalagi kalau kita bisa nambah
line dengan angka Fibonacci atau 10, 30, 50,dst... tidak standar 3 lines
aja...

RC ini otomatis mencari Peak dan Low dalam periode lookback yang diset, di
AFL defaultnya 190... lookback ini bisa dioprek supaya gak statis 190....
misalnya kita oprek dengan menambahkan:

LookbackPeriods = Param("LookBackPeriods" , 190, 0, 365, 1);
N = LastValue(LLVBars(Low,LookbackPeriods));

Jadi menurut saya... yang dioprek bukan tanggal... tapi periode lookback
nya... dengan menambahkan script di atas...  defaultnya tetap 190 tapi
sekarang bisa dirubah sesuai keinginan... setelah diplot ke chart, baru bisa
tau kapan tanggal Trough dan Peaknya, kalau mau... tanggal itu bisa
dicatat...

Yang kedua... volume trend line yg dimaksud seperti apa... supaya jelas...
bisa di attached gak gambarnya...

Semoga membantu...

ES


2009/3/20 andi ariffudin <andi.ariffu...@gmail.com>

>   1.Mas Eco, Regression Channel sangat bermafaat untuk menentukan arah
> trend,
> cuman saya ingin mengoprek,dengan memberikan input tanggal secara
> manuar dengan format MMDDYY, cuman ndak tau cara membuatnya,
> apakah ada yang dapat membantu saya..di buatkan procedurnya,,jadi ntar
> kalau di
> gunakan di infikator yang lain,,ntar kita tinggal masukkan procedur
> input tanggal
> Alasan unutk menentukan input tanggal secara manual,,unutk mempermudah
> penentuan garis trend di mulai
> 2.Unutk pertanyaan selanjutanya,bagaimana caranya membut trend line pada
> volume.
> karena ketika kita membikin rata2 misalkan EMA(V,5);
> yang akan terliahat garis yang berubah mengikuti besar volume..tapii
> yang saya inginkan,,nilai rata2 volume yang berbentuk garis,,
> mungkin konsepnya bisa dilihat dari gambar chart analisa2 pak JT di
> milis OB, atau tasrul, yang menggunakan metastock..
>
> Terimakasih
>
>
> On Thu, Mar 19, 2009 at 7:35 AM, Eco Syariah 
> <esyar...@gmail.com<esyariah%40gmail.com>>
> wrote:
> > Dear All,
> >
> > Apa manfaat Regression Channel bagi anda? Sudahkah RC standar Amibroker
> > memenuhi kebutuhan anda?
> >
> > Saya copy paste kan keterangan tentang RC dari Amibroker... ini dia:
> >
> > Regression channels
> >
> > Linear regression may sound intimidating, but the mathematical concept is
> a
> > simple one. All this technique does is fit a straight line through a
> finite
> > number of data points by minimizing the sum of the squared vertical
> distance
> > between the line and each of the points. In our context, this means that
> if
> > time is represented by days on the horizontal axis and the closing price
> on
> > those days is plotted as dots on the vertical axis (a normal closing
> price
> > chart), then we try to fit a straight line through those closing-price
> dots
> > such that the total sum of the squared vertical distance between each
> > closing price and the line are minimized. This would then be our best-fit
> > line.
> >
> > Raff regression channel Raff Regression Channels show the range prices
> can
> > be expected to deviate from a Linear Regression trend line. Developed by
> > Gilbert Raff, the regression channel is a line study the plots directly
> on
> > the price chart. The Regression Channel provides a precise quantitative
> way
> > to define a price trend and its boundaries. The Regression Channel is
> > constructed by plotting two parallel, equidistant lines above and below a
> > Linear Regression trend line.
> >
> > The distance between the channel lines to the regression line is the
> > greatest distance that any one high or low price is from the regression
> > line.
> >
> > Raff Regression Channels contain price movement, with the bottom channel
> > line providing support and the top channel line providing resistance.
> Prices
> > may extend outside of the channel for a short period of time. However, if
> > prices remain outside the channel for a long period of time, a reversal
> in
> > trend may be imminent.
> >
> > Standar Regression Channel bisa diplot langsung ke chart, dimana ada 3
> line:
> >
> > Regression Line (di tengah),
> > Support Line (di bawah) dan
> > Resistance Line (di atas).
> >
> > Tahukah anda bahwa di AFL Library juga ada AFL RC, dimana ia menghasilkan
> 3
> > line itu lebih tepat dalam mencari Peak dan Trough dalam suatu periode
> > lookback. Berikut script AFL nya (bisa juga dicari di AFL Library):
> >
> > /* Linear Regression Slope */
> > /* Geoff Mulhall 25-May-2002 */
> > /* Refer www.equis.com/free/taaz/linearregression.html */
> > /* for a mathematical explanation of the formulae */
> >
> > N = LastValue(LLVBars(Low,190)); // lookback period - can be set by the
> user
> > if necessary
> > Start = 1;
> >
> > X = Cum(Start); // Set up the x cordinate array of the Linear Regression
> > Line
> > Y = Close; // Set the y co-ordinate of the Linear Regression line
> >
> > /* Calculate the slope (bconst) and the y intercept (aconst) of the line
> */
> >
> > SUMX = LastValue(Sum(X,N));
> > SUMY = LastValue(Sum(Y,N));
> > SUMXY = LastValue(Sum(X*Y,N));
> > SUMXSqd = LastValue(Sum(X*X,N));
> > SUMSqdX = LastValue(SUMX * SUMX);
> >
> > bconst = (N * SUMXY - SUMX * SUMY)/(N * SUMXSqd - SUMSqdX);
> > aconst = (SUMY - bconst * (SUMX))/N;
> >
> > /* Force the x value to be very negative so the graph does not apear
> before
> > the lookback period */
> >
> > Domain = IIf ( X > LastValue(X) - N, 1 , -1e10);
> > Xvar = X * Domain;
> >
> > /* Linear Regression Line */
> >
> > Yvar = aconst + bconst * Xvar;
> >
> > /* Plot the graphs */
> >
> > GraphXSpace = 10;
> > MaxGraph=4;
> >
> > /* Candle chart */
> > Graph0 = Close;
> > Graph0Style = 64;
> > Graph0Color = 43;
> >
> > /* Linear Regression Lines */
> > Graph1 = Yvar;
> > Graph2 = Yvar - LastValue(HHV(Yvar - Low,N));
> > Graph3 = Yvar + LastValue(HHV(High - Yvar,N));
> >
> > Graph1Style = 1;
> > Graph1Color = 2;
> > Graph2Style = 1;
> > Graph2Color = 2;
> > Graph3Style = 1;
> > Graph3Color = 2;
> >
> > Menurut Geoff Mulhall (pembuatnya), AFL ini sudah obsolete dengan adanya
> > Regression Channels di Amibroker.
> >
> > Tapi dengan sedikit kreatifitas dan sedikit kemampuan ngoprek, bisa saja
> AFL
> > yang obsolete ini dioprek sehingga hasilnya akan lebih baik dan lebih
> > bermanfaat.
> >
> > Idenya: AFL itu ditambah dengan lines baru dari angka2 "sakti"
> Fibonacci...
> > Ini cuma ide... jika tertarik, silahkan dioprek, jika tidak, lupakan saja
> > ide ini...
> >
> > Yuk kita ngoprek...
> >
> > originally posted at http://ecosyariah.blogspot.com
> >
> > ES
> > Bukan Ahli AFL tapi Tukang Oprek AFL
> > Investasikan Dunia Mu Untuk Akherat Mu
> > DISCLAIMER ON
> >
>  
>

Kirim email ke