程序化指标公式
问答中心

通达信乾坤八卦副图指标公式

通达信指标 2020-05-24阅读量:5346

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击 安装指南 步骤操作。

突破:REF(EMA(C,10),1)COLORMAGENTA,LINETHICK1;
A1X:=(EMA(C,10)-突破)/突破*100,NODRAW;
出击:IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)COLORRED,LINETHICK1;
休假:IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORGREEN,LINETHICK1;
STICKLINE(A1X>=0,出击,突破,0,-1)COLORRED;
STICKLINE(A1X<0,休假,突破,0,-1),COLORGREEN;
STICKLINE(CROSS(A1X,0),C,O,3,0)COLORYELLOW;
STICKLINE(CROSS(0,A1X),C,O,3,0)COLORBLUE;
CXHZB:IF(A1X<0,突破,DRAWNULL)COLORGREEN,LINETHICK1;
DP:=REF(EMA(INDEXC,14),1);
DPX:=(EMA(INDEXC,14)-DP)/DP*100;
Z:=ISLASTBAR;程序化指标制作:0,NODRAW;
主力筹码估算:=EMA(WINNER(CLOSE)*70,3),NODRAW,LINETHICK0; 
散户筹码估算:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;
散户套牢比率:=散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
主力控盘比率:=主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW; 
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.38,0.13,0,'■ 主力筹码估算:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.51,0.13,0,' %'),COLORMAGENTA;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.47,0.13,0,主力筹码估算),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.53,0.13,0,'■ 主力控盘比率:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.68,0.13,0,' %'),COLORMAGENTA;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.62,0.13,0,主力控盘比率),COLORMAGENTA;{更多指标关注微信公众号:程序化指标}
DRAWTEXT_FIX(REF(C,2)>REF(O,2)&&REF(C,1)>REF(O,1)&&C>O&&Z,0.98,0.1,1,'筑顶阶段. 阳阳阳①乾/天:阳极,防变'),COLORFF00FF;
DRAWTEXT_FIX(REF(C,2)>REF(O,2)&&REF(C,1)>REF(O,1)&&C<=O&&Z,0.98,0.1,1,'破位下跌. 阳阳阴②兑/泽:阳减,调整'),COLORFFFF00;
DRAWTEXT_FIX(REF(C,2)>REF(O,2)&&REF(C,1)<=REF(O,1)&&C>O&&Z,0.98,0.1,1,'上升启动. 阳阴阳③离/火:阳光,关注'),COLOR00FFFF;
DRAWTEXT_FIX(REF(C,2)>REF(O,2)&&REF(C,1)<=REF(O,1)&&C<=O&&Z,0.98,0.1,1,'主升段. 阳阴阴④震/雷:继阴,空仓'),COLORGREEN;
DRAWTEXT_FIX(REF(C,2)<=REF(O,2)&&REF(C,1)>REF(O,1)&&C>O&&Z,0.98,0.1,1,'快速波动. 阴阳阳⑤巽/风:继阳,持股'),COLORFF00FF;
DRAWTEXT_FIX(REF(C,2)<=REF(O,2)&&REF(C,1)>REF(O,1)&&C<=O&&Z,0.98,0.1,1,'主跌段. 阴阳阴⑥坎/水:阴风,看跌'),COLORGREEN;
DRAWTEXT_FIX(REF(C,2)<=REF(O,2)&&REF(C,1)<=REF(O,1)&&C>O&&Z,0.98,0.1,1,'中途整理. 阴阴阳⑦艮/山:阴减,反弹'),COLOR00FFFF;
DRAWTEXT_FIX(REF(C,2)<=REF(O,2)&&REF(C,1)<=REF(O,1)&&C<=O&&Z,0.98,0.1,1,'跌势极强.⑧坤/地:阴极,待转'),COLORGREEN;

版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