2024波段短买 资金趋势《通达信+指标+公式+副图+源码》

[复制链接]
查看40882 | 回复1 | 2024-5-15 13:43 | 显示全部楼层 |阅读模式
叶梵宸指标论坛免责声明
叶梵宸指标公式网(www.yefanchen.com)提醒您:本版块指标由市场整理提供 本指标不提供安装指导与使用方法 源码指标自行复制下载后 自行研究 股市是具有不确定性和不可预测性的,请正常对待和使用指标公式!如存在原创侵权问题 联系本平台客服 谢谢配合
66444b7524ccf.png
副图公式源码支持 手机/电脑

G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1-LLV(G2,80))/(HHV(G4,80)-LLV(G2,80))*200;
GUP2:=SMA(GUP1,3,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=3*GUP2-2*GUP3;
GUP5:=LLV(G2,5);
GUP6:=HHV(G4,5);
GUP7:=EMA((G1-GUP5)/(GUP6-GUP5)*100,4)*2;
GUP8:=EMA(0.667*REF(GUP7,1)+0.333*GUP7,2);
GUP9:=3*GUP7-2*GUP8;
GUPA:=POW(MA(G1,5),2)+MA(G1,5);
GUPB:=POW(MA(G2,5),2)+MA(G2,5);
GUPC:=POW(MA(G4,5),2)+MA(G4,5);
GUPD:=(GUPA-LLV(GUPB,64))/(HHV(GUPC,64)-LLV(GUPB,64))*150+65-10;
GUPE:=SMA(GUPD,3,1)*1.5-100;
GUPF:=SMA(GUPE,3,1);
GUP10:=3*GUPE-2*GUPF;
GUP11:=(G4+G2+G1*2)/4;
GUP12:=EMA(GUP11,13);
GUP13:=STD(GUP11,13);
GUP14:=(GUP11-GUP12)*100/GUP13;
GUP15:=EMA(GUP14,5);
GUP17:=EMA(GUP15,13)+200-100;
GUP18:=EMA(GUP17,10);
GUP19:=3*GUP17-2*GUP18;
GUP1A:=GUP2+GUP7+GUPE+GUP17;
GUP1B:=GUP3+GUP8+GUPF+GUP18;
GUP1C:=GUP4+GUP9+GUP10+GUP19;
GUP1D:=(G4+G2+G1)/3;
GUP20:=(GUP1D-MA(GUP1D,34))/(0.015*AVEDEV(GUP1D,34));
GUP21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
GUP22:=(G4+G2+G1+GUP1D)/4;
GUP23:=EMA(GUP22,24);
GUP24:=STD(GUP22,24);
GUP25:=(GUP22-GUP23)/GUP24*100;
GUP26:=(GUP1D-MA(GUP1D,24))/(0.015*AVEDEV(GUP1D,24));
GUP27:=EMA(GUP25,5);
GUP2A:=((GUP27+GUP26+GUP20)/3+165)/4;
GUP2B:=(EMA(EMA(EMA(GUP2A,15),10),5)-25)*2+GUP21;
GUP2C:=(GUP1A+GUP1B+GUP1C*30)/32/5-15;
GUP2D:=EMA(GUP2C,13);
GUP2E:=(GUP2A+GUP2C)/2/1.1;
短线趋势:EMA(GUP2E,3),COLORMAGENTA,LINETHICK2;
波段趋势:EMA(短线趋势,5),COLORLIRED,LINETHICK2;
资金趋势:EMA((GUP2B+GUP2D)/2,2),COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(波段趋势,资金趋势),资金趋势,' ←波段买'),COLORMAGENTA;
DRAWTEXT(CROSS(短线趋势,波段趋势),波段趋势,' ←短线买'),COLORLIMAGENTA;

选股公式源码



