VAR1:=EMA(CLOSE,9);
VAR2:=(CLOSE+OPEN)/2;
VAR3:=EMA(VAR1*1.14,15);
VAR4:=(EMA(VAR2,3)+EMA(VAR2,6)+EMA(VAR2,12)+EMA(VAR2,24))/4;
VAR5:=19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5);
VAR6:=14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10);
VAR7:=9*REF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15);
VAR8:=(20*H+VAR5+VAR6+VAR7+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+REF(H,20))/210;
猛牛线:EMA(VAR8,90),COLORFF00FF,LINETHICK2;
奋起:猛牛线-((C-猛牛线)*C-猛牛线)/猛牛线,LINETHICK2,COLOR0000FF;
VAR18:=CROSS(猛牛线,奋起);
VAR16:=6*HHV(猛牛线,3)-5*猛牛线;
DRAWICON(猛牛线 AND VAR18 AND NOT(C<=VAR3),LOW,9);
加速:IF(VAR4>=VAR16,猛牛线,DRAWNULL),LINETHICK3,COLORRED;
刹车:IF(C<=VAR3,猛牛线,DRAWNULL),LINETHICK3,COLOR00FF00;