bikhod 5 posts msg #75346 - Ignore bikhod | 
6/12/2009 11:13:34 AM
  It works if I use c1and c2 OR c1 and c3!
 
 Is there a problem with having three conditions like mine?
 
 
 set{c1, count(Close > EMA(65), 1) } 
 set{c2, count(weekly MACD Fast Line(12,26) > weekly MACD Slow Line(12,26) , 1) } 
 set{c3, count(weekly RSI(14) > 50, 1) } 
 
 set{cAll, c1 + c2 + c3} 
 
 show stocks where cAll equals 3 
 and cAll 1 day ago is less than 3 
 
  | 
chetron 2,817 posts msg #75356 - Ignore chetron | 
6/12/2009 2:40:04 PM
  your 4th line has 2 math function.  you need to break it into 2 set lines
 
 
 hth
 
  | 
Eman93 4,750 posts msg #75390 - Ignore Eman93 modified | 
6/13/2009 2:33:51 PM
 
  	    
 
  | 
mystiq 650 posts msg #75850 - Ignore mystiq | 
6/28/2009 3:05:23 AM
  Can anybody help debug these SET STATEMENTS....I think the logic is correct, but it seems to be wrong somewhere. Please help.  Thx
 
  
 
  
 
 set{s10, sma(10)}
 
 set{e30, ema(30)}
 
 set{guess, s10 minus e30} 
 
 
 i am trying to establish column to show sma(10) over/under ema(30) – positive number indicate TREND UP – negative number indicate TREND DOWN
 
  
 
 
 set{em13, ema(13)} 
 
 set{em26, ema(26)} 
 
 set{uxover, count(em13 crossed above em26,1)} 
 
 set{dxover, count(em13 crossed below em26,1)} 
 
 set{fxover, uxover minus dxover}
 
  
 
 i am trying to establish column to show ema(13) crossedover/under ema(26) – positive number indicate CROSS UP – negative number indicate CROSS DOWN
 
 (-.-)
 
 
  | 
chetron 2,817 posts msg #75856 - Ignore chetron | 
6/28/2009 11:58:42 AM
  SMA(10) SHOULD BE MA(10)
 
 HTH
 
  | 
mystiq 650 posts msg #75901 - Ignore mystiq | 
6/30/2009 1:56:08 AM
  Thx chetron (-.-)
 
  | 
chetron 2,817 posts msg #75905 - Ignore chetron | 
6/30/2009 6:36:28 AM
  YOU ARE VERY WELCOME
 
  |