通达信【吸筹建仓】副图指标 提前几天预知个股趋势进场 源码附图

HGW1:=(C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100;
HGW2:=EMA(SMA(3*HGW1,5,1)-2*SMA(SMA(HGW1,5,1),3,1),3);
HGW3:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
HGW4:=EMA(HGW3*10,3);
HGW5:=LLV(L,38);
HGW6:=HHV(HGW4,38);
HGW7:=EMA(IF(L<=HGW5,(HGW4+HGW6*2)/2,0),3)/618;
HGW8:=IF(HGW7>=100,100,HGW7);
HGW9:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
HGW10:=EMA(HGW9*10,3);
HGW11:=LLV(L,13);
HGW12:=HHV(HGW10,13);
HGW13:=EMA(IF(LOW<=HGW11,(HGW10+HGW12*2)/2,0),3)/618;
HGW14:=IF(HGW13>500,500,HGW13);
HGW15:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
HGW16:=SMA(HGW15,3,1);
HGW17:=SMA(HGW16,3,1);
HGW18:=3*HGW16-2*HGW17;
NOTEXT1:0,POINTDOT,LINETHICK1;
NOTEXT21:100,POINTDOT,LINETHICK1;
NOTEXT22:85,POINTDOT,LINETHICK1;
趋势吸筹:IF(HGW2<=14,HGW2,DRAWNULL),NODRAW,COLORCYAN;
DRAWICON(HGW2>85 AND HGW2>REF(HGW2,1),100,35);
DRAWICON(HGW2>85 AND HGW2>REF(HGW2,1),90,35);
DRAWICON(HGW2>85 AND HGW2>REF(HGW2,1),80,35);
主力吸筹:IF(HGW8>0,HGW8,DRAWNULL),COLORRED,NODRAW;
发财吸筹:IF(HGW14>-120,ABS(HGW14),DRAWNULL),COLORGRAY,NODRAW;
HGW19:=MAX(趋势吸筹,MAX(主力吸筹,发财吸筹));
HGW20:=MIN(趋势吸筹,MIN(主力吸筹,发财吸筹));
HGW21:=RANGE(趋势吸筹,HGW20,HGW19)=1;
HGW22:=RANGE(主力吸筹,HGW20,HGW19)=1;
HGW23:=RANGE(发财吸筹,HGW20,HGW19)=1;
HGW24:=IF(HGW14>-120,HGW14,0);
HGW25:=HGW24<REF(HGW24,1);
HGW26:=SMA(((HHV(C,13)-C)/(HHV(C,13)-LLV(C,13))),5,1);
HGW27:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
HGW28:=SMA(HGW27,3,1);
HGW29:=SMA(HGW28,3,1);
HGW30:=CROSS(HGW28,HGW29) AND HGW28<20;
HGW31:=BARSLAST(CROSS(HGW29,HGW28))<9 AND HGW30;
HGW32:=CROSS(HGW27,HGW28) AND HGW28<30;
HGW33:=IF(BARSLAST(CROSS(HGW28,HGW27))>=3 AND HGW32,20,0);
HGW34:=HGW14>1 AND HGW18>REF(HGW18,1);
HGW35:=HGW14>0.1 AND HGW14<1 AND HGW18>REF(HGW18,1);
VAR48:=CROSS(HGW28,HGW27) AND HGW27>50;
VAR49:=IF(BARSLAST(CROSS(HGW27,HGW28))>=4 AND VAR48,20,0);
黄柱:HGW34 AND REF(HGW18,1)<REF(HGW18,2),COLORYELLOW,NODRAW;
粉柱:HGW35 AND REF(HGW18,1)<REF(HGW18,2),COLORMAGENTA,NODRAW;
STICKLINE(趋势吸筹=HGW19,0,IF(趋势吸筹>0,趋势吸筹,DRAWNULL),2,0),COLORCYAN;
STICKLINE(主力吸筹=HGW19,0,IF(主力吸筹>0,主力吸筹,DRAWNULL),2,0),COLORRED;
STICKLINE(发财吸筹=HGW19,0,IF(发财吸筹>0,发财吸筹,DRAWNULL),2,1),COLORGRAY;
STICKLINE(HGW21,0,IF(趋势吸筹>0,趋势吸筹,DRAWNULL),2,0),COLORCYAN;
STICKLINE(HGW22,0,IF(主力吸筹>0,主力吸筹,DRAWNULL),2,0),COLORRED;
STICKLINE(HGW23,0,IF(发财吸筹>0,发财吸筹,DRAWNULL),2,1),COLORGRAY;
STICKLINE(趋势吸筹=HGW20,0,IF(趋势吸筹>0,趋势吸筹,DRAWNULL),2,0),COLORCYAN;
STICKLINE(主力吸筹=HGW20,0,IF(主力吸筹>0,主力吸筹,DRAWNULL),2,0),COLORRED;
STICKLINE(发财吸筹=HGW20,0,IF(发财吸筹>0,发财吸筹,DRAWNULL),2,1),COLORGRAY;
STICKLINE(黄柱,0,HGW14,0.1,0),COLORYELLOW;
STICKLINE(粉柱,0,HGW14,0.1,0),COLORMAGENTA;
DRAWICON(CROSS(HGW2,10),HGW19,23);
DRAWICON(HGW25 AND REF(NOT(HGW25),1),HGW14+5,1);
冲顶:2/HGW26-2,NODRAW,COLORGREEN;
STICKLINE(2/HGW26-2>0,20,2/HGW26-2+20,0,-1),COLORLIRED;
STICKLINE(1/13>HGW26,0+20,2/HGW26-2+20,1,0),COLORGREEN;
STICKLINE(1/13>HGW26,0+20,2/HGW26-2+20,0,0),COLORGREEN;
趋势线:HGW2-10,COLORBLUE,LINETHICK2;
DRAWTEXT(FILTER(趋势线<=4,15),HGW19+5,'建仓区'),COLORCYAN;
牛股:IF(BARSLAST(CROSS(HGW28,HGW29))<9 AND HGW31,100,0),COLORWHITE,LINETHICK2,STICK;
STICKLINE(HGW33,0,60,0.5,0),COLORLIMAGENTA;
STICKLINE(VAR49,80,100,3,0),COLORGREEN;



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

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

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

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