(C-EMA13)/EMA13*100<-6;是这条13日均线的乖离值小于负6。 AR2:是一个时间上次13日均线的乖离值小于负6到现在的时间; AR4:指在AR2的时间内有过一次(收盘价上穿过13日均线);
第一个: a:=ref(o,1)2 and (ref(c,1)-ref(o,1))>(ref(o,1)-ref(l,1)); b:=o2 and (c-o)>(h-c); a and b; 第二个: a:=ref(o,1)ref(c,1)-ref(o,1) and ref(c,1)-ref(o,1)>ref(h,1)-ref(c,1); b:=oc-o and c-o>h-c; a and b; 第三个: ref(o,1)>ref(c,1) and oo and o-l>h-c;
XG:REF(C>O AND L=O,1) AND C>O AND L=O AND C>REF(C,1) AND V>REF(V,1);