Joe,

 Sorry for the typos ... Gordon's corrections below should work

Plot(S1,"",coloryellow,styleline);
Plot(S2,"",colorgreen,styleline);

----- Original Message ----- 
From: Gordon Sutherland 
To: [email protected] 
Sent: Monday, February 11, 2008 4:54 PM
Subject: RE: [amibroker] Stochastics AFL


JoeP,



Just typos:



  1.. Place a comma before coloryellow and before colorgreen. This separates 
arguments two from three in the plot statements. 
  2.. Remove the "y" in colorygreen. 


Cheers,



Gordon Sutherland



-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Platt
Sent: Tuesday, 12 February 2008 1:41 p.m.
To: [email protected]
Subject: Re: [amibroker] Stochastics AFL



Ara,
Referring to the attachment.......we are apparently getting a syntax error 31. 
This occurs for S1 and S2. What do you think?

thanks, 

..........JoeP






----- Original Message ----- 
From: Ara Kaloustian 
To: [email protected] 
Sent: Monday, February 11, 2008 3:39 PM
Subject: Re: [amibroker] Stochastics AFL


Use 
S1 = StochK(15,6);
S2 = StochK(25,10);
Plot(S1,""coloryellow,styleline);
Plot(S2,""colorygreen,styleline);

----- Original Message ----- 
From: "Joseph Platt" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, February 11, 2008 1:22 PM
Subject: [amibroker] Stochastics AFL

> I've been doing some experimenting with Stochastics and if the numbers 
> were for example 15, 6, 10 where 15 is the period, 6 is %K and 10 is %D 
> I would like to omit the 3rd figure 10 (%D) which I believe is a MA of %
> K so the modified stochastic would simply be 15, 6. 
> 
> I haven't been able to omit the 3rd figure by using the "parameter" box 
> so it looks like a special AFL would be required.
> 
> What I'd like to wind up with is 2 stochastics that would be plotted in 
> one pane and would cris/cross each other like with regular Stochastics.
> 
> The first one would be 15, 6 and colored yellow.
> 
> The second one would be 25, 10 and colored Green.
> 
> Any help with an AFL would be greatly appreciated.
> 
> thanks,
> 
> .....JoeP
> 
> 
> 
> 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