2024强势抄底 双重逃顶《通达信+指标+公式+副图+源码》

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

均线5:MA(CLOSE,5);
趋势:HHV(均线5,80),COLORYELLOW,LINETHICK2;
IF(趋势>REF(趋势,1),趋势,DRAWNULL),COLORRED,LINETHICK2;
GUP0:=105,LINETHICK2;
GUP1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
GUP2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUP3:=(SMA(GUP2,3,1)-18)*1.55;
GUP4:=SMA(GUP3,3,1);
GUP5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
GUP6:=SMA(GUP5,10,1);
GUP7:=(EMA(SMA(GUP6,8,1),34)-25)*2.6;
GUP8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
GUP9:=POW(MA(LOW,5),2)+MA(LOW,5);
GUPA:=POW(MA(HIGH,5),2)+MA(HIGH,5);
GUPB:=((GUP8-LLV(GUP9,64))/(HHV(GUPA,64)-LLV(GUP9,64))*150+65-10)/2;
GUPC:=SMA(GUPB,3,1)*1.5-46;
GUPD:=SMA(GUPC,3,1);
GUPE:=3*GUPC-2*GUPD;
GUPF:=(GUP1+GUP2+GUP5)/3;
GUP10:=((GUP3+GUP3+GUP6+GUPC)/4-15)*1.67;
GUP11:=((GUP4+GUP4+GUP7+GUPD)/4-15)*1.67;
GUP12:=((GUP1+GUP5*2+GUPF+GUP10+GUP11+GUPB+GUPC+GUPD+GUPE)/10-15)*1.67;
GUP13:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
GUP14:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
GUP15:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
GUP16:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
GUP17:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
GUP18:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
GUP19:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
GUP1A:=((GUP13*8+GUP14*8+GUP15*8+GUP16+GUP17+GUP18+GUP19)/28-0.1)*185;
GUP1B:=SMA(GUP1A,3,1);
GUP1C:=(SMA(GUP1B,8,1)-8)*1.18;
GUA1:=(GUP3+GUP6+GUP1B*2)/4,LINETHICK2;
GUA2:=CROSS(GUP0,GUA1);
DRAWTEXT (GUA2,H*0.98,'清仓'),COLORBLUE,LINETHICK1;
GUA3:=16;GUA4:=95;
GUA5:=(GUP10+GUP11+GUP12+GUPC+GUPD+GUPE+GUP1C+GUP7)/21;
GUA6:=(GUP3+GUP6+GUP1B*2)/4,COLORRED,LINETHICK1;
GUA7:=CROSS(GUA6,GUA5) AND GUA5<GUA3;
GUA8:=CROSS(GUA4,GUA6);
DRAWTEXT(GUA7,均线5,'抄底'),COLORMAGENTA;
DRAWTEXT(GUA8,趋势,'逃顶'),COLORGREEN,LINETHICK1;


选股公式源码



