通达信八仙互动共振副图指标 共振原理 上涨概率更加高 源码


HGW1:=EMA(CLOSE,12/4)-EMA(CLOSE,26/4);
HGW2:=EMA(HGW1,9/4);
STICKLINE(HGW1>=HGW2,42,46,5,0),COLORWHITE;
STICKLINE(HGW1<HGW2,42,46,5,1),COLOR696969;
HGW3:=EMA(CLOSE,6)-EMA(CLOSE,80);
HGW4:=EMA(HGW3,40);
STICKLINE(HGW3>=HGW4,36,40,5,0),COLORCYAN;
STICKLINE(HGW3<HGW4,36,40,5,1),COLOR696969;
HGW5:=MACD.DIF#WEEK;
HGW6:=MACD.DEA#WEEK;
STICKLINE(HGW5>=HGW6,30,34,5,0),COLORGREEN;
STICKLINE(HGW5<HGW6,30,34,5,1),COLOR696969;
HGW7:=MACD.DIF#MONTH;
HGW8:=MACD.DEA#MONTH;
STICKLINE(HGW7>=HGW8,24,28,5,0),COLORBLUE;
STICKLINE(HGW7<HGW8,24,28,5,1),COLOR696969;
HGW9:=(CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72));
HGW10:=SMA(HGW9,3,1);
HGW11:=SMA(HGW10,3,1);
STICKLINE(HGW10>=HGW11,18,22,5,0),COLORYELLOW;
STICKLINE(HGW10<HGW11,18,22,5,1),COLOR696969;
HGW12:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89));
HGW13:=SMA(HGW12,3,1);
HGW14:=SMA(HGW13,3,1);
HGW15:=3*HGW13-2*HGW14;
STICKLINE(HGW13>=HGW14,12,16,5,0),COLORRED;
STICKLINE(HGW13<HGW14,12,16,5,1),COLOR696969;
HGW16:=KDJ.K#WEEK;
HGW17:=KDJ.D#WEEK;
STICKLINE(HGW16>=HGW17,6,10,5,0),COLORMAGENTA;
STICKLINE(HGW16<HGW17,6,10,5,1),COLOR696969;
HGW18:=KDJ.K#MONTH;
HGW19:=KDJ.D#MONTH;
STICKLINE(HGW18>=HGW19,0,4,5,0),COLOR880088;
STICKLINE(HGW18<HGW19,0,4,5,1),COLOR696969;
HGW20:=REF(HIGH,1)=HHV(HIGH,10);
HGW21:=CROSS(HGW20,0.9);
HGW22:=REF(LOW,1)=LLV(LOW,10);
HGW23:=CROSS(HGW22,0.9);
HGW24:=REF(HIGH,BARSLAST(HGW21));
HGW25:=REF(LOW,BARSLAST(HGW23));
HGW26:=(CLOSE+HIGH+LOW)/3;
HGW27:=EMA(HGW26,10);
HGW28:=REF(HGW27,1);
HGW29:=MA(CLOSE,5);
HGW30:=MA(CLOSE,10);
HGW31:=MA(CLOSE,20);
HGW32:=MA(CLOSE,60);
HGW33:=MA(CLOSE,120);
HGW34:=MA(CLOSE,250);
HGW35:=EMA(CLOSE,500);
HGW36:=HGW1>=HGW2 AND HGW3>=HGW4 AND HGW5>=HGW6 AND HGW7>=HGW8 AND HGW10>=HGW11 AND HGW13>=HGW14 AND HGW16>=HGW17 AND HGW18>=HGW19 AND CLOSE>REF(CLOSE,1)*1.05;
STICKLINE(FILTER(CLOSE>=OPEN AND HGW36 AND CLOSE>HGW27 AND CLOSE>HGW24 AND OPEN/HGW32<1.2 AND OPEN/HGW33<2.2 AND CLOSE>REF(CLOSE,1)*1.05,10),0,46,2,0),COLORRED;
HGW37:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);
HGW38:=HIGH-REF(HIGH,1);
HGW39:=REF(LOW,1)-LOW;
HGW40:=SUM(IF(HGW38>0 AND HGW38>HGW39,HGW38,0),20);
HGW41:=SUM(IF(HGW39>0 AND HGW39>HGW38,HGW39,0),20);
HGW42:=LLV(LOW,240);
HGW43:=HHV(HIGH,240);
20;
HGW44:=HGW40/HGW37/2*100;
DH:(CLOSE-HGW42)/HGW42*100,COLORYELLOW,LINETHICK2;
HGW45:=HGW41/HGW37/2*100;
HGW46:=(HGW43-CLOSE)/CLOSE*100;
HGW47:=(-(0.05-WINNER(CLOSE/1.12)))*300;
ZQ:IF(DH>15 AND DH>HGW45 AND DH>HGW46,DH,DRAWNULL),COLORYELLOW,LINETHICK2;
QS:IF(DH>30 AND DH>HGW45 AND DH>HGW46,DH,DRAWNULL),COLORRED,LINETHICK2;
CQ:IF(HGW47>DH,DH,DRAWNULL),COLORBLUE,LINETHICK2;
DRAWICON(FILTER(HGW47>DH AND HGW36 AND CLOSE>HGW27 AND CLOSE>HGW24 AND OPEN/HGW32<1.2 AND OPEN/HGW33<2.2 AND CLOSE>REF(CLOSE,1)*1.05,10),60,44);
STICKLINE(FILTER(HGW47>DH AND HGW36 AND CLOSE>HGW27 AND CLOSE>HGW24 AND OPEN/HGW32<1.2 AND OPEN/HGW33<2.2 AND CLOSE>REF(CLOSE,1)*1.05,10),0,46,2,0),COLORMAGENTA;



未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:#MONTH
该公式包含未来函数:#WEEK
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图