Saya coba bantu, mudah2an ini yg dimaksud.
Definisikan dulu sebelum masuk ke bagian filter dalam afl bpk misal sbb:
C1= 1.06*Ref(C,-1);
C2=0.92*Ref(C,-1);
Kemudian bapak tambahkan bagian dibawah ini setelah kolom yg ada di afl (ada formula Addcolumn dst ):
Addcolumn(C1,"C1",1.0);
Addcolumn(C2,"C2",1.0);
Detilnya bapak tinggal lihat di help menu.
Salam,
Powered by Telkomsel BlackBerry®
From: tjhai lioe <tjhailioe@gmail.com>
Sender: amibroker-4-bei@yahoogroups.com
Date: Wed, 23 Mar 2011 12:10:59 +0700
To: <amibroker-4-bei@yahoogroups.com>
ReplyTo: amibroker-4-bei@yahoogroups.com
Subject: Re: [Komunitas AmiBroker] afl Tom DeMark Channel...?
pak Isfandi saya minta tolong dong ,
pak kalau saya bikin explorer dan dibagian column saya ingin tambahan 2 column
yang satu close kemarin+6%
yang lain close kemarin -8%
dan angkanya bulat ga pakai koma
gimana ya buat aflnya
terima kasih pak
On Mon, Mar 21, 2011 at 1:15 AM, <isfandi2001@yahoo.com> wrote:
try this one Pak..
/******************************************************************
* TD Channel I: Short term indicator
* TD says that two consecutive closes above the upper channel indicate
* a price exhaustion to the upside.
*
* TD Says that two consecutive closes below the lower channel indicate
* a price exhaustion to the downside.
*
* Channel extremes are less effective if the market is trending. Use
* the TDSequential signal or TD Combo signal to determine that trend
* has ended.
*
* Improvements:
* Notes: Seems to work best on monthly prices.
* Author observation: A close where the open is above the upper channel
* tends to indicate a market top. The reverse is applied for a bottom.
*******************************************************************/fHighMultiplier = 0.97;
EnterType = ParamList("Security Type","Stock,Commodity");
TDPlotStyle = ParamStyle("Plot Style", styleDashed );
TDGraphColor = ParamColor("Color", colorYellow);
fLowMultiplier = 1.03;
if( EnterType == "Stock" )
{
fHighMultiplier = 0.91;
fLowMultiplier = 1.09;
}
TDC1lma = MA( L, 3) * fLowMultiplier;
TDC1hma = MA( H, 3) * fHighMultiplier;
Plot( TDC1lma, "TDC2L", TDGraphColor, TDPlotStyle);
Plot( TDC1hma, "TDC2H", TDGraphColor, TDPlotStyle);
//////////end///////////////
for short term indicator period pls use :and
fHighMultiplier = 0.995;
fLowMultiplier = 1.005;//////////////
fHighMultiplier = 0.930;
fLowMultiplier = 1.070;
Regards,
Isfandi
From: arfian yuddy <ayahnyanadia@yahoo.com>Sent: Sun, March 20, 2011 11:06:40 PM
Subject: [Komunitas AmiBroker] afl Tom DeMark Channel...?
Dear Para Master afl..?Sy sedang mencari afl Tom DeMark Channel...adakah yg bersedia sharing..?Thanks.
__._,_.___
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