Bro NuBee..

AFL yg 2 baris ini error. Jd ga bs keluar tuh buaya.

Ref(H,-4)<H AND Ref(H,-3)<H AND Ref(H,-2)==H AND Ref(H,-1)==H AND Ref(H,1)<H 
AND Ref(H,2)<H) OR 
(Ref(H,-6)<H AND Ref(H,-5)<H AND Ref(H,-4)==H AND Ref(H,-3)<H AND Ref(H,-2)==H 
AND Ref(H,-1)<H AND Ref(H,1)<H AND Ref(H,2)<H) ; 
 
Regards,...
DvD™

"In Te Domine, Speravi Non Confundar In Aeternum"
________________________________





________________________________
From: NuBeeTrader <saw...@yahoo.co.id>
To: obrolan-bandar@yahoogroups.com
Sent: Fri, November 13, 2009 3:15:38 PM
Subject: Re: [ob] Contoh penggunaan Fractal pada metoda Profitunity

  
ganti pendefinisian fractal dari AFL asli dgn definisi baru sesuai Mbah
 
//////////// ///////// ///////// ///////// ///////// ///////// ///////// 
///////// ///////// ///////// ///////// ///////// ///////// ///////// ///////// 
///////// ///////// ////
UpFractal = 
(Ref(H,-2)<H AND Ref(H,-1)<H AND Ref(H,1)<H AND Ref(H,2)<H) OR 
(Ref(H,-3)<H AND Ref(H,-2)<H AND Ref(H,-1)==H AND Ref(H,1)<H AND Ref(H,2)<H) OR 
(Ref(H,-4)<H AND Ref(H,-3)<H AND Ref(H,-2)==H AND Ref(H,-1)==H AND Ref(H,1)<H 
AND Ref(H,2)<H) OR 
(Ref(H,-4)<H AND Ref(H,-3)<H AND Ref(H,-2)==H AND Ref(H,-1)==H AND Ref(H,1)<H 
AND Ref(H,2)<H) OR 
(Ref(H,-6)<H AND Ref(H,-5)<H AND Ref(H,-4)==H AND Ref(H,-3)<H AND Ref(H,-2)==H 
AND Ref(H,-1)<H AND Ref(H,1)<H AND Ref(H,2)<H) ; 
DnFractal = 
(Ref(L,-2)>L AND Ref(L,-1)>L AND Ref(L,1)>L AND Ref(L,2)>L) OR 
(Ref(L,-3)>L AND Ref(L,-2)>L AND Ref(L,-1)==L AND Ref(L,1)>L AND Ref(L,2)>L) OR 
(Ref(L,-4)>L AND Ref(L,-3)>L AND Ref(L,-2)==L AND Ref(L,-1)==L AND Ref(L,1)>L 
AND Ref(L,2)>L) OR 
(Ref(L,-4)>L AND Ref(L,-3)>L AND Ref(L,-2)==L AND Ref(L,-1)==L AND Ref(L,1)>L 
AND Ref(L,2)>L) OR 
(Ref(L,-6)>L AND Ref(L,-5)>L AND Ref(L,-4)==L AND Ref(L,-3)>L AND Ref(L,-2)==L 
AND Ref(L,-1)>L AND Ref(L,1)>L AND Ref(L,2)>L) ; 
//////////// ///////// ///////// ///////// ///////// ///////// ///////// 
///////// ///////// ///////// ///////// ///////// ///////// ///////
 
 
AFL ASLI dari AMIBROKER
 
 
 
/*
   Bill William's Alligator System II

   Reference Website:
   ============ ======
  
http://www.alpari- idc.com/en/ market-analysis- guide/chaos- theory/alligator 
-and-gator. html

   Modified from http://www.amibroke r.com/library/ detail.php? id=100, by Steve
Wiser - slwis...@erols. com
   Modified by TohMz  on June 9th, 2008
*/
SetChartOptions( 0, chartShowArrows| chartShowDates );

