{黄金线}
VBLZ:=VOL>=REF(V,1)*1.9;{倍量}
{金黄色}
STICKLINE(VBLZ,H,L,0,0),COLORYELLOW;
STICKLINE(VBLZ,O,C,3.1,0),COLOR0033FF;
STICKLINE(VBLZ,O,C,2.1,0),COLOR0077FF;
STICKLINE(VBLZ,O,C,1.1,0),COLOR00BBFF;
STICKLINE(VBLZ,O,C,0.1,0),COLOR00FFFF;
BLZQD:=VBLZ AND REFX(C,3)>C AND REFX(V,3)<V AND C>O AND REFX(MIN(C,O),1)>L AND REFX(MIN(C,O),2)>L AND REFX(MIN(C,O),3)>L;
BLZDAY:=IF(BARSLAST(BLZQD)=0,REF(BARSLAST(BLZQD),1)+1,BARSLAST(BLZQD));
黄金线RAWLINE(BLZQD,REF(C,BARSLAST(BLZQD)),REF(BLZQD,3),REF(C,BLZDAY),1),COLORRED;
黄金顶RAWLINE(BLZQD,REF(H,BARSLAST(BLZQD)),REF(BLZQD,3),REF(H,BLZDAY),0),COLORGREEN;
DRAWICON(ABS(L-黄金线)<=0.01,黄金线*0.99,1); |