通达信主力克星副图 横扫股市传家宝 用法详解 源码

HGW1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
HGW2:=SMA(HGW1,3,1);
HGW3:=SMA(HGW2,3,1);
HGW4:=3*HGW2-2*HGW3;
HGW5:=(EMA(CLOSE,12)-EMA(CLOSE,26));
HGW6:=EMA(HGW5,9);
HGW7:=2*(HGW5-HGW6);
HGW8:=IF(HGW7<0,HGW7,0);
HGW9:=HGW8>REF(HGW8,1);
HGW10:=REF(HGW9,1)=1;
HGW11:=(HGW9 AND HGW10)*HGW6;
HGW12:=HHV(MAX(HGW2,MAX(HGW3,HGW4)),250);
HGW13:=HHV(MAX(HGW5,HGW6),250);
HGW14:=INTPART(HGW12/HGW13)/2;
HGW15:=HGW14*HGW5+50;
HGW16:=HGW14*HGW6+50;
HGW17:=IF(1.5*(HGW15-HGW16)>0 AND REF(1.5*(HGW15-HGW16),1)>REF(1.5*(HGW15-HGW16),2) AND 1.5*(HGW15-HGW16)<REF(1.5*(HGW15-HGW16),1),1,0);
HGW18:=IF(1.5*(HGW15-HGW16)<0 AND REF(1.5*(HGW15-HGW16),1)<REF(1.5*(HGW15-HGW16),2) AND 1.5*(HGW15-HGW16)>REF(1.5*(HGW15-HGW16),1),1,0);
HGW19:=IF(1.5*(HGW15-HGW16)<0 AND REF(1.5*(HGW15-HGW16),1)>REF(1.5*(HGW15-HGW16),2) AND 1.5*(HGW15-HGW16)<REF(1.5*(HGW15-HGW16),1),1,0);
HGW20:=IF(1.5*(HGW15-HGW16)>0 AND REF(1.5*(HGW15-HGW16),1)<REF(1.5*(HGW15-HGW16),2) AND 1.5*(HGW15-HGW16)>REF(1.5*(HGW15-HGW16),1),1,0);
HGW21:=IF(CROSS(C,MA(C,20)) OR CROSS(C,MA(C,60)),1,0);
HGW22:=REF(CLOSE,1);
HGW23:=SMA(MAX(CLOSE-HGW22,0),6,1)/SMA(ABS(CLOSE-HGW22),6,1)*100;
HGW24:=(2*CLOSE+HIGH+LOW)/4;
HGW25:=LLV(LOW,34);
HGW26:=HHV(HIGH,34);
HGW27:=EMA((HGW24-HGW25)/(HGW26-HGW25)*100,6);
HGW28:=EMA(0.667*REF(HGW27,1)+0.333*HGW27,4);
HGW29:=(REF(HIGH,1)+REF(LOW,1))/2;
HGW30:=MA(CLOSE,20)+2*STD(CLOSE,20);
HGW31:=REF(CLOSE,1);
HGW32:=SMA(MAX(CLOSE-HGW31,0),7,1)/SMA(ABS(CLOSE-HGW31),7,1)*100;
HGW33:=CROSS(79,HGW32);
HGW34:=FILTER(HGW33,4);
HGW35:=MA(CLOSE,80)-MA(CLOSE,10)/3;
HGW36:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
HGW37:=CROSS(HGW29,HGW30) OR HGW34;
HGW38:=CROSS(84,HGW23);
HGW39:=IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(HGW30>HGW31,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);
HGW40:=IF(CLOSE<HGW35 AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0);
HGW41:=CROSS(HGW36,10);
HGW42:=IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(HGW27>HGW28,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);
HGW43:=C=HHV(C,180);
HGW44:=HGW6<REF(HGW6,1) AND REF(HGW6<REF(HGW6,1),1)=1;
HGW45:=C> REF(C,1) AND REF(C>REF(C,1),1)=1;
HGW46:=C=LLV(C,180);
HGW48:=HGW6> REF(HGW6,1) AND REF(HGW6> REF(HGW6,1),1)=1;
HGW49:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;
STICKLINE(HGW11=HGW6,1,-1,2,1),COLORFFFF00;
STICKLINE(HGW15>HGW16,0,1.5*(HGW15-HGW16),0,0),COLORRED;
STICKLINE(HGW15<HGW16,0,1.5*(HGW15-HGW16),0,0),COLORFFFF00;
红柱:IF(1.5*(HGW15-HGW16)>REF(1.5*(HGW15-HGW16),1),1.5*(HGW15-HGW16),0),STICK,COLORLICYAN;
绿柱:IF(1.5*(HGW15-HGW16)<REF(1.5*(HGW15-HGW16),1),1.5*(HGW15-HGW16),0),STICK,COLORGREEN;
DRAWTEXT(FILTER(HGW19,3) AND HGW19,1.5*(HGW15-HGW16),'杀多'),COLORFF00FF;
DRAWTEXT(FILTER(HGW17,3) AND HGW17,1.5*(HGW15-HGW16)+0.2,'卖'),COLORFF00FF;
DRAWTEXT(FILTER(HGW20,3) AND HGW20,1.5*(HGW15-HGW16),'洗盘'),COLOR00FF00;
DRAWTEXT(FILTER(HGW18,3) AND HGW18,1.5*(HGW15-HGW16)-0.2,'买'),COLOR00FF00;
DRAWTEXT(FILTER(HGW21,16) AND 1.5*(HGW15-HGW16)>=0,1.5*(HGW15-HGW16)+0.01,'¤阻力'),COLOR00FFFF;
STICKLINE(HGW37 OR HGW38,1.5*(HGW15-HGW16)*1.05,1.5*(HGW15-HGW16)*1.08,3,0);
STICKLINE(HGW39 OR HGW40 OR HGW41 OR HGW42,1.5*(HGW15-HGW16)*0.90,1.5*(HGW15-HGW16)*0.99,3,0);
上升背离:(HGW45 AND HGW44)*1.5*(HGW15-HGW16),LINETHICK2,COLORWHITE;
顶背离:(HGW43 AND HGW44 AND HGW6< HHV(HGW6,180))*3*ABS(HGW15-HGW16),STICK,LINETHICK3,COLORGREEN;
下降背离:(HGW49 AND HGW48)*1.5*(HGW15-HGW16),LINETHICK2,COLORYELLOW;
底背离:(HGW46 AND HGW48 AND HGW6> LLV(HGW6,180))*3*(HGW15-HGW16),STICK,LINETHICK3,COLORRED;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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