马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
本帖最后由 邱朝人 于 2018-6-22 21:23 编辑
量柱(标出假阴真阳,假阳真阴) {C<O AND 均价>REF(C,1);假阴真阳}; VOLUME:VOL,NODRAW; 均价:=AMOUNT/VOL/100; STICKLINE(VOL ANDCLOSE>REF(C,1),0,VOL,2,1),COLORRED; STICKLINE(VOL ANDCLOSE<REF(C,1),0,VOL,2,0),COLOR339933; STICKLINE(VOL AND CLOSE=REF(C,1) AND 均价>REF(C,1),0,VOL,2,1),COLORRED; STICKLINE(VOL AND CLOSE=REF(C,1) AND 均价<REF(C,1),0,VOL,2,0),COLOR339933; STICKLINE(VOL AND CLOSE<OPEN AND 均价>REF(C,1),0,VOL,2,0),COLORRED; STICKLINE(VOL AND CLOSE>OPEN AND 均价<REF(C,1),0,VOL,2,0),COLORGREEN; 价柱(标出涨跌停) DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);{在屏幕左上角显示所属行业板块} DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);{在屏幕左上角显示所属地域板块} DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);{在屏幕左上角显示所属概念板块} C2:=REF(C,1); 涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0); 均价线:=AMOUNT/V/100; STICKLINE (涨停, OPEN ,CLOSE,1,0),COLORBLACK; STICKLINE(涨停,OPEN,CLOSE,1,0),COLORRED; 跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0); STICKLINE(跌停,OPEN,CLOSE,1,0),COLORGREEN;
|