跳空缺口指标
{跳空缺口}
{M5:ma(c,5),ColorFFFFFF;
M10:ma(c,10),Color00FFFF;
M20:ma(c,18),ColorFF00FF;
M30:ma(c,30),Color00FF00;
M60:ma(c,60),Color0000FF;
M120:ma(c,120),ColorFFFF00;
M240:ma(c,240),ColorFF8080;}
STICKLINE(C>O and l>ref(h,1),CLOSE,OPEN,7,1),ColorFF00FF;
STICKLINE(C<O and l>ref(h,1),CLOSE,OPEN,7,0),Color00FF00;
STICKLINE(C>O and h<ref(l,1),CLOSE,OPEN,7,1),ColorFF00FF;
STICKLINE(C<O and h<ref(l,1),CLOSE,OPEN,7,0),Color00FF00;
Vara01:=BARSLAST(l>ref(h,1));
Vara02:=BARSLAST(H<ref(L,1));
STICKLINE(Vara01>0,ref(l,Vara01),ref(l,Vara01),5,0),ColorFF00FF;
STICKLINE(Vara01>0,ref(h,Vara01+1),ref(h,Vara01+1),5,0),ColorFF00FF;
STICKLINE(Vara02>0,ref(H,Vara02),ref(H,Vara02),5,0),Color00FF00;
STICKLINE(Vara02>0,ref(L,Vara02+1),ref(l,Vara02+1),5,0),Color00FF00;
红线之间表示向上跳空缺口,绿线之间表示向下跳空缺口。可以叠加在任何大智慧主图指标上。