CONDITION:=CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND CLOSE>REF(CLOSE,1);
强龙起爆:FILTER(CONDITION,30),COLORMAGENTA NODRAW;
STICKLINE(强龙起爆,1,60,3,0),COLORMAGENTA;
DRAWTEXT(强龙起爆,50,' 强龙起爆'),COLORMAGENTA;
XA_1:=(CLOSE-LLV(CLOSE,10))/(HHV(CLOSE,10)-LLV(CLOSE,10));
飞龙在天:crOSS(XA_1,0.05)*3 AND FILTER(CLOSE/REF(CLOSE,1)>1.048 AND C=H AND BETWEEN(FORCAST(vol,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28),COLORYELLOW NODRAW;
STICKLINE(飞龙在天,0,80,3,0),COLORRED;
DRAWTEXT(飞龙在天,70,' 飞龙在天'),COLORYELLOW;
A53:=LLV(LOW,10);
A54:=HHV(HIGH,25);
A55:=EMA((((CLOSE - A53) / (A54 - A53)) * 4),4);
DRAWTEXT((CROSS(3.6,A55)),85,' 顶部预警'),LINETHICK1,COLORGREEN;
顶部预警:IF(CROSS(3.6,A55) = 1,88,100),COLORGREEN;