{短线擒妖--主图}
DXQY1:=EMA(C,2);
DXQY2:=EMA(DXQY1,2);
DXQY3:=EMA(DXQY2,2);
DXQY4:=EMA(DXQY3,2);
快:=EMA(DXQY2,3),COLORRED,LINETHICK1;
中:=EMA(DXQY3,5),COLORYELLOW,LINETHICK1;
慢:=EMA(DXQY4,7),COLORBLUE,LINETHICK1;
DRAWBAND(快,RGB(150,50,125),慢,RGB(0,105,0));
DXQY5:=(H+L+O+C*3)/6;
DXQY6:=(DXQY5-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
DXQY7:=SMA(DXQY6,2,1);
DXQY8:=SMA(DXQY7,3,1);
DXQY9:=100-DXQY7;
DXQY10:=DXQY8>=DXQY9;
DXQY11:=EMA(DXQY5,2);
DXQY12:=EMA(DXQY11,12)-EMA(DXQY11,26);
DXQY13:=EMA(DXQY12,9);
DXQY14:=(3*DXQY12-2*DXQY13);
DXQY15:=EMA(MAX(DXQY12,0),3);
DXQY16:=IF(DXQY14>0,DXQY15,DRAWNULL);
DXQY17:=IF(DXQY14>0,DXQY15*0.8,DRAWNULL);
DXQY18:=DXQY10 AND DXQY14>0;
DXQY19:=BARSLASTCOUNT(DXQY18)=1;
STICKLINE(DXQY19,O,C,3,0),COLOR00FFFF;
DRAWICON(DXQY19,L*0.989,34);