牵引:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK2,COLORRED;
辅助:=EMA(REF(牵引,1),2),LINETHICK2,COLORGREEN;
趋势:=EMA(EMA(EMA(EMA(EMA(CLOSE,60),2),2),2),2),LINETHICK2,COLORWHITE;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd1:=(DIF-DEA)*2;
LB:=DYNAINFO(17)
HS:=DYNAINFO(37) 0.000;
LTSZ:=FINANCE(40);
MA3:=MA(C,3);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
V0:=MA(C,3) REF(MA(C,3),1) AND MA(C,5) REF(MA(C,5),1) AND C MA(C,3)
AND MA(C,3) MA(C,5) ; {均线C,MA3,MA5多头排列并向上;}
乾:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK1,COLORRED;
坤:=EMA(REF(乾,1),2),LINETHICK1,COLORCYAN;
XH:(乾 坤 ANDcrOSS(C,乾) AND HHV(C,3)=C AND C/REF(C,1) =1.02 AND MA5 MA10 AND MA10 MA20 AND C 乾 AND O 坤 AND C 坤)
OR (CROSS(乾,坤)AND C/REF(C,1) =1.02 AND HHV(C,3)=C AND MA5 MA10 AND MA10 MA20 AND C 乾 AND O 坤 AND C 坤)
OR (乾 坤 AND REF(C,1) REF(L,2) AND HHV(C,3)=C AND C/REF(C,1) =1.02 AND MA5 MA10 AND MA10 MA20 AND C 乾 AND O 坤 AND C 坤)
OR (乾 坤 AND L 乾 AND C REF(H,1) AND C/REF(C,1) =1.02 AND MA5 MA10 AND MA10 MA20 AND C 乾 AND O 坤 AND C