Fave This

Tuesday, 21 June 2011

Re: [Komunitas AmiBroker] Tanya AFL VALUE



Haloo pak husni ... tinggal di tambah setbarfillcolor ...  berikut sudah sy add ..
mungki sperti ini maksudnya yah ...

utk pertanyaan no 2 harus di set manual pada AB , masuk ke menu Tools ----> Preference --- pilih Tab : Miscellaneous
rubah Thousand separator nya menjadi "." dan pada kolum Decimal di buat kan menjadi "0"

Done pak ...

Rgdz
sAThya

// Indikator Value

AvgPrice=(O+H+L+C)/4;
DV=AvgPrice*V*500;

_SECTION_BEGIN("Value ");
SetBarFillColor( IIf(O < C, colorGreen,colorRed) );
style = ParamStyle("Price Show", styleCandle, maskPrice);
GraphXSpace = 50;
Plot( DV,"Value Rp. ", IIf( C > O, ParamColor("Up Color", colorGreen ), ParamColor("Down Color", colorRed ) ), styleCandle, Null, Null, 0  );

_SECTION_END();

_SECTION_BEGIN("MA");

Plot( MA( DV, 20 ), "20 Days Average Value Rp.", ParamColor( "Color", colorBlue ), styleLine );

_SECTION_END();

2011/6/22 David Raharja <david.raharja@gmail.com>
 

Pak Husni,

Untuk point No. 1 coba bapak masuk ke menu Tools | Preference | Colors
Disana untuk upcandlestick ganti dengan warna hijau dan downcandlestick dengan warna merah

Untuk point No. 2 mohon maaf saya tidak tahu caranya.

Salam nubie juga...




2011/6/22 Husni <husni.gumilang@gmail.com>
 

Selamat pagi AB Freaks,

 

Saya ingin membuat AFL indicator Value , karena Value (Volume*Price) saya anggap lebih bernilai dibanding Volume

Hasil oprekan AFL saya adalah sbb :

 

// Indikator Value

 

AvgPrice=(O+H+L+C)/4;

DV=AvgPrice*V*500;

 

_SECTION_BEGIN("Value ");

Plot( DV,"Value Rp. ", IIf( C > O, ParamColor("Up Color", colorGreen ), ParamColor("Down Color", colorRed ) ), styleCandle, Null, Null, 0  );

_SECTION_END();

 

_SECTION_BEGIN("MA");

Plot( MA( DV, 20 ), "20 Days Average Value Rp.", ParamColor( "Color", colorBlue ), styleLine );

_SECTION_END();

 

Dengan hasil sbb :

 

 

Ada 2 hal yg ingin saya tanyakan dan improve setelah saya ubek2 Helpnya AB  :

1.       Bagaimana caranya agar ketika harga turun (C < O) Chart Value  benar2 berwarna FULL  MERAH , bukan Cuma pinggirannya saja .

2.       Bagaimana agar tampilannya teksnya menjadi  : Value Rp  28.695.638.016   , jadi gak pake '=' ,  menggunakan format Indonesia (titik, bukan koma sebagai pemisah ribuan) ,dan tanpa decimal (2 angka di belakang koma) …

 

Atas bantuannya saya ucapkan terima kasih, mohon maaf pertanyaanya Newbie sekali …

 

Salam belajar,

 

Husni





--
Technical Trading Strategy with SPMV2 ADD ON Ready to use in Amibroker
Bagi yang ingin menggunakan ADD ON SPMV2 silahkan order melalui kami
silahkan daftar di email : sathya.prass@gmail.com  atau HP : 0821-22-070-257 (Pras)
www.analisatradingsaham.com







__._,_.___


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