PureBytes Links
Trading Reference Links
|
Hello,
The only meaningful results you can get from Foreign()
is when you use "C", "O", "H", "L", "V", "I" as a second
argument. All other strings default to close.
So the only one correct is:
Ab= Ref(Foreign("999150","L"),-1);
Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
http://www.amibroker.com
----- Original Message -----
From: "Stephane Carrasset" <nenapacwanfr@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, November 24, 2001 4:53 PM
Subject: [amibroker] My Mistake on Foreign()
> Hi, all,
> to avoid the mistake I have done with foreign function,
> there is a big difference if you want the ref(L,-1) of a foreign
> between ;
> AB is right,
> Coclusion, I suppose we can call only array H,L, O, C, V with foreign
> and built the indicator outside the "".
>
> stephane
>
> Aa= Foreign("999150","ref(L,-1)");
> Ab= Ref(Foreign("999150","L"),-1);
>
> Graph1=Aa;
> Graph1Color= 7 ;
> Graph1Style=1;
> Graph2=Ab;
> Graph2Color= 8 ;
> Graph2Style=1;
>
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
|