源码
{N=12,M=6,X=9}
GG:=C>MA(C,60) AND MA(C,60)>REF(MA(C,60),1);
FF:=C>MA(C,30) AND MA(C,10)>MA(C,20);
RR:=(HIGH+LOW+CLOSE)/3;
CJJJ:=AMOUNT/V,LINETHICK2;
VROC:=(CJJJ-REF(CJJJ,12))/REF(CJJJ,12)*100,LINETHICK2;
UU:=17;
YY:=CROSS(VROC, UU);
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(RR-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(RR-MIN(CLOSE,OPEN))));
DY:=CURRBARSCOUNT=1 AND C<REF(C,1);
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-RR),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-RR)));
TT:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
V2:=SMA(IF(C>=REF(C,2),TT,-TT/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
F10:=SMA(V5,5,1);
G20:=SMA(F10,5,1);
DY2:=REF(V2,1)-DY;
冲锋:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 ;
冲锋号:IF(YY AND FF AND GG AND 冲锋,1,0);