程序化指标公式
问答中心

通达信反弹底副图指标公式

通达信指标 2020-05-22阅读量:2916

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

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

CXH1:=REF(CLOSE,1);
CXH2:=SMA(MAX(CLOSE - CXH1,0),7,1) / SMA(ABS(CLOSE - CXH1),7,1) * 100;
反弹底:FILTER(REF(CXH2,1) < 20 AND CXH2 > REF(CXH2,1),5),NODRAW;
STICKLINE(反弹底 > 0,2,反弹底,3,0),COLOR000099;
STICKLINE(反弹底 > 0,2,反弹底,2,0),COLOR0000BB;
STICKLINE(反弹底 > 0,2,反弹底,1,0),COLOR0000DD;
STICKLINE(反弹底 > 0,2,反弹底,0.2,0),COLORRED;
DRAWICON(反弹底,0.5,18);
DRAWICON(反弹底,0.8,1);{需要编写选股关注微信公众号:程序化指标}
CXH10:=(CLOSE - LLV(LOW,14)) / (HHV(HIGH,14) - LLV(LOW,14)) * 100;
CXH11:=INTPART(SMA(CXH10,3,1));
CXH12:=INTPART(SMA(CXH11,3,1));
CXH13:=CXH11 + CXH12;
CXH14:=MA(CXH13,2);
CXH15:=COUNT("MACD.MACD" < 0,15) >= 13;
CXH16:=(CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9)) * 100;
CXH17:=SMA(CXH16,3,1);
CXH18:=SMA(CXH17,3,1);
CXH19:=3 * CXH17 - 2 * CXH18;
见底:IF(CXH15 AND CROSS(CXH13,CXH14) AND CXH13 < 50,1.5,0),NODRAW,COLOR008080;
DRAWTEXT(见底 > 0,1,16307),COLORFF8080;
DRAWTEXT(见底 > 0,0.6,16307),COLORFF8080;
DRAWTEXT(见底 > 0,0.3,16307),COLORRED;
拉升也许涨停:IF(CROSS(CXH13,80) AND CXH19 >= REF(CXH19,1),1,0),NODRAW,COLORRED;
DRAWICON(拉升也许涨停,1,25);
DRAWICON(拉升也许涨停,0.6,25);
DRAWICON(拉升也许涨停,0.3,25);
CXH28:=EMA(CLOSE,12) - EMA(CLOSE,26);
CXH29:=EMA(CXH28,9);
CXH30:=(CXH28 - CXH29) * 2;
CXH31:=BARSLAST(CXH28 < 0);
MACD零轴上金叉:SUM(CROSS(CXH30,0),CXH31) = 1 AND CXH31 > 0 AND CROSS(CXH30,0),NODRAW;
STICKLINE(MACD零轴上金叉,1.5,0,3,0),COLOR555555;
STICKLINE(MACD零轴上金叉,1.5,0,2,0),COLOR777777;
STICKLINE(MACD零轴上金叉,1.5,0,1,0),COLOR999999;
STICKLINE(MACD零轴上金叉,1.5,0,0,0),COLOR999999;
DRAWICON(MACD零轴上金叉,1.4,29);
DRAWICON(MACD零轴上金叉,0.9,29);
CXH45:=REF(CLOSE,1);
CXH46:=SMA(MAX(CLOSE - CXH45,0),14,1) / SMA(ABS(CLOSE - CXH45),14,1) * 100;
CXH47:=SMA(MAX(CLOSE - CXH45,0),60,1) / SMA(ABS(CLOSE - CXH45),60,1) * 100;
CXH48:=50;
CXH49:=(CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9)) * 100;
CXH50:=SMA(CXH49,3,1);
CXH51:=SMA(CXH50,3,1);
CXH52:=3 * CXH50 - 2 * CXH51;
CXH53:=EMA(CLOSE,8) - EMA(CLOSE,13);
CXH54:=EMA(CXH53,3);程序化指标制作:0,NODRAW;
组合:((CXH46 > CXH48 AND CXH47 > CXH48 AND BARSLAST(CROSS("BB.BB",CXH53)) <= 21 AND CROSS(CXH53,"BB.BB")) OR CXH46 > CXH48) AND CXH47 > CXH48 AND CROSS(CXH50,CXH51) AND CXH52 >= REF(CXH52,1),NODRAW;
DRAWICON(组合,0.5,22);
CXH58:=(CLOSE > OPEN OR CLOSE > REF(CLOSE,1)) AND VOL > REF(VOL,1);
CXH59:=COUNT(CXH58,3) = 3;
CXH60:=LLV(LOW,5) = LLV(LOW,120);
CXH61:=CLOSE > MA(CLOSE,3);
CXH62:=CXH59 AND CXH60 AND CXH61;
CXH63:=LLV(LOW,10);
CXH64:=HHV(HIGH,25);
短线卖出:3.2,COLOR80FF80;
高位卖出:3.5,LINETHICK2,COLORRED;
价位线:EMA((CLOSE - CXH63) / (CXH64 - CXH63) * 4,4),COLOR008080;
STICKLINE(价位线 >= 3.2,3.2,价位线 * 0.98,5,0),COLOR0000BB;
STICKLINE(价位线 < 0.3,0.3,价位线 - 0.05,5,0),COLORWHITE;

版权声明

所有指标均为免费分享。

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

分享:

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

程序化指标公众号

左边广告一

关闭

右边广告二

关闭