2023多重买卖信号 波段趋势交易《通达信+指标+公式+副图+源码》

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



GUP1:=SMA((HIGH+LOW)/2,5,1)-SMA((HIGH+LOW)/2,34,1);
GUP2:=SMA(GUP1,5,1);
GUP3:=SMA((GUP1-GUP2),5,1),LINETHICK0;
STICKLINE(GUP3>=REF(GUP3,1),0,GUP3,2.2,1),COLORRED;
STICKLINE(GUP3< REF(GUP3,1),0,GUP3,2.2,1),COLORGREEN;
GUP4:=REF(GUP3,1);
买入1:=REF(GUP3,3)<REF(GUP4,3) AND REF(GUP3,2)<REF(GUP4,2) AND REF(GUP3,2)<REF(GUP3,3) AND REF(GUP3,1)>REF(GUP4,1) AND GUP3>GUP4 AND COUNT(GUP3>0,4)=4;
DRAWTEXT(买入1,GUP3,'买1'),COLORYELLOW;
买入2:=COUNT(GUP3<0,4)=4 AND REF(GUP3,3)<REF(GUP4,3) AND COUNT(GUP3>GUP4,3)=3;
DRAWTEXT(买入2,GUP3, '买2'),COLORYELLOW;
买入3:=REF(GUP3,3)<REF(GUP4,3) AND REF(GUP3,2)<REF(GUP4,2) AND REF(GUP3,2)<REF(GUP3,3) AND COUNT(GUP3>GUP4,2)=2 AND REF(GUP3,1)<0 AND GUP3>0;
DRAWTEXT(买入3,GUP3, '买3'),COLORYELLOW;
买入4:=REF(GUP3,4)<REF(GUP4,4) AND REF(GUP3,3)<REF(GUP4,3) AND REF(GUP3,3)<REF(GUP3,4) AND COUNT(GUP3>GUP4,3)=3 AND REF(GUP3,1)<0 AND GUP3>0;
DRAWTEXT(买入4,GUP3, '买4'),COLORYELLOW;
卖出1:=REF(GUP3,3)>REF(GUP4,3) AND REF(GUP3,2)>REF(GUP4,2) AND REF(GUP3,2)>REF(GUP3,3) AND REF(GUP3,1)<REF(GUP4,1) AND GUP3<GUP4 AND COUNT(GUP3<0,4)=4;
DRAWTEXT(卖出1,GUP3,'卖1'),COLORWHITE;
卖出2:=COUNT(GUP3>0,4)=4 AND REF(GUP3,3)>REF(GUP4,3) AND COUNT(GUP3<GUP4,3)=3;
DRAWTEXT(卖出2,GUP3,'卖2'),COLORWHITE;

选股公式源码



{选股公式一:买1}
GUP1:=SMA((HIGH+LOW)/2,5,1)-SMA((HIGH+LOW)/2,34,1);
GUP2:=SMA(GUP1,5,1);
GUP3:=SMA((GUP1-GUP2),5,1),LINETHICK0;
GUP4:=REF(GUP3,1);
买入1:=REF(GUP3,3)<REF(GUP4,3) AND REF(GUP3,2)<REF(GUP4,2) AND REF(GUP3,2)<REF(GUP3,3) AND REF(GUP3,1)>REF(GUP4,1) AND GUP3>GUP4 AND COUNT(GUP3>0,4)=4;
买1:买入1;

{选股公式二:买2}
GUP1:=SMA((HIGH+LOW)/2,5,1)-SMA((HIGH+LOW)/2,34,1);
GUP2:=SMA(GUP1,5,1);
GUP3:=SMA((GUP1-GUP2),5,1),LINETHICK0;
GUP4:=REF(GUP3,1);
买入2:=COUNT(GUP3<0,4)=4 AND REF(GUP3,3)<REF(GUP4,3) AND COUNT(GUP3>GUP4,3)=3;
买2:买入2;
{选股公式三:买3}
GUP1:=SMA((HIGH+LOW)/2,5,1)-SMA((HIGH+LOW)/2,34,1);
GUP2:=SMA(GUP1,5,1);
GUP3:=SMA((GUP1-GUP2),5,1),LINETHICK0;
GUP4:=REF(GUP3,1);
买入3:=REF(GUP3,3)<REF(GUP4,3) AND REF(GUP3,2)<REF(GUP4,2) AND REF(GUP3,2)<REF(GUP3,3) AND COUNT(GUP3>GUP4,2)=2 AND REF(GUP3,1)<0 AND GUP3>0;
买3:买入3;

{选股公式四:买4}
GUP1:=SMA((HIGH+LOW)/2,5,1)-SMA((HIGH+LOW)/2,34,1);
GUP2:=SMA(GUP1,5,1);
GUP3:=SMA((GUP1-GUP2),5,1),LINETHICK0;
GUP4:=REF(GUP3,1);
买入4:=REF(GUP3,4)<REF(GUP4,4) AND REF(GUP3,3)<REF(GUP4,3) AND REF(GUP3,3)<REF(GUP3,4) AND COUNT(GUP3>GUP4,3)=3 AND REF(GUP3,1)<0 AND GUP3>0;
买4:买入4;
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则