顶底主图
MA30:MA(CLOSE,30)COLORFF0099;
MA60:MA(CLOSE,60);
M:=120;
A1:=REF(C,M)=HHV(C,M*2);
B1:=FILTER(A1,M);
C1:=BACKSET(B1,M+1);
HD:=FILTER(C1,M);
A2:=REF(C,M)=LLV(C,M*2);
B2:=FILTER(A2,M)COLORRED;
C2:=BACKSET(B2,M+1);
LD:=FILTER(C2,M);
AZ1:=REF(H,BARSLAST(HD));
B:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD);
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
箱顶:IF(T1,AZ1,AZ1),POINTDOT,COLORFFC0CB,LINETHICK5,NODRAW;
箱底:IF(T2,B,B),POINTDOT,COLORGREEN,LINETHICK5,NODRAW;
STICKLINE(C,箱顶,箱顶,6,0),COLORRED;
STICKLINE(C,箱底,箱底,6,0),COLORFFC0CB;
赞 (0)