Louis:
 
Did yo mean something like this?
 
xxx   = some value or other array
Var1 = Ref(C,-1);
Var2 = Var1 * 0.99 < xxx;
 
Var2 will be = to 1 if the condition is true and will be = to 0 if it is
false.
 
Ken

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Louis Préfontaine
Sent: Saturday, July 05, 2008 10:16 PM
To: [email protected]
Subject: [amibroker] Stupid question


Hi,

For some reason I can't do that well.

I'd like to be able to make a calculation referring to the close before
yesterday.

I tried to set a variable: e.g.  var = ref (c,-1)    and then to make a
reference to it:   var*0.99< xxx    but it does not work...

Anyone know how to do that?

Thanks,

Louis
 

Reply via email to