tradewind 4 posts msg #58239 - Ignore tradewind | 
12/17/2007 6:59:01 PM
  Can someone explain to me why the following line of code does not work.
 
 set {Var4, count  (ADX(14) above 25, 1)}
 
 Whenever I put this line of code in, the whole filter bombs.
 This line of code is supposed to set Var4 to 1 if ADX(14) is greater than 25, otherwise Var4 is 0. This is part of a logical OR construct.
 How should this idea be written?
 
  | 
TheRumpledOne 6,529 posts msg #58240 - Ignore TheRumpledOne modified | 
12/17/2007 7:06:53 PM
 
  	    
 
 Careful with your spaces.
 
  | 
tradewind 4 posts msg #58271 - Ignore tradewind | 
12/18/2007 5:24:38 PM
  Thanks TRO
 that fixed the problem. Thank you also for the caution about spaces which was causing problems as well.
 
  |