Fave This

Monday, 5 May 2014

RE: [Komunitas AmiBroker] filter last signal



Kalau menggunakan Filter = 1 maka akan menampilkan semua saham yang ada alias TIDAK MELAKUKAN FILTER.

 

Jadi AFL nya menjadi :

 

Buy=Cross( MACD(), Signal() );
Sell=Cross( Signal(), MACD() );

STSMACD =
WriteIf(LastValue(Buy), "Buy",
WriteIf(LastValue(sell), "Sell", ""));
ColMACD =    IIf(Buy , colorGreen ,0 );

Filter = Buy or Sell ;
AddTextColumn(stsMACD, "cum", 1.0, ColMACD, colorDefault,50);

 

 

 

 

From: amibroker-4-bei@yahoogroups.com [mailto:amibroker-4-bei@yahoogroups.com] On Behalf Of Qit toon
Sent: Thursday, April 24, 2014 12:28 PM
To: amibroker-4-bei@yahoogroups.com
Subject: [Komunitas AmiBroker] filter last signal

 

 

Ada yg bisa bantu bagaimana membuat filter last signal
saya coba seperti dibawah ini belum berhasil

Buy=Cross( MACD(), Signal() );
Sell=Cross( Signal(), MACD() );

STSMACD =
WriteIf(LastValue(Buy), "Buy",
WriteIf(LastValue(sell), "Sell", ""));
ColMACD =    IIf(Buy , colorGreen ,0 );

Filter =1;
AddTextColumn(stsMACD, "cum", 1.0, ColMACD, colorDefault,50);



__._,_.___


Harga Software AmiBroker Terbaru:
- Versi Professional: Rp 3,500,000
- Versi Standard: Rp 2,500,000

Harga Paket Realtime Intraday Data:
1 bulan Rp 250,000
3 bulan Rp 675,000 @225rb/bulan
6 bulan Rp 1,200,000 @200rb/bulan
12 bulan Rp 2,100,000 @175rb/bulan

Pemesanan:
E-Mail: sales@integrity.co.id
Ph: 021-57936155
SMS: 08159304868
Pin: 285844A8

Informasi Selengkapnya Visit Website:
http://www.integrity.co.id





__,_._,___

No comments:

Post a Comment