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,
ES
2011/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
------------------------------------
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
Yahoo! Groups Links
<*> 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/
__._,_.___



No comments:
Post a Comment