This is correct version:

SP = AMA2( Period, 0.33, 0.67 );

However yours should work actually the same :-)

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "sidhartha70" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, May 28, 2008 6:58 PM
Subject: [amibroker] AFL code query


> Hi all,
> 
> With Tomasz help I've started using the AMA and AMA2 functions more...
> 
> It's all still a bit new. Could someone confirm the following is a
> correct code translation from more traditional languages,
> 
> Non AFL
> 
> SP=0.33*Period + 0.67*SP[1];
> 
> in AFL,
> 
> SP=AMA2(0.33*Period,1,0.67);
> 
> Correct?
> 
> Thanks
> 
> 
> ------------------------------------
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
> 
> 
> 

Reply via email to