低吸主图及选股《通达信+指标+公式+副图+源码》分享

[复制链接]
查看170232 | 回复1 | 2022-12-9 16:19 | 显示全部楼层 |阅读模式
叶梵宸指标论坛免责声明
叶梵宸指标公式网(www.yefanchen.com)提醒您:本版块指标由市场整理提供 本指标不提供安装指导与使用方法 源码指标自行复制下载后 自行研究 股市是具有不确定性和不可预测性的,请正常对待和使用指标公式!如存在原创侵权问题 联系本平台客服 谢谢配合
6392ef5f52823.png
6392ef7ccbff7.png
指标源码:
A13:=EMA(C,13),COLORWHITE;
A21:=EMA(C,21),COLORYELLOW;
A34:=EMA(C,34),COLORFF00FF;
A60:=MA(C,60),COLORFFCC66;
AR2:=(2*CLOSE+HIGH+LOW)/4;
AR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
AR4:=LLV(LOW,5);
AR5:=HHV(HIGH,4);
散户:=EMA((AR2-AR4)/(AR5-AR4)*100,4)*AR3;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*AR3;
DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←低吸'),COLORLIRED;
DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.05,'←高抛'),COLORGREEN;
DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);
DRAWICON(CROSS(庄家,散户) AND 散户>70,H+0.05,2);
AR9:=CLOSE-REF(CLOSE,5);
ARA:=EMA(EMA(AR9,5),5)/EMA(EMA(ABS(AR9),5),5);
ARC:=EMA(EMA(AR9,20),20)/EMA(EMA(ABS(AR9),20),20);
卖出:=IF(ARA>0 AND CROSS(ARC,ARA),90,100);
DRAWICON(卖出<0,H+0.05,2);
买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
AA1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;
AA2:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
AAA:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3;
B2:=IF(AAA>20 AND FILTER(AAA< REF(AAA,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN;
B0:=(L+H+C*2)/4;
B1A:EMA(B0,14)COLORBLUE,LINETHICK2;
B2A:=EMA(B0,25)COLORLIBLUE,LINETHICK2;
B1X:=(B1A-REF(B1A,1))/REF(B1A,1)*100,NODRAW;
B2X:=(B2A-REF(B2A,1))/REF(B2A,1)*100,NODRAW;
看多:IF(B1X>=0 AND BARSLAST(CROSS(B1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(B1X,0))),DRAWNULL),COLORMAGENTA{,LINETHICK2};
逃顶:IF(B1X<0 AND BARSLAST(CROSS(0,B1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,B1X))),DRAWNULL),COLORCYAN,{LINETHICK2};
买入持股:IF(B1X>=0,B1A,DRAWNULL)COLORRED,LINETHICK3;
卖出空仓:IF(B1X<0 AND B2X<0,B1A,DRAWNULL)COLORGREEN,LINETHICK3;

选股源码:
A13:=EMA(C,13),COLORWHITE;
A21:=EMA(C,21),COLORYELLOW;
A34:=EMA(C,34),COLORFF00FF;
A60:=MA(C,60),COLORFFCC66;
AR2:=(2*CLOSE+HIGH+LOW)/4;
AR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
AR4:=LLV(LOW,5);
AR5:=HHV(HIGH,4);
散户:=EMA((AR2-AR4)/(AR5-AR4)*100,4)*AR3;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*AR3;
DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);



漂泊浪子 | 2023-4-2 20:09 | 显示全部楼层
学习了
回复

使用道具 举报

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

本版积分规则