| push5280 201 posts
 msg #144380
 - Ignore push5280
 | 8/11/2018 7:54:33 PM 
 Would someone please look over this code and help me find why it is returning a 1 value for XBIO on June 12th?  I thought the code was correct and should only return 2,0 or -2 but apparently I have something wrong. Any help would be appreciated.
 /*Elder Impulse*/
 set{GreenEMA13, count(ema(13) > ema(13) 1 day ago, 1)}
 set{GreenMACDH, count(MACD Histogram > MACD Histogram 1 day ago, 1)}
 set{RedEMA13, count(ema(13) < ema(13) 1 day ago, 1)}
 set{RedMACDH, count(MACD Histogram < MACD Histogram 1 day ago, 1)}
 set{GEMAval, GreenEMA13 * 1}
 set{GMACDHval, GreenMACDH * 1}
 set{REMAval, RedEMA13 * -1}
 set{RMACDHval, RedMACDH * -1}
 set{EI1, GEMAval + GMACDHval}
 set{EI2, REMAval + RMACDHval}
 set{ElderImpulse, EI1 + EI2}
 
 
 |