PureBytes Links
Trading Reference Links
|
Via SetForeign perhaps? (Didn't check myself):
SetForeign("Name your ticker");
Price = C;
StochArr = StochK(10, 1);
RestorePriceArrays();
LagStch = Ref(StochArr,-1);
????
PS
--- In amibroker@xxxxxxxxxxxxxxx, Fred Tonetti <ftonetti@xxx> wrote:
>
> 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@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]
On Behalf
> Of dougtrade
> Sent: Sunday, September 09, 2007 8:20 AM
> To: amibroker@xxxxxxxxxxxxxxx
> 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!
>
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
<*> 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:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|