ABC1:=REF(H,1)/MAX(REF(C,1),REF(O,1))>1.03 AND MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))< 1.02;
ABC2:=C/REF(C,1)>1.09 AND REF(V,1)>REF(V,2) AND REF(V,1)>REF(MA(V,5),1);
ABC3:=REF(O,1)< REF(H,2) AND C>O;
集合1:=ABC1 AND ABC2 AND ABC3;
ZT:=C/REF(C,1)>1.095 AND C=H;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
指路:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW);
突破:=REF(C,2)/REF(C,3)>1.05 OR ZT;
VAR1:=REF(指路,1)>0.5 AND 突破 AND C>REF(H,1);
VAR2:=COUNT(MACD< 0,2)=2;
VAR3:=REF(V,2)/REF(C,3)>2;
集合:=集合1 OR (VAR1 AND VAR2 AND VAR3);
前一日:=BACKSET(集合,2),COLORRED;
上影:=BARSLASTCOUNT(前一日)=1;
STICKLINE(上影,CLOSE,OPEN,1,0),COLORYELLOW;
DRAWICON(集合,L,9);
DRAWICON(上影,L,1);
STICKLINE(集合,CLOSE,OPEN,2,0),COLORRED;
DRAWTEXT(上影,H*0.98,' ↙指路'),COLORWHITE;
DRAWTEXT(集合,L*0.98,'★突破'),COLORMAGENTA;
MA1:MA(CLOSE,5)COLORGREEN;