{参数:N1:3/7/6; N2:6/15/12}
N1:=6;N2:=12;
Q1:=(CLOSE*vol)/SUM(VOL,100);
A1:=MA(Q1,N1);
ZM1:=SMA(A1,N1,1);
ZM2:=SMA(A1,N2,1);
ZMF:(ZM1-ZM2)*10000,COLORSTICK,LINETHICK2;
FM:SMA(ZMF,3,1);
T1:=IF(C>MA(CLOSE,13),1,0);
T2:=IF(C
T4:=COUNT(IF(ZMF<0,1,0),5)>=5;
T5:=FILTER(T1 AND T4,20);
T6:=FILTER(T2 AND T3,20);
DRAWTEXT(T5,ZMF-3,'洗盘谷'),COLORGREEN;
DRAWTEXT(T6,ZMF+3,'建仓峰'),COLORYELLOW;