2023抄底买入 筹码抓牛《通达信+指标+公式+副图+源码》

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


G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=EMA(HHV(G4,500),21);
GUP2:=EMA(HHV(G4,250),21);
GUP3:=EMA(HHV(G4,90),21);
GUP4:=EMA(LLV(G2,500),21);
GUP5:=EMA(LLV(G2,250),21);
GUP6:=EMA(LLV(G2,90),21);
GUP7:=EMA((GUP4*0.96+GUP5*0.96+GUP6*0.96+GUP1*0.558+GUP2*0.558+GUP3*0.558)/6,21);
GUP8:=EMA((GUP4*1.25+GUP5*1.23+GUP6*1.2+GUP1*0.55+GUP2*0.55+GUP3*0.65)/6,21);
GUP9:=EMA((GUP4*1.3+GUP5*1.3+GUP6*1.3+GUP1*0.68+GUP2*0.68+GUP3*0.68)/6,21);
GUPA:=EMA((GUP7*3+GUP8*2+GUP9)/6*1.738,21);
GUPB:=REF(G2,1);
GUPC:=SMA(ABS(G2-GUPB),3,1)/SMA(MAX(G2-GUPB,0),3,1)*100;
GUPD:=EMA(IF(G1*1.35<=GUPA,GUPC*10,GUPC/10),3);
GUPE:=LLV(G2,30);
GUPF:=HHV(GUPD,30);
GUP10:=IF(MA(G1,58),1,0);
GUP11:=EMA(IF(G2<=GUPE,(GUPD+GUPF*2)/2,0),3)/618*GUP10, COLORRED;
进场:25,COLORLIRED;
小顶:100,COLORBLUE;
大顶:110,COLORGREEN,LINETHICK2;
GUA1:=(G1-LLV(G2,13))/(HHV(G4,13)-LLV(G2,13))*100;
GUA2:=(G1-LLV(G2,9))/(HHV(G4,9)-LLV(G2,9))*100;
GUA3:=(SMA(GUA2,3,1)-18)*1.55;
GUA4:=SMA(GUA3,3,1);
GUA5:=(G1-LLV(G2,100))/(HHV(G4,100)-LLV(G2,100))*100;
GUA6:=SMA(GUA5,10,1);
GUA7:=(EMA(SMA(GUA6,8,1),34)-25)*2.6;
GUA8:=POW(MA(G1,5),2)+MA(G1,5);
GUA9:=POW(MA(G2,5),2)+MA(G2,5);
GUAA:=POW(MA(G4,5),2)+MA(G4,5);
GUAB:=((GUA8-LLV(GUA9,64))/(HHV(GUAA,64)-LLV(GUA9,64))*150+65-10)/2;
GUAC:=SMA(GUAB,3,1)*1.5-46;
GUAD:=SMA(GUAC,3,1);
GUAE:=3*GUAC-2*GUAD;
GUAF:=(GUA1+GUA2+GUA5)/3;
GUA10:=((GUA3+GUA3+GUA6+GUAC)/4-15)*1.67;
GUA11:=((GUA4+GUA4+GUA7+GUAD)/4-15)*1.67;
GUA12:=((GUA1+GUA5*2+GUAF+GUA10+GUA11+GUAB+GUAC+GUAD+GUAE)/10-15)*1.67;
GUA13:=(HHV(G4,5)-G1)/(HHV(G4,5)-LLV(G2,5))*(-1)+0.9;
GUA14:=(HHV(G4,10)-G1)/(HHV(G4,10)-LLV(G2,10))*(-1)+0.92;
GUA15:=(HHV(G4,15)-G1)/(HHV(G4,15)-LLV(G2,15))*(-1)+0.93;
GUA16:=(HHV(G4,55)-G1)/(HHV(G4,55)-LLV(G2,55))*(-1)+0.94;
GUA17:=(HHV(G4,89)-G1)/(HHV(G4,89)-LLV(G2,89))*(-1)+0.95;
GUA18:=(HHV(G4,120)-G1)/(HHV(G4,120)-LLV(G2,120))*(-1)+0.91;
GUA19:=(HHV(G4,180)-G1)/(HHV(G4,180)-LLV(G2,180))*(-1)+0.96;
GUA1A:=((GUA13*8+GUA14*8+GUA15*8+GUA16+GUA17+GUA18+GUA19)/28-0.1)*185;
GUA1B:=SMA(GUA1A,3,1);
GUA1C:=(SMA(GUA1B,8,1)-8)*1.18;
筹码走势GUA3+GUA6+GUA1B*2)/4,COLORWHITE,LINETHICK1;
选:=CROSS(筹码走势,GUP11);
STICKLINE(选,0,20,3,0),COLORLIMAGENTA;
DRAWTEXT (选,28,'抄底'),COLORLIMAGENTA,LINETHICK2;
短线做T:=CROSS(筹码走势,进场);
DRAWTEXT(短线做T,20,'加仓'),COLORYELLOW,LINETHICK2;
M60:=MA(G1,60);
M120:=MA(G1,120);
GUC1:=3;
GUC2:=(3)*(SMA(((G1-LLV(G2,27))/(HHV(G4,27)-LLV(G2,27)))*(100),5,1))-(2)*(SMA(SMA(((G1-LLV(G2,27))/(HHV(G4,27)-LLV(G2,27)))*(100),5,1),3,1));
建仓:IF((GUC2<5) AND M60>M120,20,0),COLORYELLOW;
出场:=CROSS(大顶,筹码走势);
STICKLINE(出场,105,110,2,0),COLORGRAY;
DRAWTEXT (出场,103,'清仓'),COLORGRAY,LINETHICK3;
选2:=CROSS(筹码走势,建仓);
STICKLINE(选2,0,20,3,0),COLORRED;
DRAWTEXT(选2,28,'买入'),COLORRED,LINETHICK2;
逃顶:=CROSS(小顶,筹码走势);
STICKLINE(逃顶,95,100,2,0),COLORGREEN;
DRAWTEXT(逃顶,90,'卖出'),COLORGREEN,LINETHICK2;

