M5:MA(CLOSE,5);
生命线:MA(CLOSE,25),coloryellow,LINETHICK2;
钻石线:MA(CLOSE,99);
黑马线:MA(CLOSE,200);
主力线:EXPMA(CLOSE,453),colorcyan,LINETHICK2;
LAST3K:=CURRBARSCOUNT
AMV0:=VOL*(O+C)/2;
上涨:=REF(CLOSE,3) REF(CLOSE,4);
未跌破:=REF(CLOSE,2) REF(LOW,3) AND REF(CLOSE,1) REF(LOW,3) AND CLOSE REF(LOW,3);
缩量:=REF(VOL,3) 0.35*(REF(VOL,1)+REF(VOL,2)+VOL) AND REF(VOL,3) REF(VOL,2);
逐级缩量:=REF(VOL,3) =REF(VOL,2) AND REF(VOL,2) =REF(VOL,1) AND REF(VOL,1) =VOL;
逐级价升:=REF(CLOSE,3) REF(CLOSE,2) AND REF(CLOSE,2) =REF(CLOSE,1) AND REF(CLOSE,1) =CLOSE;
倍量柱1:=(REF(VOL,3) =REF(VOL,4)*1.91),NODRAW;
倍量柱:=VOL REF(VOL,1)*1.91,NODRAW,colorwhite;
高量柱1:=REF(VOL,3) REF(HHV(VOL,3),4) AND REF(VOL,3) HHV(VOL,3),NODRAW,colorwhite;
TEMP1:=BACKSET(高量柱1,4);
高量柱:=FILTER(TEMP1,3),NODRAW,colorwhite;
将军柱1:=上涨 AND 未跌破 AND (倍量柱1 OR 高量柱1),NODRAW,coloryellow;
黄金柱1:=将军柱1 AND 缩量,NODRAW,coloryellow;
标准黄金柱1:=黄金柱1 AND 逐级缩量 AND 逐级价升,NODRAW,colorred;
将军柱2:=将军柱1 AND 黄金柱1=0 AND BARSLAST(REF(将军柱1,1))
黄金柱2:=黄金柱1 AND 标准黄金柱1=0 AND BARSLAST(REF(将军柱1,1))
将军柱3:=BACKSET(将军柱2,4);
将军柱:=FILTER(将军柱3,3),NODRAW,colorwhite;
黄金柱3:=BACKSET(黄金柱2,4);
黄金量:=FILTER(黄金柱3,3),NODRAW,coloryellow;
标准黄金柱2:=BACKSET(标准黄金柱1,4);
标金量:=FILTER(标准黄金柱2,3),,NODRAW,colorred;
DRAWICON(LAST3K AND 标金量,HIGH*1.01,11),colorred;
DRAWICON(LAST3K AND 将军柱,L*0.99,5),colorred;
压:IF(黄金量,REF(H,BARSLAST(黄金量)),REF(H,BARSLAST(黄金量))),colorcyan ,POINTDOT;
STICKLINE(LAST3K AND 黄金量,O,C,3,0),coloryellow;
STICKLINE(LAST3K AND 标金量,O,C,4,0),coloryellow;
STICKLINE(LAST3K AND 将军柱,O,C,0.5,0),coloryellow;
多空线:SUM(AMV0,88)/SUM(VOL,88),colormagenta,LINETHICK2;