2023建仓回踩卖出 区间节奏操作《通达信+指标+公式+副图+源码》

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

657c048d3f3fa.png
副图公式源码支持 手机/电脑

M:=20;
GUP1:=MA(C,5);
GUP2:=MA(C,10);
GUP3:=MA(C,30);
GUP4:=SMA(MAX(CLOSE-REF(CLOSE,1),0),17,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),17,1)*100;
GUP5:=BARSLAST(CROSS(GUP1,GUP2));
GUP6:=BARSLAST(CROSS(GUP1,GUP3));
GUP7:=BARSLAST(CROSS(GUP2,GUP3));
GUP8:=GUP5>=GUP6 AND GUP6>GUP7 AND GUP5-GUP7<M;
GUP9:=COUNT(CROSS(GUP1,GUP2),GUP5+1)=1 AND COUNT(CROSS(GUP1,GUP3),GUP5+1)=1 AND CROSS(GUP2,GUP3) AND GUP1>GUP2 AND GUP2>GUP3;
GUP10:=GUP8 AND GUP9;
建仓:GUP8 AND GUP9,NODRAW,COLORCCCCCC;
GUP11:=COUNT(建仓,BARSLAST(建仓)+1)=1 AND COUNT(CROSS(GUP3,GUP1),BARSLAST(建仓)+1)=0;
回踩OW<=GUP3 AND CLOSE>GUP3 AND GUP11 AND BARSLAST(建仓)>0,NODRAW,COLORLIRED;
GUP12:=COUNT(建仓,BARSLAST(建仓)+1)=1 AND CROSS(GUP3,GUP1) AND COUNT(CROSS(GUP3,GUP1),BARSLAST(建仓)+1)=1;
卖出:GUP12>0,NODRAW,COLORGREEN;
区间:COUNT(建仓,BARSLAST(建仓)+1)=1 AND COUNT(卖出,BARSLAST(建仓)+1)=0,NODRAW,COLOR696960;
STICKLINE(区间>0,0,70,4,0),COLOR696969;
STICKLINE(卖出>0,0,70,4,0),COLORGREEN;
DRAWTEXT(卖出,10,'---卖出'),COLORGREEN;
STICKLINE(回踩>0,0,70,4,0),COLORLIRED;
DRAWTEXT(回踩,35,'---回踩'),COLORLIRED;
STICKLINE(建仓>0,0,70,4,0),COLORWHITE;
DRAWTEXT(建仓,60,'---建仓'),COLORWHITE;

选股公式源码

{选股公式一:建仓}
M:=20;
GUP1:=MA(C,5);
GUP2:=MA(C,10);
GUP3:=MA(C,30);
GUP4:=SMA(MAX(CLOSE-REF(CLOSE,1),0),17,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),17,1)*100;
GUP5:=BARSLAST(CROSS(GUP1,GUP2));
GUP6:=BARSLAST(CROSS(GUP1,GUP3));
GUP7:=BARSLAST(CROSS(GUP2,GUP3));
GUP8:=GUP5>=GUP6 AND GUP6>GUP7 AND GUP5-GUP7<M;
GUP9:=COUNT(CROSS(GUP1,GUP2),GUP5+1)=1 AND COUNT(CROSS(GUP1,GUP3),GUP5+1)=1 AND CROSS(GUP2,GUP3) AND GUP1>GUP2 AND GUP2>GUP3;
建仓:GUP8 AND GUP9,COLORCCCCCC;
{选股公式二:回踩}
M:=20;
GUP1:=MA(C,5);
GUP2:=MA(C,10);
GUP3:=MA(C,30);
GUP4:=SMA(MAX(CLOSE-REF(CLOSE,1),0),17,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),17,1)*100;
GUP5:=BARSLAST(CROSS(GUP1,GUP2));
GUP6:=BARSLAST(CROSS(GUP1,GUP3));
GUP7:=BARSLAST(CROSS(GUP2,GUP3));
GUP8:=GUP5>=GUP6 AND GUP6>GUP7 AND GUP5-GUP7<M;
GUP9:=COUNT(CROSS(GUP1,GUP2),GUP5+1)=1 AND COUNT(CROSS(GUP1,GUP3),GUP5+1)=1 AND CROSS(GUP2,GUP3) AND GUP1>GUP2 AND GUP2>GUP3;
建仓:=GUP8 AND GUP9,COLORCCCCCC;
GUP11:=COUNT(建仓,BARSLAST(建仓)+1)=1 AND COUNT(CROSS(GUP3,GUP1),BARSLAST(建仓)+1)=0;
回踩OW<=GUP3 AND CLOSE>GUP3 AND GUP11 AND BARSLAST(建仓)>0,COLORLIRED;
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则