Hmmm . That doesn't appear to be correct either since for whatever reason
StochK apparently only takes length arguments.

 

C1 = Foreign("VLE-i", "C");

 

S1 = HHV(C1, 10);

S2 = LLV(C1, 10);

S3 = IIf(S1== S2, 50, 100 * (C1 - S2) / (S1 - S2));

S4 = MA(S3, 1);

 

Condition = Ref(S4, -1) > 80;

 

Plot(S4, "Sto", colorRed);

 

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Fred Tonetti
Sent: Monday, September 10, 2007 6:48 AM
To: [email protected]
Subject: RE: [amibroker] Help with Nested AFL

 

You don't get any points ( or faster code ) from writing it in a more
complex way.

 

Better to KISS so that later you can read what you wrote . Change it if
necessary etc .

 

C1 = Foreign("Index", C);

C2 = StochK(10, 1);

C3 = Ref(X2, -1) > 80;

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of dougtrade
Sent: Sunday, September 09, 2007 8:20 AM
To: [email protected]
Subject: [amibroker] Help with Nested AFL

 

I'm a new user and need some help on the proper sequence to nest AFL 
scripts... ie; if I want to check the 10 bar unsmoothed stochastics of 
the foreign symbol "INDEX" as of the previous bar...

I know the following doesn't work...

Condition = Ref(Foreign("INDEX","StochK(10,1)"),-1)>80;

Can anybody tell me the correct nesting structure?

Thanks, Doug

 

  _____  

I am using the free version of SPAMfighter for private users.
It has removed 71 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter <http://www.spamfighter.com/len>  for free now!



 


  _____  

I am using the free version of SPAMfighter for private users.
It has removed 71 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter <http://www.spamfighter.com/len>  for free now!

Reply via email to