2023买入持股待涨 把握转折时机《通达信+指标+公式+副图+源码》

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


G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=MA(G1,5);
GUP2:=MA(G1,10);
GUP3:=MA(G1,30);
GUP7:=SUM(G1*VOL*100,4)/SUM(VOL*100,4);
GUP8:=INTPART(GUP7*100)/100;
GUP9:=SUM(G1*VOL*100,7)/SUM(VOL*100,7);
GUPA:=INTPART(GUP9*100)/100;
GUPB:=SUM(G1*VOL*100,28)/SUM(VOL*100,28);
GUPC:=INTPART(GUPB*100)/100;
GUPD:=EMA(G1,5)-EMA(G1,10);
GUPE:=EMA(G1,5)-EMA(G1,10);
GUPF:=EMA(GUPD,9);
GUP14:=REF(GUPF,1);
GUP15:=(-100)*(HHV(G1,10)-G1)/(HHV(G1,10)-LLV(G2,10))+100;
GUP16:=GUPF-GUP14;
GUP17:=REF(GUPD,1);
GUP19:=GUPD-GUP17;
转折点:IF(G3<=GUP1 AND G3<=GUP2 AND G3<=GUP3 AND G1>=GUP1 AND G1>=GUPC AND GUP16>0 AND GUP19>0,0.5,0),STICK,COLORRED;
GUP1C:=IF(CROSS(GUPD,GUPF) AND GUPD<0 AND GUPF<-0.2 AND GUP15>45 AND GUP16>0,0.3,0);
买入:IF(GUP1C,0.5,0),COLORYELLOW;
DRAWICON(买入,0.5,1);
GUP1D:=(2*G1+G4+G2)/4;
GUP1E:=LLV(G2,34);
GUP1F:=HHV(G4,34);
GUP20:=EMA((GUP1D-GUP1E)/(GUP1F-GUP1E)*100,13);
GUP21:=EMA(0.667*REF(GUP20,1)+0.333*GUP20,2);
GUP22:=REF(G1,1);
GUP23:=SMA(MAX(G1-GUP22,0),6,1)/SMA(ABS(G1-GUP22),6,1)*100;
卖出:IF(CROSS(84,GUP23),0.5,0),COLOR00FF00;
DRAWICON(卖出,0.5,2);
持股:STICKLINE(GUP20>GUP21,0,-0.02,10,1),COLORFF00FF;
空仓:STICKLINE(GUP20< GUP21,0,-0.02,10,1),COLORGREEN;

选股公式源码



{选股公式一:买入}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=MA(G1,5);
GUP2:=MA(G1,10);
GUP3:=MA(G1,30);
GUP7:=SUM(G1*VOL*100,4)/SUM(VOL*100,4);
GUP8:=INTPART(GUP7*100)/100;
GUP9:=SUM(G1*VOL*100,7)/SUM(VOL*100,7);
GUPA:=INTPART(GUP9*100)/100;
GUPB:=SUM(G1*VOL*100,28)/SUM(VOL*100,28);
GUPC:=INTPART(GUPB*100)/100;
GUPD:=EMA(G1,5)-EMA(G1,10);
GUPE:=EMA(G1,5)-EMA(G1,10);
GUPF:=EMA(GUPD,9);
GUP14:=REF(GUPF,1);
GUP15:=(-100)*(HHV(G1,10)-G1)/(HHV(G1,10)-LLV(G2,10))+100;
GUP16:=GUPF-GUP14;
GUP17:=REF(GUPD,1);
GUP19:=GUPD-GUP17;
GUP1C:=IF(CROSS(GUPD,GUPF) AND GUPD<0 AND GUPF<-0.2 AND GUP15>45 AND GUP16>0,0.3,0);
买入:GUP1C,COLORYELLOW;
{选股公式二:转折点}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=MA(G1,5);
GUP2:=MA(G1,10);
GUP3:=MA(G1,30);
GUP7:=SUM(G1*VOL*100,4)/SUM(VOL*100,4);
GUP8:=INTPART(GUP7*100)/100;
GUP9:=SUM(G1*VOL*100,7)/SUM(VOL*100,7);
GUPA:=INTPART(GUP9*100)/100;
GUPB:=SUM(G1*VOL*100,28)/SUM(VOL*100,28);
GUPC:=INTPART(GUPB*100)/100;
GUPD:=EMA(G1,5)-EMA(G1,10);
GUPE:=EMA(G1,5)-EMA(G1,10);
GUPF:=EMA(GUPD,9);
GUP14:=REF(GUPF,1);
GUP15:=(-100)*(HHV(G1,10)-G1)/(HHV(G1,10)-LLV(G2,10))+100;
GUP16:=GUPF-GUP14;
GUP17:=REF(GUPD,1);
GUP19:=GUPD-GUP17;
转折点:G3<=GUP1 AND G3<=GUP2 AND G3<=GUP3 AND G1>=GUP1 AND G1>=GUPC AND GUP16>0 AND GUP19>0,COLORRED;

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

本版积分规则