k线实体不大:=Abs((C-REF(C,1))/REF(C,1)<0.03);
十字星:=H>MAX(C,O)AND L<MIN(C,O)AND ABS(C/O-1)<0.005;
中阳实体:=C/REF(C,1)>1.05 AND C>REF(O,2);
DIFF:=EMA(CLOSE,7) - EMA(CLOSE,19);
DEA:=EMA(DIFF,9);
macd:=2*(DIFF-DEA),COLORSTICK;
{ _通达信股票指标公式}
量芝麻:EVERY(K线实体不大 OR 十字星,10) AND
COUNT(V<MA(V,5) AND V<MA(V,10) AND V<MA(V,20),10)>=7 AND HHV(H,20)-MA(C,10)/MA(C,10)*100<=15;
量芝麻起涨:COUNT(量芝麻,10) AND crOSS(DIFF,DEA) AND DIFF>-0.30 AND DEA>-0.30;