A0:=((L+H+C*2)/4);
中:=EMA(A0,14)*1.0618,COLORWHITE,LINETHICK2;
下:=EMA(A0,14),COLORRED,LINETHICK2;
多空:=EMA((EMA(CLOSE,29)+EMA(CLOSE,31)+EMA(CLOSE,33))/3,3),COLORYELLOW,LINETHICK3;
AA:=EMA((2*C+H+L)/4,3);
A1:=SLOPE(AA*5-REF(AA,5),5)+C;
DIF:=EMA(A1,3) - EMA(A1,13);
DEA:=EMA(DIF,3);
动能线:=IF(C>中 AND C>下 AND C>多空 AND (DIF-DEA)>0,(DIF-DEA),0),COLORYELLOW;
龙:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(vol,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
龙头阻击:(动能线>0 AND FILTER(龙,19));