{选股公式一:波段买}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1-LLV(G2,80))/(HHV(G4,80)-LLV(G2,80))*200;
GUP2:=SMA(GUP1,3,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=3*GUP2-2*GUP3;
GUP5:=LLV(G2,5);
GUP6:=HHV(G4,5);
GUP7:=EMA((G1-GUP5)/(GUP6-GUP5)*100,4)*2;
GUP8:=EMA(0.667*REF(GUP7,1)+0.333*GUP7,2);
GUP9:=3*GUP7-2*GUP8;
GUPA:=POW(MA(G1,5),2)+MA(G1,5);
GUPB:=POW(MA(G2,5),2)+MA(G2,5);
GUPC:=POW(MA(G4,5),2)+MA(G4,5);
GUPD:=(GUPA-LLV(GUPB,64))/(HHV(GUPC,64)-LLV(GUPB,64))*150+65-10;
GUPE:=SMA(GUPD,3,1)*1.5-100;
GUPF:=SMA(GUPE,3,1);
GUP10:=3*GUPE-2*GUPF;
GUP11:=(G4+G2+G1*2)/4;
GUP12:=EMA(GUP11,13);
GUP13:=STD(GUP11,13);
GUP14:=(GUP11-GUP12)*100/GUP13;
GUP15:=EMA(GUP14,5);
GUP17:=EMA(GUP15,13)+200-100;
GUP18:=EMA(GUP17,10);
GUP19:=3*GUP17-2*GUP18;
GUP1A:=GUP2+GUP7+GUPE+GUP17;
GUP1B:=GUP3+GUP8+GUPF+GUP18;
GUP1C:=GUP4+GUP9+GUP10+GUP19;
GUP1D:=(G4+G2+G1)/3;
GUP20:=(GUP1D-MA(GUP1D,34))/(0.015*AVEDEV(GUP1D,34));
GUP21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
GUP22:=(G4+G2+G1+GUP1D)/4;
GUP23:=EMA(GUP22,24);
GUP24:=STD(GUP22,24);
GUP25:=(GUP22-GUP23)/GUP24*100;
GUP26:=(GUP1D-MA(GUP1D,24))/(0.015*AVEDEV(GUP1D,24));
GUP27:=EMA(GUP25,5);
GUP2A:=((GUP27+GUP26+GUP20)/3+165)/4;
GUP2B:=(EMA(EMA(EMA(GUP2A,15),10),5)-25)*2+GUP21;
GUP2C:=(GUP1A+GUP1B+GUP1C*30)/32/5-15;
GUP2D:=EMA(GUP2C,13);
GUP2E:=(GUP2A+GUP2C)/2/1.1;
短线趋势:=EMA(GUP2E,3),COLORMAGENTA,LINETHICK2;
波段趋势:=EMA(短线趋势,5),COLORLIRED,LINETHICK2;
资金趋势:=EMA((GUP2B+GUP2D)/2,2),COLORGREEN,LINETHICK2;
波段买:CROSS(波段趋势,资金趋势);

{选股公式二:短线买}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1-LLV(G2,80))/(HHV(G4,80)-LLV(G2,80))*200;
GUP2:=SMA(GUP1,3,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=3*GUP2-2*GUP3;
GUP5:=LLV(G2,5);
GUP6:=HHV(G4,5);
GUP7:=EMA((G1-GUP5)/(GUP6-GUP5)*100,4)*2;
GUP8:=EMA(0.667*REF(GUP7,1)+0.333*GUP7,2);
GUP9:=3*GUP7-2*GUP8;
GUPA:=POW(MA(G1,5),2)+MA(G1,5);
GUPB:=POW(MA(G2,5),2)+MA(G2,5);
GUPC:=POW(MA(G4,5),2)+MA(G4,5);
GUPD:=(GUPA-LLV(GUPB,64))/(HHV(GUPC,64)-LLV(GUPB,64))*150+65-10;
GUPE:=SMA(GUPD,3,1)*1.5-100;
GUPF:=SMA(GUPE,3,1);
GUP10:=3*GUPE-2*GUPF;
GUP11:=(G4+G2+G1*2)/4;
GUP12:=EMA(GUP11,13);
GUP13:=STD(GUP11,13);
GUP14:=(GUP11-GUP12)*100/GUP13;
GUP15:=EMA(GUP14,5);
GUP17:=EMA(GUP15,13)+200-100;
GUP18:=EMA(GUP17,10);
GUP19:=3*GUP17-2*GUP18;
GUP1A:=GUP2+GUP7+GUPE+GUP17;
GUP1B:=GUP3+GUP8+GUPF+GUP18;
GUP1C:=GUP4+GUP9+GUP10+GUP19;
GUP1D:=(G4+G2+G1)/3;
GUP20:=(GUP1D-MA(GUP1D,34))/(0.015*AVEDEV(GUP1D,34));
GUP21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
GUP22:=(G4+G2+G1+GUP1D)/4;
GUP23:=EMA(GUP22,24);
GUP24:=STD(GUP22,24);
GUP25:=(GUP22-GUP23)/GUP24*100;
GUP26:=(GUP1D-MA(GUP1D,24))/(0.015*AVEDEV(GUP1D,24));
GUP27:=EMA(GUP25,5);
GUP2A:=((GUP27+GUP26+GUP20)/3+165)/4;
GUP2B:=(EMA(EMA(EMA(GUP2A,15),10),5)-25)*2+GUP21;
GUP2C:=(GUP1A+GUP1B+GUP1C*30)/32/5-15;
GUP2D:=EMA(GUP2C,13);
GUP2E:=(GUP2A+GUP2C)/2/1.1;
短线趋势:=EMA(GUP2E,3),COLORMAGENTA,LINETHICK2;
波段趋势:=EMA(短线趋势,5),COLORLIRED,LINETHICK2;
资金趋势:=EMA((GUP2B+GUP2D)/2,2),COLORGREEN,LINETHICK2;
短线买:CROSS(短线趋势,波段趋势);

koujg | 2024-10-22 21:39 | 显示全部楼层
应统计资金净流入,较妥。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则