[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] //MAMA & FAMA from ehlers.dll in new AB



PureBytes Links

Trading Reference Links


Hello,
 
It works fine with newest AmiBroker 4.07.3 with QuickAFL 
enabled,
provided that you add SetBarsRequired( 1000, 0 );
 
<FONT face="Courier New" 
color=#0000ff size=1>
SetBarsRequired<FONT face="Courier New" color=#000000 
size=1>(1000<FONT 
face="Courier New" color=#000000 size=1>,<FONT face="CourierNew" 
color=#ff00ff size=1>0<FONT 
color=#000000>);
price = (H+L)/<FONT face="Courier New" color=#ff00ff 
size=1>2;
sbFAMA = C;
Plot<FONT 
face="Courier New" size=1>(<FONT face="Courier New" color=#0000ff 
size=1>sbMAMA(price,<FONT 
face="Courier New" color=#ff00ff size=1>0.5<FONT face="Courier New" 
size=1>,0.005<FONT 
face="Courier New" size=1>),<FONT face="Courier New" color=#ff00ff 
size=1>"MAMA",<FONT 
face="Courier New" color=#ff00ff size=1>4<FONT face="CourierNew" 
size=1>,1<FONT 
face="Courier New" size=1>);
Plot<FONT 
face="Courier New" size=1>(sbFAMA,<FONT face="Courier New" color=#ff00ff 
size=1>"FAMA",<FONT 
face="Courier New" color=#ff00ff size=1>6<FONT face="CourierNew" 
size=1>,1<FONT 
face="Courier New" size=1>);
Plot<FONT 
face="Courier New" size=1>(C,<FONT face="Courier New" 
color=#ff00ff size=1>"Close",<FONT 
face="Courier New" color=#ff00ff size=1>1<FONT face="CourierNew" 
size=1>,64<FONT 
face="Courier New" size=1>);<FONT face="Courier New" 
size=1>
QuickAFL is a feature that allows faster 
evaluation of formulas.
It works so that during first evaluation each function tells 
AFL engine
how many past and future bars are required (minimum) to 
calculate
given function properly. AFL engine sums up these 
requirements
and uses only as many bars as required.
This gives significant speed-up when you are working with more 
than 20000 bars.
 
In the future DLL developers would need to 
modify their code so 
SetBarsRequired is called internally.
 
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Nurudin Kaba 

To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Saturday, July 27, 2002 11:32 
PM
Subject: RE: [amibroker] //MAMA & 
FAMA from ehlers.dll in new AB

the 
elders.dll posted by ...there is a sample in the readme file...it works on 
some symbols but not others...

<FONT face=Tahoma 
size=2>-----Original Message-----From: Tomasz Janeczko 
[mailto:amibroker@xxxx]Sent: Saturday, July 27, 2002 12:30 
AMTo: <A 
href="">amibroker@xxxxxxxxxxxxxxxSubject: 
Re: [amibroker] //MAMA & FAMA from ehlers.dll in new 
AB
Hello,
 
What formula are you using?
Try adding SetBarsRequired( 1000, 0 ); to your 
formula
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Nurudin 
Kaba 
To: <A 
title=amibroker@xxxxxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 

Sent: Saturday, July 27, 2002 6:39 
AM
Subject: RE: [amibroker] //MAMA & 
FAMA from ehlers.dll in new AB

<FONT face=Arial color=#0000ff 
size=2>Yup...but it does work on other stocks...just some will giveyou 
what you experienced...try other stocks...

<FONT face=Tahoma 
size=2>-----Original Message-----From: nkis22 
[mailto:nkishor@xxxx]Sent: Friday, July 26, 2002 4:41 
PMTo: <A 
href="">amibroker@xxxxxxxxxxxxxxxSubject: 
[amibroker] //MAMA & FAMA from ehlers.dll in new 
ABIn the most recent release of AB, my MAMA 
& FAMA fromehlers.dll don't work. There is no error but the 
chart looks"hung high in the ceiling"Any one else with the same 
problem?nandYour use of Yahoo! Groups 
is subject to the Yahoo! 
Terms of Service. Your use ofYahoo! 
Groups is subject to the <A 
href="">Yahoo! Terms of Service. 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 
Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.