「翔博精选指标」周框图,自动划箱体好帮手(通达信公式 主图 源
2022-01-05原创 编 辑:翔博软件
{周框图}
HH:=H#WEEK,NODRAW;
LL:=L#WEEK,NODRAW;
T:=BARSLAST(VOL.VOLUME#WEEK<>REF(VOL.VOLUME#WEEK,1));
T0:=BACKSET(ISLASTBAR,T+0);
YM:=CROSS(BACKSET(T=0,2),0.1);
TH:=REF(H,T);
TL:=REF(L,T);
{»-¿ò}
Y1:STICKLINE(T=0 AND T0=0,HH,LL,0,-1),COLORFFFFFF;
Y2:STICKLINE(YM ,HH,LL,0,-1),COLORFFFFFF;
X1:STICKLINE(T>0 AND YM=0 AND T0=0,HH,HH,8,-1),COLORFFFFFF;
X2:STICKLINE(T>0 AND YM=0 AND T0=0,LL,LL,8,-1),COLORFFFFFF;
IF(BACKSET(BARSTATUS=2,T+1)*2=2,CONST(HH),DRAWNULL)DOTLINE,COLORFFFFFF;
IF(BACKSET(BARSTATUS=2,T+1)*2=2,CONST(LL),DRAWNULL)DOTLINE,COLORFFFFFF;
{213äKÏß}
HH:=H#WEEK,NODRAW;
LL:=L#WEEK,NODRAW;
T:=BARSLAST(VOL.VOLUME#WEEK<>REF(VOL.VOLUME#WEEK,1));
T0:=BACKSET(ISLASTBAR,T+0);
YM:=CROSS(BACKSET(T=0,2),0.1);
TH:=REF(H,T);
TL:=REF(L,T);
{»-¿ò}
Y1:STICKLINE(T=0 AND T0=0,HH,LL,0,-1),COLORFFFFFF;
Y2:STICKLINE(YM ,HH,LL,0,-1),COLORFFFFFF;
X1:STICKLINE(T>0 AND YM=0 AND T0=0,HH,HH,8,-1),COLORFFFFFF;
X2:STICKLINE(T>0 AND YM=0 AND T0=0,LL,LL,8,-1),COLORFFFFFF;
IF(BACKSET(BARSTATUS=2,T+1)*2=2,CONST(HH),DRAWNULL)DOTLINE,COLORFFFFFF;
IF(BACKSET(BARSTATUS=2,T+1)*2=2,CONST(LL),DRAWNULL)DOTLINE,COLORFFFFFF;
{213äKÏß}
DRAWKLINE(H,O,L,C);