Fred: you are right. I have been thinking too much about those (Static)VarGet/Set stuff ;-)
----- Original Message -----
From: Fred
Sent: Friday, September 15, 2006 4:12 PM
Subject: [amibroker] Re: Help with AFL Loops and Plots

Did you try using _Trace & DbgView to see what's happening in the
loop ?

If you did you would have noticed that the loop is only being
executed ONCE with a value of 50 ... This should tell you to look at
your For statement ... what do you notice when looking at it ?

Lose the ;

--- In [EMAIL PROTECTED]ps.com, Dennis Brown <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I made a simple AFL FOR loop to increment through several moving
> averages and plot them. However, it only plots the last one of
the
> series. Could someone explain how to make this work:
>
> FOR( i=10; i<50; i=i+10);
> {
> MAplot= MA(C,i);
> Plot (MAplot,"MA"+i,24,1);
> }
> Plot (C, "close",1,64);
>
> Thanks,
> Dennis
>

__._,_.___

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 other support material please check also:
http://www.amibroker.com/support.html






SPONSORED LINKS
Software support Small business finance Business finance online
Business finance training Business finance course

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

__,_._,___

Reply via email to