黄金坑二主图公式

  • A+
所属分类:通达信公式

指标代码及说明:

上:调用指标A.黄金收盘价,DOTLINE,COLORFF00FF; 下:调用指标A.黄金开盘价,DOTLINE,COLOR80FF80; DRAWICON(调用指标A.ZH,L,38); 调用指标A.FFF,DOTLINE; 调用指标A.中,COLORWHITE;

涨停:=IF(C/REF(C,1)>1.095 ,1,0); HH:=COUNT(涨停,13)>=1; HD:=COUNT(涨停,21)>=1; STICKLINE(涨停,OPEN,CLOSE,3.3,0),COLORRED; STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW; STICKLINE(涨停,H,L,0,0),COLORYELLOW; STICKLINE(涨停,H,L,0.5,0),COLORRED; STICKLINE(涨停,O,C,5,0),LINETHICK2,COLOR000055; STICKLINE(涨停,O,C,4,0),LINETHICK2,COLOR000077; STICKLINE(涨停,O,C,3,0),LINETHICK2,COLOR000099; STICKLINE(涨停,O,C,2.5,0),LINETHICK2,COLOR0000BB; STICKLINE(涨停,O,C,1.5,0),LINETHICK2,COLOR0000DD; STICKLINE(涨停,O,C,0.5,0),LINETHICK2,COLOR0000FF;

DRAWTEXT_FIX(ISLASTBAR,0,0,0,DYBLOCK),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0,0.04,0,HYBLOCK),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0,1,0,GNBLOCK),COLORYELLOW; ; 调用指标A.黄金坑标,COLORYELLOW; DRAWTEXT(调用指标A.黄金坑=1,LOW,' ←黄金坑')COLORRED;

指标下载地址:

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: