Mas Eco, boleh tanya ya ...
Kalau menurut saya syarat Buy untuk C sudah benar tetapi seharusnya untuk C1 bukan < TDC2Hma tetapi terhadap TDC2Hma untuk hari kemarin atau TDC2Hma (C1) demikian juga untuk syarat Sell.
Tapi maaf saya sendiri gak ngerti bagaimana mengimplementasikannya lewat AFL ...
Sekedar saran saja ...
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
__,_._,___
2011/2/8 Eco Syariah <esyariah@gmail.com>
Coba test tambahan ini (letakkan di bagian bawah AFL):
//tambahan
C1 = Ref(C,-1);
Buy = C < TDC2Hma AND C1 < TDC2Hma;
Sell = C > TDC2Lma AND C1 > TDC2Lma;
PlotShapes(shapeUpArrow*Buy, colorGreen, 0, L, -15);
PlotShapes(shapeDownArrow*Sell, colorRed, 0, H, -15);
Good luck,
ES2011/2/8 chilanix@gmail.com <chilanix@gmail.com>
------------------------------------Bro/Sis,
Baca buku Five Elevement's nya Pak Colonel, di sebutkan salah satu best
contratrian technique adalah Tom DeMark Channel, di bawah ini adalah afl
TD channel :
EnterType = ParamList("Security Type","Stock,Commodity");
TDPlotStyle = ParamStyle("Plot Style", styleDashed );
TDGraphColor = ParamColor("Color", colorYellow);
fHighMultiplier = 0.995;
fLowMultiplier = 1.005;
if( EnterType == "Stock" )
{
fHighMultiplier = 0.930;
fLowMultiplier = 1.070;
}
TDC2lma = MA( L, 3) * fLowMultiplier;
TDC2hma = MA( H, 3) * fHighMultiplier;
Plot( TDC2lma, "TDC2L",
TDGraphColor,
TDPlotStyle|styleNoRescale,
Null, Null, 0
);
Plot( TDC2hma, "TDC2H",
TDGraphColor,
TDPlotStyle|styleNoRescale,
Null, Null, 0
);
cara pemakaiannya :
SINYAL BUY : Apabila CLOSE dua candle terakhir (termasuk candle hari
ini) secara berturut-turut berada di bawah nilai batas bawah channel
(TDC2hma)
SINYAL SELL : Apabila CLOSE dua candle terakhir (termasuk candle hari
ini) secara berturut-turut berada di atas nilai batas atas channel (TDC2lma)
Tolong bantuannya bagaimana caranya untuk menambahkan sinyal buy / sell
pada afl di atas.
Thanks sebelumnya
Salam,
Chilanix
Yahoo! Groups Links
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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker-4-bei/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker-4-bei/join
(Yahoo! ID required)
<*> To change settings via email:
amibroker-4-bei-digest@yahoogroups.com
amibroker-4-bei-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
amibroker-4-bei-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
--
Husni Gumilang
Husni.gumilang@gmail.com
http://www.dvdhobi.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
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