短线启动稳健买 风险逃顶防套牢《通达信 副图 选股 源码 ...

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



MA1:MA(CLOSE,5);

MA2:=MA(CLOSE,10);

MA3:=MA(CLOSE,30);

MA4:MA(CLOSE,30);

GUP1:=1;

GUP2:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;

GUP3:=CLOSE>OPEN AND OPEN-LOW>HIGH-CLOSE;

GUP4:=REF(GUP2,1)<-20 AND GUP3;

GUP5:=REF(GUP2,1)<-20 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;

GUP6:=FILTER(GUP4 OR GUP5,3);

GUP7:=OPEN>CLOSE AND HIGH-IF(CLOSE>OPEN,CLOSE,OPEN)>IF(OPEN<CLOSE,OPEN,CLOSE)-LOW;

GUP8:=REF(GUP2,1)>ABS(-20) AND GUP7;

GUP9:=REF(GUP2,1)>ABS(-20) AND CLOSE<OPEN AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*1000>20;

GUPA:=FILTER(GUP8 OR GUP9,3);

GUPB:=CLOSE>OPEN AND OPEN-LOW>HIGH-CLOSE;

GUPC:=REF(GUP2,1)<-13 AND GUP3;

GUPD:=REF(GUP2,1)<-13 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;

GUPE:=FILTER(GUPC OR GUPD,3);

GUPF:=OPEN>CLOSE AND HIGH-IF(CLOSE>OPEN,CLOSE,OPEN)>IF(OPEN<CLOSE,OPEN,CLOSE)-LOW;

GUP10:=REF(GUP2,1)>ABS(-13) AND GUP7;

GUP11:=REF(GUP2,1)>ABS(-13) AND CLOSE<OPEN AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*1000>20;

GUP12:=FILTER(GUP10 OR GUP11,3);

DRAWICON(GUP6*GUP1>0,LOW,1);

DRAWICON(GUPA*GUP1>0,HIGH,2);

DRAWTEXT(GUPE*GUP1>0,1.02*REF(CLOSE,1),'短买'),COLORGREEN;

DRAWTEXT(GUP12*GUP1>0,0.99*REF(CLOSE,1),'风险'),COLORYELLOW;




选股公式源码:



{选股公式一:短买}

GUP1:=1;

GUP2:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;

GUP3:=CLOSE>OPEN AND OPEN-LOW>HIGH-CLOSE;

GUP7:=OPEN>CLOSE AND HIGH-IF(CLOSE>OPEN,CLOSE,OPEN)>IF(OPEN<CLOSE,OPEN,CLOSE)-LOW;

GUP8:=REF(GUP2,1)>ABS(-20) AND GUP7;

GUP9:=REF(GUP2,1)>ABS(-20) AND CLOSE<OPEN AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*1000>20;

GUPA:=FILTER(GUP8 OR GUP9,3);

GUPB:=CLOSE>OPEN AND OPEN-LOW>HIGH-CLOSE;

GUPC:=REF(GUP2,1)<-13 AND GUP3;

GUPD:=REF(GUP2,1)<-13 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;

GUPE:=FILTER(GUPC OR GUPD,3);

短买:GUPE*GUP1>0;

{选股公式二:红箭头}

GUP1:=1;

GUP2:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;

GUP3:=CLOSE>OPEN AND OPEN-LOW>HIGH-CLOSE;

GUP4:=REF(GUP2,1)<-20 AND GUP3;

GUP5:=REF(GUP2,1)<-20 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;

GUP6:=FILTER(GUP4 OR GUP5,3);

红箭头:GUP6*GUP1>0;
漂泊浪子 | 2023-4-2 19:10 | 显示全部楼层
学习了
回复

使用道具 举报

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

本版积分规则