{选股公式:抄底}
GUP0:=105,LINETHICK2;
GUP1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
GUP2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUP3:=(SMA(GUP2,3,1)-18)*1.55;
GUP4:=SMA(GUP3,3,1);
GUP5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
GUP6:=SMA(GUP5,10,1);
GUP7:=(EMA(SMA(GUP6,8,1),34)-25)*2.6;
GUP8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
GUP9:=POW(MA(LOW,5),2)+MA(LOW,5);
GUPA:=POW(MA(HIGH,5),2)+MA(HIGH,5);
GUPB:=((GUP8-LLV(GUP9,64))/(HHV(GUPA,64)-LLV(GUP9,64))*150+65-10)/2;
GUPC:=SMA(GUPB,3,1)*1.5-46;
GUPD:=SMA(GUPC,3,1);
GUPE:=3*GUPC-2*GUPD;
GUPF:=(GUP1+GUP2+GUP5)/3;
GUP10:=((GUP3+GUP3+GUP6+GUPC)/4-15)*1.67;
GUP11:=((GUP4+GUP4+GUP7+GUPD)/4-15)*1.67;
GUP12:=((GUP1+GUP5*2+GUPF+GUP10+GUP11+GUPB+GUPC+GUPD+GUPE)/10-15)*1.67;
GUP13:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
GUP14:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
GUP15:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
GUP16:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
GUP17:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
GUP18:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
GUP19:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
GUP1A:=((GUP13*8+GUP14*8+GUP15*8+GUP16+GUP17+GUP18+GUP19)/28-0.1)*185;
GUP1B:=SMA(GUP1A,3,1);
GUP1C:=(SMA(GUP1B,8,1)-8)*1.18;
GUA1:=(GUP3+GUP6+GUP1B*2)/4,LINETHICK2;
GUA2:=CROSS(GUP0,GUA1);
GUA3:=16;GUA4:=95;
GUA5:=(GUP10+GUP11+GUP12+GUPC+GUPD+GUPE+GUP1C+GUP7)/21;
GUA6:=(GUP3+GUP6+GUP1B*2)/4,COLORRED,LINETHICK1;
GUA7:=CROSS(GUA6,GUA5) AND GUA5<GUA3;
抄底:GUA7;
{卖出公式一:逃顶}
GUP1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
GUP2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUP3:=(SMA(GUP2,3,1)-18)*1.55;
GUP4:=SMA(GUP3,3,1);
GUP5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
GUP6:=SMA(GUP5,10,1);
GUP7:=(EMA(SMA(GUP6,8,1),34)-25)*2.6;
GUP8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
GUP9:=POW(MA(LOW,5),2)+MA(LOW,5);
GUPA:=POW(MA(HIGH,5),2)+MA(HIGH,5);
GUPB:=((GUP8-LLV(GUP9,64))/(HHV(GUPA,64)-LLV(GUP9,64))*150+65-10)/2;
GUPC:=SMA(GUPB,3,1)*1.5-46;
GUPD:=SMA(GUPC,3,1);
GUPE:=3*GUPC-2*GUPD;
GUPF:=(GUP1+GUP2+GUP5)/3;
GUP10:=((GUP3+GUP3+GUP6+GUPC)/4-15)*1.67;
GUP11:=((GUP4+GUP4+GUP7+GUPD)/4-15)*1.67;
GUP12:=((GUP1+GUP5*2+GUPF+GUP10+GUP11+GUPB+GUPC+GUPD+GUPE)/10-15)*1.67;
GUP13:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
GUP14:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
GUP15:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
GUP16:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
GUP17:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
GUP18:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
GUP19:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
GUP1A:=((GUP13*8+GUP14*8+GUP15*8+GUP16+GUP17+GUP18+GUP19)/28-0.1)*185;
GUP1B:=SMA(GUP1A,3,1);
GUA3:=16;GUA4:=95;
GUA6:=(GUP3+GUP6+GUP1B*2)/4,COLORRED,LINETHICK1;
GUA8:=CROSS(GUA4,GUA6);
逃顶:GUA8;

{卖出公式二:清仓}
GUP0:=105,LINETHICK2;
GUP1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
GUP2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUP3:=(SMA(GUP2,3,1)-18)*1.55;
GUP4:=SMA(GUP3,3,1);
GUP5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
GUP6:=SMA(GUP5,10,1);
GUP7:=(EMA(SMA(GUP6,8,1),34)-25)*2.6;
GUP8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
GUP9:=POW(MA(LOW,5),2)+MA(LOW,5);
GUPA:=POW(MA(HIGH,5),2)+MA(HIGH,5);
GUPB:=((GUP8-LLV(GUP9,64))/(HHV(GUPA,64)-LLV(GUP9,64))*150+65-10)/2;
GUPC:=SMA(GUPB,3,1)*1.5-46;
GUPD:=SMA(GUPC,3,1);
GUPE:=3*GUPC-2*GUPD;
GUPF:=(GUP1+GUP2+GUP5)/3;
GUP10:=((GUP3+GUP3+GUP6+GUPC)/4-15)*1.67;
GUP11:=((GUP4+GUP4+GUP7+GUPD)/4-15)*1.67;
GUP12:=((GUP1+GUP5*2+GUPF+GUP10+GUP11+GUPB+GUPC+GUPD+GUPE)/10-15)*1.67;
GUP13:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
GUP14:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
GUP15:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
GUP16:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
GUP17:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
GUP18:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
GUP19:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
GUP1A:=((GUP13*8+GUP14*8+GUP15*8+GUP16+GUP17+GUP18+GUP19)/28-0.1)*185;
GUP1B:=SMA(GUP1A,3,1);
GUA1:=(GUP3+GUP6+GUP1B*2)/4,LINETHICK2;
GUA2:=CROSS(GUP0,GUA1);
清仓:GUA2;
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则