选股公式源码



{选股公式一:抄底}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=EMA(HHV(G4,500),21);
GUP2:=EMA(HHV(G4,250),21);
GUP3:=EMA(HHV(G4,90),21);
GUP4:=EMA(LLV(G2,500),21);
GUP5:=EMA(LLV(G2,250),21);
GUP6:=EMA(LLV(G2,90),21);
GUP7:=EMA((GUP4*0.96+GUP5*0.96+GUP6*0.96+GUP1*0.558+GUP2*0.558+GUP3*0.558)/6,21);
GUP8:=EMA((GUP4*1.25+GUP5*1.23+GUP6*1.2+GUP1*0.55+GUP2*0.55+GUP3*0.65)/6,21);
GUP9:=EMA((GUP4*1.3+GUP5*1.3+GUP6*1.3+GUP1*0.68+GUP2*0.68+GUP3*0.68)/6,21);
GUPA:=EMA((GUP7*3+GUP8*2+GUP9)/6*1.738,21);
GUPB:=REF(G2,1);
GUPC:=SMA(ABS(G2-GUPB),3,1)/SMA(MAX(G2-GUPB,0),3,1)*100;
GUPD:=EMA(IF(G1*1.35<=GUPA,GUPC*10,GUPC/10),3);
GUPE:=LLV(G2,30);
GUPF:=HHV(GUPD,30);
GUP10:=IF(MA(G1,58),1,0);
GUP11:=EMA(IF(G2<=GUPE,(GUPD+GUPF*2)/2,0),3)/618*GUP10, COLORRED;
GUA1:=(G1-LLV(G2,13))/(HHV(G4,13)-LLV(G2,13))*100;
GUA2:=(G1-LLV(G2,9))/(HHV(G4,9)-LLV(G2,9))*100;
GUA3:=(SMA(GUA2,3,1)-18)*1.55;
GUA4:=SMA(GUA3,3,1);
GUA5:=(G1-LLV(G2,100))/(HHV(G4,100)-LLV(G2,100))*100;
GUA6:=SMA(GUA5,10,1);
GUA7:=(EMA(SMA(GUA6,8,1),34)-25)*2.6;
GUA8:=POW(MA(G1,5),2)+MA(G1,5);
GUA9:=POW(MA(G2,5),2)+MA(G2,5);
GUAA:=POW(MA(G4,5),2)+MA(G4,5);
GUAB:=((GUA8-LLV(GUA9,64))/(HHV(GUAA,64)-LLV(GUA9,64))*150+65-10)/2;
GUAC:=SMA(GUAB,3,1)*1.5-46;
GUAD:=SMA(GUAC,3,1);
GUAE:=3*GUAC-2*GUAD;
GUAF:=(GUA1+GUA2+GUA5)/3;
GUA10:=((GUA3+GUA3+GUA6+GUAC)/4-15)*1.67;
GUA11:=((GUA4+GUA4+GUA7+GUAD)/4-15)*1.67;
GUA12:=((GUA1+GUA5*2+GUAF+GUA10+GUA11+GUAB+GUAC+GUAD+GUAE)/10-15)*1.67;
GUA13:=(HHV(G4,5)-G1)/(HHV(G4,5)-LLV(G2,5))*(-1)+0.9;
GUA14:=(HHV(G4,10)-G1)/(HHV(G4,10)-LLV(G2,10))*(-1)+0.92;
GUA15:=(HHV(G4,15)-G1)/(HHV(G4,15)-LLV(G2,15))*(-1)+0.93;
GUA16:=(HHV(G4,55)-G1)/(HHV(G4,55)-LLV(G2,55))*(-1)+0.94;
GUA17:=(HHV(G4,89)-G1)/(HHV(G4,89)-LLV(G2,89))*(-1)+0.95;
GUA18:=(HHV(G4,120)-G1)/(HHV(G4,120)-LLV(G2,120))*(-1)+0.91;
GUA19:=(HHV(G4,180)-G1)/(HHV(G4,180)-LLV(G2,180))*(-1)+0.96;
GUA1A:=((GUA13*8+GUA14*8+GUA15*8+GUA16+GUA17+GUA18+GUA19)/28-0.1)*185;
GUA1B:=SMA(GUA1A,3,1);
筹码走势:=(GUA3+GUA6+GUA1B*2)/4,COLORWHITE,LINETHICK1;
选:=CROSS(筹码走势,GUP11);
抄底:选;


