How do I specify in a scan an "OR" logical function? An "AND" function is specified as &. "OR" does not compile.
EXAMPLE:
cond1:=c<ma(c,20);
cond2:=ma(c,10)<ma(c,15);
event: cond1 OR cond2;
Logical OR function?
Moderator: Chris White
Re: Logical OR function?
Here is an example with correct AND OR symbols.
| OR
& AND
cond1:=c<ma(c,20);
cond2:=ma(c,10)<ma(c,15);
cond3:=ma(c,3)<ma(c,5);
event: cond1 | ( cond2 & cond3);
| OR
& AND
cond1:=c<ma(c,20);
cond2:=ma(c,10)<ma(c,15);
cond3:=ma(c,3)<ma(c,5);
event: cond1 | ( cond2 & cond3);
Last edited by joel847 on Wed Jul 11, 2012 8:06 pm, edited 1 time in total.