黄金分割分时提示主图指标 通达信公式(附图)

[复制链接]
查看194 | 回复0 | 2021-8-20 18:19:22 | 显示全部楼层 |阅读模式

HH:=CONST(HHV(C,0));
LL:=CONST(LLV(C,0));
HL:=HH-LL;
顶:HH,COLOR545454,LINETHICK1,DOTLINE;
DRAWICON(C=HH,HH,35);
A809:0.809*HL+LL,COLOR545454,DOTLINE;
A618:0.618*HL+LL,COLOR545454,DOTLINE;
A500:0.500*HL+LL,COLOR545454,DOTLINE;
A382:0.382*HL+LL,COLOR545454,DOTLINE;
A191:0.191*HL+LL,COLOR545454,DOTLINE;
底:LL,COLOR545454,LINETHICK1,DOTLINE;
DRAWICON(C=LL,LL,34);
DRAWTEXT(CURRBARSCOUNT=240,HH,'顶'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=240,A809,'809'),COLOR545454;
DRAWTEXT(CURRBARSCOUNT=240,A618,'618'),COLOR545454;
DRAWTEXT(CURRBARSCOUNT=240,A500,'500'),COLOR545454;
DRAWTEXT(CURRBARSCOUNT=240,A382,'382'),COLOR545454;
DRAWTEXT(CURRBARSCOUNT=240,A191,'191'),COLOR545454;
DRAWTEXT(CURRBARSCOUNT=240,LL,'底'),COLORYELLOW;
MD:=EMA(C,0)-EMA(C,5);
STICKLINE(MD>0,DYNAINFO(3),DYNAINFO(3)+MD*1.5,0,1),COLOR545454;
STICKLINE(MD<=0,DYNAINFO(3),DYNAINFO(3)+MD*1.5,0,1),COLOR545454;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;

14P05M422F-55X7.jpg

14P05M422F-55X7.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则