{选股公式二:加仓}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=EMA(HHV(G4,500),21);
GUP2:=EMA(HHV(G4,250),21);
GUP3:=EMA(HHV(G4,90),21);
GUP4:=EMA(LLV(G2,500),21);
GUP5:=EMA(LLV(G2,250),21);
GUP6:=EMA(LLV(G2,90),21);
GUP7:=EMA((GUP4*0.96+GUP5*0.96+GUP6*0.96+GUP1*0.558+GUP2*0.558+GUP3*0.558)/6,21);
GUP8:=EMA((GUP4*1.25+GUP5*1.23+GUP6*1.2+GUP1*0.55+GUP2*0.55+GUP3*0.65)/6,21);
GUP9:=EMA((GUP4*1.3+GUP5*1.3+GUP6*1.3+GUP1*0.68+GUP2*0.68+GUP3*0.68)/6,21);
GUPA:=EMA((GUP7*3+GUP8*2+GUP9)/6*1.738,21);
GUPB:=REF(G2,1);
GUPC:=SMA(ABS(G2-GUPB),3,1)/SMA(MAX(G2-GUPB,0),3,1)*100;
GUPD:=EMA(IF(G1*1.35<=GUPA,GUPC*10,GUPC/10),3);
GUPE:=LLV(G2,30);
GUPF:=HHV(GUPD,30);
GUP10:=IF(MA(G1,58),1,0);
GUP11:=EMA(IF(G2<=GUPE,(GUPD+GUPF*2)/2,0),3)/618*GUP10, COLORRED;
GUA1:=(G1-LLV(G2,13))/(HHV(G4,13)-LLV(G2,13))*100;
GUA2:=(G1-LLV(G2,9))/(HHV(G4,9)-LLV(G2,9))*100;
GUA3:=(SMA(GUA2,3,1)-18)*1.55;
GUA4:=SMA(GUA3,3,1);
GUA5:=(G1-LLV(G2,100))/(HHV(G4,100)-LLV(G2,100))*100;
GUA6:=SMA(GUA5,10,1);
GUA7:=(EMA(SMA(GUA6,8,1),34)-25)*2.6;
GUA8:=POW(MA(G1,5),2)+MA(G1,5);
GUA9:=POW(MA(G2,5),2)+MA(G2,5);
GUAA:=POW(MA(G4,5),2)+MA(G4,5);
GUAB:=((GUA8-LLV(GUA9,64))/(HHV(GUAA,64)-LLV(GUA9,64))*150+65-10)/2;
GUAC:=SMA(GUAB,3,1)*1.5-46;
GUAD:=SMA(GUAC,3,1);
GUAE:=3*GUAC-2*GUAD;
GUAF:=(GUA1+GUA2+GUA5)/3;
GUA10:=((GUA3+GUA3+GUA6+GUAC)/4-15)*1.67;
GUA11:=((GUA4+GUA4+GUA7+GUAD)/4-15)*1.67;
GUA12:=((GUA1+GUA5*2+GUAF+GUA10+GUA11+GUAB+GUAC+GUAD+GUAE)/10-15)*1.67;
GUA13:=(HHV(G4,5)-G1)/(HHV(G4,5)-LLV(G2,5))*(-1)+0.9;
GUA14:=(HHV(G4,10)-G1)/(HHV(G4,10)-LLV(G2,10))*(-1)+0.92;
GUA15:=(HHV(G4,15)-G1)/(HHV(G4,15)-LLV(G2,15))*(-1)+0.93;
GUA16:=(HHV(G4,55)-G1)/(HHV(G4,55)-LLV(G2,55))*(-1)+0.94;
GUA17:=(HHV(G4,89)-G1)/(HHV(G4,89)-LLV(G2,89))*(-1)+0.95;
GUA18:=(HHV(G4,120)-G1)/(HHV(G4,120)-LLV(G2,120))*(-1)+0.91;
GUA19:=(HHV(G4,180)-G1)/(HHV(G4,180)-LLV(G2,180))*(-1)+0.96;
GUA1A:=((GUA13*8+GUA14*8+GUA15*8+GUA16+GUA17+GUA18+GUA19)/28-0.1)*185;
GUA1B:=SMA(GUA1A,3,1);
筹码走势:=(GUA3+GUA6+GUA1B*2)/4,COLORWHITE,LINETHICK1;
进场:=25,COLORLIRED;
短线做T:=CROSS(筹码走势,进场);
加仓:短线做T;
{选股公式三:买入}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=EMA(HHV(G4,500),21);
GUP2:=EMA(HHV(G4,250),21);
GUP3:=EMA(HHV(G4,90),21);
GUP4:=EMA(LLV(G2,500),21);
GUP5:=EMA(LLV(G2,250),21);
GUP6:=EMA(LLV(G2,90),21);
GUP7:=EMA((GUP4*0.96+GUP5*0.96+GUP6*0.96+GUP1*0.558+GUP2*0.558+GUP3*0.558)/6,21);
GUP8:=EMA((GUP4*1.25+GUP5*1.23+GUP6*1.2+GUP1*0.55+GUP2*0.55+GUP3*0.65)/6,21);
GUP9:=EMA((GUP4*1.3+GUP5*1.3+GUP6*1.3+GUP1*0.68+GUP2*0.68+GUP3*0.68)/6,21);
GUPA:=EMA((GUP7*3+GUP8*2+GUP9)/6*1.738,21);
GUPB:=REF(G2,1);
GUPC:=SMA(ABS(G2-GUPB),3,1)/SMA(MAX(G2-GUPB,0),3,1)*100;
GUPD:=EMA(IF(G1*1.35<=GUPA,GUPC*10,GUPC/10),3);
GUPE:=LLV(G2,30);
GUPF:=HHV(GUPD,30);
GUP10:=IF(MA(G1,58),1,0);
GUP11:=EMA(IF(G2<=GUPE,(GUPD+GUPF*2)/2,0),3)/618*GUP10, COLORRED;
GUA1:=(G1-LLV(G2,13))/(HHV(G4,13)-LLV(G2,13))*100;
GUA2:=(G1-LLV(G2,9))/(HHV(G4,9)-LLV(G2,9))*100;
GUA3:=(SMA(GUA2,3,1)-18)*1.55;
GUA4:=SMA(GUA3,3,1);
GUA5:=(G1-LLV(G2,100))/(HHV(G4,100)-LLV(G2,100))*100;
GUA6:=SMA(GUA5,10,1);
GUA7:=(EMA(SMA(GUA6,8,1),34)-25)*2.6;
GUA8:=POW(MA(G1,5),2)+MA(G1,5);
GUA9:=POW(MA(G2,5),2)+MA(G2,5);
GUAA:=POW(MA(G4,5),2)+MA(G4,5);
GUAB:=((GUA8-LLV(GUA9,64))/(HHV(GUAA,64)-LLV(GUA9,64))*150+65-10)/2;
GUAC:=SMA(GUAB,3,1)*1.5-46;
GUAD:=SMA(GUAC,3,1);
GUAE:=3*GUAC-2*GUAD;
GUAF:=(GUA1+GUA2+GUA5)/3;
GUA10:=((GUA3+GUA3+GUA6+GUAC)/4-15)*1.67;
GUA11:=((GUA4+GUA4+GUA7+GUAD)/4-15)*1.67;
GUA12:=((GUA1+GUA5*2+GUAF+GUA10+GUA11+GUAB+GUAC+GUAD+GUAE)/10-15)*1.67;
GUA13:=(HHV(G4,5)-G1)/(HHV(G4,5)-LLV(G2,5))*(-1)+0.9;
GUA14:=(HHV(G4,10)-G1)/(HHV(G4,10)-LLV(G2,10))*(-1)+0.92;
GUA15:=(HHV(G4,15)-G1)/(HHV(G4,15)-LLV(G2,15))*(-1)+0.93;
GUA16:=(HHV(G4,55)-G1)/(HHV(G4,55)-LLV(G2,55))*(-1)+0.94;
GUA17:=(HHV(G4,89)-G1)/(HHV(G4,89)-LLV(G2,89))*(-1)+0.95;
GUA18:=(HHV(G4,120)-G1)/(HHV(G4,120)-LLV(G2,120))*(-1)+0.91;
GUA19:=(HHV(G4,180)-G1)/(HHV(G4,180)-LLV(G2,180))*(-1)+0.96;
GUA1A:=((GUA13*8+GUA14*8+GUA15*8+GUA16+GUA17+GUA18+GUA19)/28-0.1)*185;
GUA1B:=SMA(GUA1A,3,1);
筹码走势:=(GUA3+GUA6+GUA1B*2)/4,COLORWHITE,LINETHICK1;
M60:=MA(G1,60);
M120:=MA(G1,120);
GUC1:=3;
GUC2:=(3)*(SMA(((G1-LLV(G2,27))/(HHV(G4,27)-LLV(G2,27)))*(100),5,1))-(2)*(SMA(SMA(((G1-LLV(G2,27))/(HHV(G4,27)-LLV(G2,27)))*(100),5,1),3,1));
建仓:=IF((GUC2<5) AND M60>M120,20,0),COLORYELLOW;
选2:=CROSS(筹码走势,建仓);
买入:选2;
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则