// Ini afl yang tidak error
//EMA20=EMA(Close,20);
EMA20=EMA(Close,20);
EMA55=EMA(Close,55);
//EMA20=EMA(Close,20);
EMA20=EMA(Close,20);
EMA55=EMA(Close,55);
PlotOHLC(EMA20, EMA20, EMA55, EMA20, "", IIf(ema20>ema55, colorGreen, colorRed), styleCloud);
//
//
----- Original Message -----From: ag hadiSent: Sunday, February 06, 2011 9:46 AMSubject: Re: [Komunitas AmiBroker] Bikin warna ema 20,50
Kok error ya Pak Tjhai.....
From: tjhai lioe <tjhailioe@gmail.com>
To: amibroker-4-bei@yahoogroups.com
Cc:
Sent: Sunday, February 6, 2011 4:52 AM
Subject: Re: [Komunitas AmiBroker] Bikin warna ema 20,50
tambahin ah biar seru
2011/2/4 Christopher Tahir <chris_tahir@ymail.com>
Gini aja codenya:
Color = iif(EMA(C,20) > EMA(C,50), colorGreen, colorRed);
Best Regards,
Christopher Tahir
Blog: http://ez-stock.blogspot.com
MSN: chris_tahir@hotmail.com
YM: chris_tahir@ymail.com
Mail to my Y!Group:
ez-stock-subscribe@yahoogroups.com
Sent: Fri, February 4, 2011 6:55:33 PM
Subject: [Komunitas AmiBroker] Bikin warna ema 20,50
Malam semua,
Apakah ada yang bisa bantu untuk afl berwarna ema 20,50 yaitu kalau golden cross antara ema 20-50 warnanya hijau dan kalau death cross antara 50-20 warnanya merah.
Sebelumnya makasih ..
Ben
Sent from Ben's Iphone
__._,_.___



No comments:
Post a Comment