Fave This

Monday, 2 August 2010

[Komunitas AmiBroker] kolaborasi Buaya Lucu, R-Squared, dan William R%R



Khusus untuk nubie yg Oon kaya saya ya.

 

Pada gambar di bawah, coba lihat lingkaran kuning pada William %R …. Lingkaran kuning itu menunjukkan R-Squared antara harga Close dan William %R.

Pada parameter geser=geser ‘periods’ sampai ketemu R-Squared yg maksimum…. J

Walaaa…… ternyata pada chart 30menit ini, dengan menggunakan periods ’96 bars’, didapat 92% correlasi antara William %R dan price….

 

Silahkan bereksperimen  sendiri dgn sthocastic, macd, RSI dsbnya,,,,,, AFL nya di bawah

 

Have fun and cuan….

 

Timur

 

 

_SECTION_BEGIN("William's %R R-Squared");

function PercentR( periods )

{

 return -100 * ( HHV( H, periods ) - C )/( HHV( H, periods ) - LLV( L, periods ) );

}

per=Param("Periods", 14, 2, 1000 );

willR=PercentR(per);

Plot(-20,"",colorRed);

Plot(-80,"",colorGreen);

R2=Correlation(willR,C,per)*Correlation(willR,C,per); // Ini untuk R Squared William %R dgn harga close

Plot( willR,

              " \nR2 ="+WriteVal(r2,1.2)+"   " + _DEFAULT_NAME(),

              ParamColor("Color", ColorCycle ) ); //untuk ngeplot R-Squared di chart

PlotOHLC( willR,willR,-50,willR, "", colorPink, styleCloud | styleClipMinMax, -80, -100 );

PlotOHLC( willR,willR,-50,willR, "", colorAqua, styleCloud | styleClipMinMax, 0, -20 );

_SECTION_END();



__._,_.___


Apabila membutuhkan software AmiBroker, Realtime Intraday Data & Pelatihan silahkan kontak : Dendo Valentino | Cell : 08159304868 | e-mail: amibrokerfreak{at}yahoo.co.id | YM id : dendov | http://www.facebook.com/dendo.amibrokerfreak | http://www.amibroker-4-bei.org





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

No comments:

Post a Comment