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

Re: [amibroker] Using nested Refs



PureBytes Links

Trading Reference Links

I cannot see anything wrong with what you have shown except it does not have a variable identifier, and the "re" variables have no definition shown.
I made some alterations so could check it
re50=C;

re75=O;

x = Ref(re50<Ref(re50,-1) AND re75<Ref(re75,-1),-1);

Filter

=1;

AddColumn

(x,"x",1);

 
On Mar 31, 2005 5:57 PM, Anthony Faragasso <ajf1111@xxxxxxxx> wrote:
How about this:
 

Ref

((re50 < Ref(re50,-
1) AND re75 < Ref(re75,-1) ),-1);

----- Original Message -----
From: mrdavis9
Sent: Thursday, March 31, 2005 1:31 AM
Subject: [amibroker] Using nested Refs

 

This nested Ref statement showed that I have a syntax error.   Is this only a syntax error?  Maybe Amibroker does not like nested Ref(  arguments. 

I just thought it would be fun to try it. I obviously can code them  seperately. Ron D

 

Ref

(re50<Ref(re50,-1) AND re75<Ref(re75,-1),-1);


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 other support material please check also:
http://www.amibroker.com/support.html





No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 3/27/2005



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 other support material please check also:
http://www.amibroker.com/support.html




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 3/27/2005





--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/

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 other support material please check also:
http://www.amibroker.com/support.html




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links