EMA13:=EMA(C,13);
EMA34:=EMA(C,34);
EMA55:=EMA(C,55);
EMA120:=EMA(C,120);
ACB1:=(C-REF(C,1))/REF(C,1)*100>0.5;
ACB2:=V>MA(V,5)*0.6;
ACB3:=COUNT(CROSS(EMA13,EMA55),3)=1;
ACB4:=ABS(EMA34-EMA55)/EMA55< 0.03;
ACB5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);
峰火:=FILTER(ACB1 AND ACB2 AND ACB3 AND ACB4 AND ACB5,5);
起爆666:FILTER(峰火>=1,5);
起爆:=DATE=DATE;
STICKLINE(起爆666,0,100,9999,0)*起爆,COLOR000000;
STICKLINE(起爆666,50,100,2,0)*起爆,COLOR0000FF;
STICKLINE(起爆666,60,100,4,0)*起爆,COLOR0000FF;
STICKLINE(起爆666,70,100,6,0)*起爆,COLOR0000FF;
STICKLINE(起爆666,80,100,7,0)*起爆,COLOR0000FF;
STICKLINE(起爆666,90,100,8,0)*起爆,COLOR0000FF;
STICKLINE(起爆666,70,100,1,0)*起爆,COLOR00FFFF;
STICKLINE(起爆666,80,100,2,0)*起爆,COLOR00FFFF;
STICKLINE(起爆666,90,100,3,0)*起爆,COLOR00FFFF;
STICKLINE(起爆666,35,45,9,0)*起爆,COLOR00FFFF;
DRAWTEXT(起爆666,起爆666*50,' ←启爆火焰'),COLOR0000FF;
ABC0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
ABC3:=SMA(ABC0,3,1);
ABC1:=SMA(ABC3,4,1)-10,NODRAW;
ABC4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
ABC5:=SMA(ABC4,3,1);
ABC2:=SMA(ABC5,4,1)-90;
STICKLINE(REF(ABC1,1)< ABC1,ABC1,REF(ABC1,1),3,0),COLOR0000FF;
STICKLINE(REF(ABC1,1)>ABC1,ABC1,REF(ABC1,1),3,0),COLOR00FF00;
STICKLINE(FILTER(起爆666>=1,5),45,0,4,0),COLORRED;
DRAWTEXT(FILTER(起爆666=1,5),36,'起爆点'),COLORRED;
STICKLINE(起爆666,40,25,1,0),COLORYELLOW;
STICKLINE(起爆666,25,10,2,0),COLOR00FF00;
STICKLINE(起爆666,10,0,3,0),COLORBLUE;
STICKLINE(起爆666,25,15,5,0),COLORRED;
STICKLINE(起爆666,15,6,4,0),COLORLIGREEN;
STICKLINE(起爆666,6,0,6,0),COLORGREEN;
STICKLINE(起爆666,30,10,4,1),COLORMAGENTA;
STICKLINE(起爆666,6,2,2.5,1),COLORYELLOW;
STICKLINE(起爆666,2,36,3.5,1),COLORYELLOW;
STICKLINE(起爆666,10,20,3,1),COLORMAGENTA;
DRAWICON(起爆666,21,32);
DRAWICON(起爆666,25,26);
DRAWICON(起爆666,30,28);
DRAWICON(起爆666,18,28);
DRAWICON(起爆666,15,28);
DRAWICON(起爆666,20,10);
DRAWICON(起爆666,10,28);
DRAWICON(起爆666,6.6,29);
DRAWTEXT(起爆666,26,'【启动点】'),COLORMAGENTA;
STICKLINE(IF(起爆666,-10,0),+38,3,2.2,0),COLOR990099;
STICKLINE(IF(起爆666,-120,0),+39,0,2.6,0),COLORBB00BB;
STICKLINE(IF(起爆666,-120,0),+39,0,2.1,0),COLORDD00DD;
STICKLINE(IF(起爆666,-120,0),+36,0,3.0,0),COLOR003300;
STICKLINE(IF(起爆666,-120,0),+36,0,2.4,0),COLOR005500;
STICKLINE(IF(起爆666,-120,0),+33,0,3.0,0),COLOR005555;
STICKLINE(IF(起爆666,-120,0),+33,0,3.4,0),COLOR007777;
STICKLINE(IF(起爆666,-120,0),+33,0,1.8,0),COLOR009999;
STICKLINE(IF(起爆666,-120,0),+33,0,1.2,0),COLOR00BBBB;
STICKLINE(IF(起爆666,-120,0),+33,0,0.6,0),COLOR00DDDD;
STICKLINE(起爆666,2,20,3.5,1),COLORYELLOW;