[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Help with Nested AFL



PureBytes Links

Trading Reference Links

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: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Fred Tonetti
Sent: Monday, September 10, 2007 6:48 AM
To: amibroker@xxxxxxxxxxxxxxx
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: amibroker@xxxxxxxxxps.com [mailto:amibroker@xxxxxxxxxps.com] On Behalf Of dougtrade
Sent: Sunday, September 09, 2007 8:20 AM
To: amibroker@xxxxxxxxxps.com
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 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 for free now!
__._,_.___

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




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

__,_._,___