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!

Reply via email to