A1:EMA(C,6),COLOR0080FF,LINETHICK1;
A2:EMA(C,14),COLORGREEN,LINETHICK1;
A3:EMA(C,26),COLORBROWN,LINETHICK1;
A4:EMA(C,36),COLORRED,LINETHICK1;
A5:EMA(C,55),COLORMAGENTA,LINETHICK1;
{上下缺口提示线}
KOH:=LOW>REF(HIGH,1);
KOL:=HIGH
HIF:=LOW>REF(HIGH,BARSLAST(KOH)+1);
NHIF:=LOW<=REF(HIGH,BARSLAST(KOH)+1);
LIF:=HIGH
NLIF:=HIGH>=REF(LOW,BARSLAST(KOL)+1);
上缺口:DRAWTEXT(HIF AND BARSLAST(KOH)