_SECTION_BEGIN( "Price Chart");
_N(Title = StrFormat("{ {NAME}}- {{INTERVAL}} {{DATE}} O= %g, H= %g, L= %g, C=
%g (%.1f%%) V= " +WriteVal( V, 1.0 ) +"\n{{VALUES} }", O, H, L, C, 
SelectedValue(
ROC( C, 1 )) ));
PriceStyle = GetPriceStyle( );
PriceStyleOpt = ParamStyle(" Price Style")|PriceStyle;

if (PriceStyle= =styleCandle)
   Plot( C, "", colorBlack,  PriceStyleOpt) ; 
else
   Plot( C, "", IIf( Close >= Ref(C, -1), colorBlue, colorRed ),
PriceStyleOpt) ;
_SECTION_END( );

_SECTION_BEGIN( "BW Alligator");
/*** The trend indicators ***/

P= ParamList("Price" , "Close|(H+L) /2|(H+C+L) /3",1);

if (P=="Close")
   A = C;
   
else
if (P=="(H+C+L) /3")
   A = (H+C+L)/3;
else
  A = (H+L)/2;

AlligatorJaw   = Ref(Wilders( A,13),-8) ;
AlligatorTeeth = Ref(Wilders( A,8), -5);
AlligatorLips  = Ref(Wilders( A,5), -3);

Plot(AlligatorJaw,  "Jaw", ParamColor(" Jaw's Color",colorBlue) ,
ParamStyle(" Jaw's Style", styleThick)) ;
Plot(AlligatorTeeth ,"Teeth", ParamColor(" Teeth's Color",colorRed) ,
ParamStyle(" Teeth's Style", styleThick)) ;
Plot(AlligatorLips, "Lips", ParamColor(" Lips's Color",colorGreen) ,
ParamStyle(" Lips's Style", styleThick)) ;

_SECTION_END( );


_SECTION_BEGIN( "BW Fractal");

UpFractal= ValueWhen(
  (Ref(H,-2) > Ref(H, -4)) AND
  (Ref(H,-2) > Ref(H, -3)) AND
  (Ref(H,-2) > Ref(H, -1)) AND
  (Ref(H,-2) > H), Ref(H,-2));

DownFractal= ValueWhen(
  (Ref(L,-2) <= Ref(L, -4)) AND
  (Ref(L,-2) <=  Ref(L, -3)) AND
  (Ref(L,-2) <=  Ref(L, -1)) AND
  (Ref(L,-2) <=  L), Ref(L,-2));



