2023持仓多空界线 买卖简洁清晰《通达信+指标+公式+副图+源码》

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

N:=11;M:=36;
持仓线:MA(CLOSE,N),COLORMAGENTA,LINETHICK1;
多空线:MA(CLOSE,M),COLORGREEN,LINETHICK1;
界:=CROSS(CLOSE,MA(CLOSE,36)) AND MA(CLOSE,11)<MA(CLOSE,36) AND CLOSE>(REF(LOW,1)+REF(HIGH,1))/2 OR(LOW<多空线 AND CLOSE>多空线 AND CROSS(持仓线,多空线) AND CLOSE>(REF(LOW,1)+REF(HIGH,1))/2),COLORRED,NODRAW;
ZT:=C>=1.096*REF(C,1),NODRAW;
STICKLINE(ZT,O,REF(C,1)*1.1,1,0),COLORYELLOW;
MA11:=MA(CLOSE,11);
破:=CROSS(MA11,CLOSE);
STICKLINE(界,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(界,OPEN,H,0.0,0),COLORRED;
STICKLINE(界,C,L,0.0,0),COLORRED;
STICKLINE(破,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(破,C,H,0.0,0),COLORGREEN;
STICKLINE(破,O,L,0.0,0),COLORGREEN;
GUP1:=30;
GUP2:=60;
GUP3:=(CLOSE-LLV(LOW,GUP1))/(HHV(HIGH,GUP1)-LLV(LOW,GUP1))*100;
GUP4:=SMA(GUP3,5,1);
GUP5:=SMA(GUP4,3,1);
GUP6:=3*GUP4-2*GUP5;
GUP16:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
GUP17:=SMA(GUP16,13,8);
多:=CEILING(SMA(GUP17,13,8)),COLORYELLOW,LINETHICK1;
DRAWICON(FILTER(GUP6<REF(GUP6,1) AND 多<=REF(多,1) AND GUP6>85,5),H*1.01,2);
买:=IF(CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10),70,0),COLORRED,LINETHICK2;
DRAWICON(买>0,L,7);

选股公式源码



{选股公式:B图标}
GUP1:=30;
GUP2:=60;
GUP3:=(CLOSE-LLV(LOW,GUP1))/(HHV(HIGH,GUP1)-LLV(LOW,GUP1))*100;
GUP4:=SMA(GUP3,5,1);
GUP5:=SMA(GUP4,3,1);
GUP6:=3*GUP4-2*GUP5;
买:=IF(CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10),70,0),COLORRED,LINETHICK2;
B图标:买>0;
{卖出公式:绿箭头图标}
GUP1:=30;
GUP2:=60;
GUP3:=(CLOSE-LLV(LOW,GUP1))/(HHV(HIGH,GUP1)-LLV(LOW,GUP1))*100;
GUP4:=SMA(GUP3,5,1);
GUP5:=SMA(GUP4,3,1);
GUP6:=3*GUP4-2*GUP5;
GUP16:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
GUP17:=SMA(GUP16,13,8);
多:=CEILING(SMA(GUP17,13,8)),COLORYELLOW,LINETHICK1;
绿箭头图标:FILTER(GUP6<REF(GUP6,1) AND 多<=REF(多,1) AND GUP6>85,5);
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则