Remove the semi-colon from the end of the first line. It is turning that line into a seperate statement.
Steve ----- Original Message ----- From: "Dennis Brown" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, September 15, 2006 3:40 PM Subject: [amibroker] Help with AFL Loops and Plots > 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 > > > Yahoo! Groups Links > > > > > > > > > > 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 Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/amibroker/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/amibroker/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
