程序化指标公式
问答中心

程序化指标-猎杀涨停板指标公式

程序化指标公众号 2021-01-21阅读量:3454

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

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

CXH1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
CXH2:=IF(CLOSE>OPEN,CLOSE,OPEN);
CXH3:=IF(CLOSE>OPEN,OPEN,CLOSE);
CXH4:=LLV(CXH2,4);
CXH5:=HHV(CXH3,4);
DRAWTEXT_FIX(1,0.62,0,0,'☆微信公众号:(程序化指标) ☆'),COLORRED;
CXH6:=CXH2>=CXH4 AND CXH3<=CXH4 AND CXH2>=CXH5 AND CXH3<=CXH5;
CXH7:=REF(CXH2,1)>=CXH4 AND REF(CXH3,1)<=CXH4 AND REF(CXH2,1)>=CXH5 AND REF(CXH3,1)<=CXH5;
CXH8:=REF(CXH2,2)>=CXH4 AND REF(CXH3,2)<=CXH4 AND REF(CXH2,2)>=CXH5 AND REF(CXH3,2)<=CXH5;
CXH9:=REF(CXH2,3)>=CXH4 AND REF(CXH3,3)<=CXH4 AND REF(CXH2,3)>=CXH5 AND REF(CXH3,3)<=CXH5;
CXH10:=CXH6 AND CXH7 AND CXH8 AND CXH9;
CXH11:=REF(CXH5,BARSLAST(CXH10));
CXH12:=(REF(OPEN,5)+REF(CLOSE,5))/2;
CXH13:=(HIGH+LOW+CLOSE+OPEN)/4;
CXH14:=MAX(CXH12,MAX(CXH13,HHV(HIGH,5)));
CXH15:=MIN(CXH12,MIN(CXH13,LLV(LOW,5)));
DRAWKLINE(CXH14,CXH12,CXH15,CXH13);
CXH16:=CXH14=CXH12;
CXH17:=CXH16;
CXH18:=REF(CXH14,BARSLAST(CXH17));
CXH19:=EMA(CLOSE,5)-EMA(CLOSE,55);
CXH20:=EMA(CXH19,10);
CXH21:=CXH19-CXH20;
CXH22:=CLOSE>CXH18 AND CXH21>0;
STICKLINE(CXH22,CXH14,CXH15,3.2,1),COLORMAGENTA;
STICKLINE(CXH22,CXH12,CXH13,3.2,0),COLORMAGENTA;
STICKLINE(CXH22,CXH12,CXH13,3,0),COLORMAGENTA;
STICKLINE(CXH22,CXH12,CXH13,1.9,0),COLORMAGENTA;
STICKLINE(CXH22,CXH12,CXH13,1.1,0),COLORMAGENTA;
STICKLINE(CXH22,CXH12,CXH13,0.3,1),COLORMAGENTA;
STICKLINE(CXH22<1,CXH14,CXH15,3.2,1),COLORLIBLUE;
STICKLINE(CXH22<1,CXH12,CXH13,3.2,0),COLORLIBLUE;
STICKLINE(CXH22<1,CXH12,CXH13,2,0),COLORLIBLUE;
STICKLINE(CXH22<1,CXH12,CXH13,1,1),COLORLIBLUE;
CXH23:=CXH15=REF(CXH15,1) AND CXH14<REF(CXH14,1) AND CXH16;
CXH24:=CXH15=REF(CXH15,1) AND CXH15=REF(CXH15,2) AND CXH15=REF(CXH15,3) AND CXH15=REF(CXH15,4);
STICKLINE(CXH24,CXH14,CXH15,3.2,1),COLORGREEN;
STICKLINE(CXH24,CXH12,CXH15,2.6,0),COLORGREEN;
STICKLINE(CXH24,CXH12,CXH13,2.6,0),COLORGREEN;
STICKLINE(CXH24,CXH12,CXH15,0.5,1),COLORGREEN;
CXH25:=CXH1>=9.84 AND REF(CXH1<9.84,1) AND REF(CXH1<9.84,2);
STICKLINE(CXH1>=9.84,CXH12*1.05,CXH13*0.95,3.4,0),COLOR00AAFF;
STICKLINE(CXH1>=9.84,CXH12*1.05,CXH13*0.95,2,0),COLOR00CCFF;
STICKLINE(CXH1>=9.84,CXH12*1.05,CXH13*0.95,0.5,0),COLORYELLOW;
STICKLINE(CXH25,CXH12*1.05,CXH13*0.95,0.5,0),COLORRED;
STICKLINE(CLOSE,CXH18-CXH18*0.0035,CXH18,3,0),COLORGREEN,LINETHICK3;
CXH26:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
CXH27:=CXH26>9.85匒ND NOT(OPEN=CLOSE) AND CXH1>4;
CXH28:=CXH26>9.85 AND NOT(OPEN=CLOSE) AND CXH1>4 AND CXH1<9.3;
CXH29:=REF(HIGH,BARSLAST(CXH28));
CXH30:=REF(LOW,BARSLAST(CXH28));
STICKLINE(HIGH,CXH29-CXH29*0.003,CXH29,3,0),COLORWHITE;
CXH31:=MA(OPEN,20);
CXH32:=OPEN>MA(OPEN,5);
CXH33:=MA(OPEN,5)>MA(OPEN,10);
CXH34:=OPEN>MA(OPEN,10);
CXH35:=MA(OPEN,5)>MA(OPEN,20);
CXH36:=OPEN>MA(OPEN,20);
CXH37:=REF(CXH31,1);
CXH38:=CXH31>CXH37;
CXH39:=IF(CXH32,10,0-10)+IF(CXH33,10,0-10)+IF(CXH34,10,0-10)+IF(CXH35,10,0-10)+IF(CXH36,10,0-10)+IF(CXH38,10,0-10);
CXH40:=MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,60)>REF(MA(CLOSE,60),1);
CXH41:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60);
CXH42:=LOW<MA(CLOSE,5) AND LOW<MA(CLOSE,10) AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10);
CXH43:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
CXH44:=CXH43>9.85 AND CXH24;
CXH45:=CXH26>9.85 AND NOT(OPEN=CLOSE) AND CXH1>4 AND CXH1<9.3;
CXH46:=(CLOSE-REF(CLOSE,BARSLAST(CXH45)))/REF(CLOSE,BARSLAST(CXH45))*100;
B:REF(CXH5,BARSLAST(CXH10)),NODRAW;
A:REF(HIGH,BARSLAST(CXH28)),NODRAW;
S:REF(CXH14,BARSLAST(CXH17)),NODRAW;
涨停力度S:CXH15/S,NODRAW;
涨停力度A:CXH15/A,NODRAW;
涨停力度B:CXH15/B,NODRAW;
BS:ABS(S-B)/B,NODRAW;
AB:ABS(A-B)/B,NODRAW;
AS:ABS(A-S)/S,NODRAW;
CXH47:=B=REF(B,1);
CXH48:=BARSLAST(NOT(CXH47));
STICKLINE(CXH5,CXH11-CXH11*0.003,CXH11,3,0),COLORYELLOW,LINETHICK3;
DRAWNUMBER(CXH47>0,B*0.99,CXH48),COLORYELLOW;
DRAWICON(CXH39>40 AND CXH22 AND EXIST(CXH10,12),CXH11*0.9,89);
CXH49:=EMA(EMA(EMA(CXH14,5),5),5);

版权声明

所有指标均为免费分享。

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

分享:

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

程序化指标公众号

左边广告一

关闭

右边广告二

关闭