//== Added Crash  crashandburn59 [at] hotmail.com solution
Plot(Ref(UpFractal, 2), "Up Fractal", ParamColor(" Up Fractal Color",colorRed) ,
ParamStyle(" Up Fractal Style", styleDashed) );
Plot(Ref(DownFracta l,2), "Down Fractal",ParamColor ("Down Fractal
Color",colorBlue) , ParamStyle(" Down Fractal Style", styleDashed) );

//Plot(Max(HHV( H,3),Ref( UpFractal, 2)), "Up Fractal", ParamColor(" Up Fractal
Color",colorRed) , ParamStyle(" Up Fractal Style", styleDashed) );
//Plot(Max(HHV( H,3),Ref( UpFractal, 2)), "Down Fractal",ParamColor ("Down 
Fractal
Color",colorBlue) , ParamStyle(" Down Fractal Style", styleDashed) );

_SECTION_END( );



_SECTION_BEGIN( "Exploration" );

/*
   Buy:  Scan stocks only breakout..maxbreako ut (1~30%, default) and Trend is
bullish
   Sell: Scan stocks only breakout..maxbreako ut (1~30%, default) and Trend is
bearish

*/
//== Price Increment Value - depend on different country
Inc = 0.1;  


//== Set the Price Range for stock to scan
PriceFrom = Param("Price From:", 5,   0.1, 200, Inc); 
PriceTo   = Param("Price To:",   100, 0.1, 200, Inc); 
MaxBreakOut = Param("Max Breakout (%)", 5, 1, 30);  
MaxBreakOut = MaxBreakOut/ 100;

Buy  = C>UpFractal AND C<=(1+MaxBreakOut) *UpFractal AND
AlligatorTeeth>AlligatorJaw;
Sell = C<DownFractal AND C>=(1-MaxBreakOut) *DownFractal AND
AlligatorTeeth<AlligatorJaw;



Filter = (Buy OR Sell) AND (C>=PriceFrom AND C<=PriceTo) AND V>0;


AddTextColumn( FullName( ), "Security", 1.0, colorDefault, colorDefault, 200); 
AddTextColumn( WriteIf(Buy, "Buy", WriteIf(Sell, "Sell", "")), "Trade", 1.0);
AddColumn( UpFractal, "Up Fratal");
AddColumn( DownFractal, "Down Fratal");
//AddColumn( MA(V,3)/EMA( V,17), "MAV(3/17)") ;
AddColumn( C, "Today's Close");


_SECTION_END( ); 

--- Pada Jum, 13/11/09, David Lau <dj_davi...@yahoo. com> menulis:


>Dari: David Lau <dj_davi...@yahoo. com>
>Judul: Re: [ob] Contoh penggunaan Fractal pada metoda Profitunity
>Kepada: obrolan-bandar@ yahoogroups. com
>Tanggal: Jumat, 13 November, 2009, 3:03 PM
>
>
>  
>Nah ini dia AFL yg benernya buat amibroker.
>
>Sekedar bertanya, apakah boleh disharing AFL nya bro NuBee?
>
> 
>Regards,...
>DvD™
>
>"In Te Domine, Speravi Non Confundar In Aeternum" 
________________________________
 
>
>
>
>
>
________________________________
 From: NuBeeTrader <saw...@yahoo. co.id>
>To: obrolan-bandar@ yahoogroups. com
>Sent: Fri, November 13, 2009 2:58:35 PM
>Subject: Re: [ob] Contoh penggunaan Fractal pada metoda Profitunity
>
>  
>maaf chart nya salah....... .
>
>
>--- Pada Jum, 13/11/09, NuBeeTrader <saw...@yahoo. co.id> menulis:
>
>
>>Dari: NuBeeTrader <saw...@yahoo. co.id>
>>Judul: Re: [ob] Contoh penggunaan Fractal pada metoda Profitunity
>>Kepada: obrolan-bandar@ yahoogroups. com
>>Tanggal: Jumat, 13 November, 2009, 2:50 PM
>>
>>
>>  
>>coba cek pendefinisian fraktal-nya. ......... ......... .sesuaikan definisi 
>>fractal yg ada di web nya mbah ............ ......... ......... ......... ..
>> 
>>sisanya tinggal kreasi sendiri..... ......... ......... .........
>> 
>>amibroker perlu buang waktu utk utak-atik... ......... .di metastock ada yg 
>>udh jadi langsung pakai.....coba cari di EA-nya...... ..Profitunity. 
>>..tinggal attached.... .close... langsung ON....
>> 
>>.....saya coba tambahkan momentum swing yg ada di buku mbah utk buy/sell....
>> 
>>...Data Yahoo...emang tidak 100% bener....... .utk EOD bisa dari Yungdarius/ 
>>Bullquote... ....
>> 
>>...Data Intraday yg lengkap dari Bumianyar/Integrity atau  Bullquote... ...
>> 
>> 
>>salam
>>
>>
>>--- Pada Jum, 13/11/09, dholiaq <dhol...@gmail. com> menulis:
>>
>>
>>>Dari: dholiaq <dhol...@gmail. com>
>>>Judul: Re: [ob] Contoh penggunaan Fractal pada metoda Profitunity
>>>Kepada: obrolan-bandar@ yahoogroups. com
>>>Tanggal: Jumat, 13 November, 2009, 12:11 PM
>>>
>>>
>>>  
>>>
>>>di Amibroker saya koq keluarnya kaya gini ya....
>>>garis putus2x nya koq ndak sama seperti gambarnya proff JT ?
>>>
>>>
>>>
>>>2009/11/13 Hans Kwee <hanskwe...@gmail. com>
>>>
>>>  
>>>>
>>>>System ini udah saya uji coba dan cukup bagus. karena itu kami modifikasi 
>>>>sehingga keluar signal buy and sell dengan cukup jelas. selain itu 
>>>>teradapat teknik traling stops untuk menjaga profit...
>>>>
>>>>thx
>>>>Hans
>>>>
>>>>
>>>>
>>>>
>>>>On Fri, Nov 13, 2009 at 11:53 AM, JsxTrader <jsxtra...@yahoo. com> wrote:
>>>>
>>>>  
>>>>>Bagi peserta pelatihan Alligator nanti, kita sdh siapkan add on utk 
>>>>>metastock yg khusus kita modifikasi dari system si Bill dimana 
>>>>>signal-signal (ada 12 signal) akan langsung ditampilkan di chart…., Ini 
>>>>>untuk mempermudah interpretasi dari system tsb.
>>>>> 
>>>>JT
>>> 
>>>From:obrolan-bandar@ yahoogroups. com [mailto:obrolan-bandar@ yahoogroups. 
>>>com] On Behalf Of r.e.t.h.a.™
>>>Sent: 13 Nopember 2009 11:42
>>>To: OB
>>>Subject: Re: [ob] Contoh penggunaan Fractal pada metoda Profitunity
>> 
>>
>>
>>
>>Ikutan kursus Aligator Prof JT biar nyantol Pak :)
>>bantupromo.com 
>>retha
>>
>>"Positive emotions could cause us to fail to apply risk precautions. Negative 
>>emotion could cause us to hesitate."
>>
________________________________
 
>>From: dholiaq <dhol...@gmail. com> 
>>Date: Fri, 13 Nov 2009 11:38:32 +0700
>>To: <obrolan-bandar@ yahoogroups. com>
>>Subject: Re: [ob] Contoh penggunaan Fractal pada metoda Profitunity
>> 
>>mbah ini maksudnya gimana ya...., saya gak nyantol blass.... mohon 
>>pencerahannya. .... please.....
>>
>>- Buy Fractal at 1590 
>>- Buy Stop at 1600
>>- Buy Stop Hit at 1600
>>- Next Buy Fratcal at 1630
>>- Add position with Buy Stop at 1640
>>- Buy Stop hit at 1640
>>
>>makasih mbah...
>>
>>
>>On Fri, Nov 13, 2009 at 11:21 AM, jsx_consultant <jsx-consultant@ 
>>centrin.net. id> wrote:
>>  
>>Contoh penggunaan Fractal pada metoda Profitunity
>>
>>http://www.obrolanbandar.com/pwladro.png
>>
>>Example of Profitunity Trading System:
>>- Buy Fractal at 1590
>>- Buy Stop at 1600
>>- Buy Stop Hit at 1600
>>- Next Buy Fratcal at 1630
>>- Add position with Buy Stop at 1640
>>- Buy Stop hit at 1640
>>  
>>
>>
>>
>>
>>
>>No virus found in this incoming message.
>>Checked by AVG - www.avg.com
>>Version: 8.5.425 / Virus Database: 270.14.62/2499 - Release Date: 11/12/09 
>>14:33:00
>>
>> 
>>________________________________
 >>Lebih aman saat online. 
>>Upgrade ke Internet Explorer 8 baru dan lebih cepat yang dioptimalkan untuk 
>>Yahoo! agar Anda merasa lebih aman. Gratis. Dapatkan IE8 di sini! 
>>________________________________
 >>Coba Yahoo! Mail baru yang LEBIH CEPAT. Rasakan bedanya sekarang!  
> 

________________________________
 Coba Yahoo! Mail baru yang LEBIH CEPAT. Rasakan bedanya sekarang! 
 


      

Kirim email ke