2023底部出击买牛 高效仓位管理《通达信+指标+公式+副图+源码》

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


G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=G1-REF(G1,1);
GUP2:=100*EMA(EMA(GUP1,5),3)/EMA(EMA(ABS(GUP1),5),3);
GUP3:=100*EMA(EMA(GUP1,13),8)/EMA(EMA(ABS(GUP1),13),8);
GUP4:=GUP2>GUP3;
GUP5:=IF(GUP4,6,0);
GUP6:=EMA(G1,8)-EMA(G1,13);
GUP7:=EMA(GUP6,5);
GUP8:=GUP6>GUP7;
GUP9:=IF(GUP8,1,0);
GUP10:=(EMA(G1,3)+EMA(G1,6)+EMA(G1,12)+EMA(G1,24))/4;
GUP11:=G1>GUP10;
GUP12:=IF(GUP11,5,0);
GUP13:=(G1-LLV(G2,8))/(HHV(G4,8)-LLV(G2,8))*100;
GUP14:=SMA(GUP13,3,1);
GUP15:=SMA(GUP14,3,1);
GUP16:=GUP14>GUP15;
GUP17:=IF(GUP16,2,0);
GUP18:=REF(G1,1);
GUP19:=SMA(MAX(G1-GUP18,0),5,1)/SMA(ABS(G1-GUP18),5,1)*100;
GUP20:=SMA(MAX(G1-GUP18,0),13,1)/SMA(ABS(G1-GUP18),13,1)*100;
GUP21:=GUP19>GUP20;
GUP22:=IF(GUP21,3,0);
GUP23:=(-(HHV(G4,13)-G1))/(HHV(G4,13)-LLV(G2,13))*100;
GUP24:=SMA(GUP23,3,1);
GUP25:=SMA(GUP24,3,1);
GUP26:=GUP24>GUP25;
GUP27:=IF(GUP26,4,0);
GUP28:=GUP8+GUP16+GUP21+GUP26+GUP11+GUP4-3;
持股:GUP28>0,NODRAW,COLORLIRED;
持币:GUP28<0,NODRAW,COLORGREEN;
变盘:GUP28=0,NODRAW,COLORYELLOW;
0,COLORYELLOW;
STICKLINE(持股,0,GUP28,2,0),COLORLIRED;
STICKLINE(持币,0,ABS(GUP28),2,0),COLORGREEN;
STICKLINE(变盘,0,1,2,0),COLORYELLOW;
DRAWICON(持股 AND REF(GUP28,1)<=0,-0.8,1);
DRAWICON(持币 AND REF(GUP28,1)>=0,-0.8,2);
出击:持股 AND REF(GUP28,1)<=0 AND CROSS(G1,EMA(G1,5)) AND CROSS(G1,EMA(G1,10)) AND CROSS(G1,EMA(G1,20)) AND G2>REF(G2,1) AND MACD.MACD>0,NODRAW,COLORRED;
STICKLINE(出击,-0.5,0,3,0),COLORRED;
STICKLINE(出击,-0.5,-1,3,0),COLORYELLOW;

选股公式源码



{选股公式一:红箭头图标}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=G1-REF(G1,1);
GUP2:=100*EMA(EMA(GUP1,5),3)/EMA(EMA(ABS(GUP1),5),3);
GUP3:=100*EMA(EMA(GUP1,13),8)/EMA(EMA(ABS(GUP1),13),8);
GUP4:=GUP2>GUP3;
GUP5:=IF(GUP4,6,0);
GUP6:=EMA(G1,8)-EMA(G1,13);
GUP7:=EMA(GUP6,5);
GUP8:=GUP6>GUP7;
GUP9:=IF(GUP8,1,0);
GUP10:=(EMA(G1,3)+EMA(G1,6)+EMA(G1,12)+EMA(G1,24))/4;
GUP11:=G1>GUP10;
GUP12:=IF(GUP11,5,0);
GUP13:=(G1-LLV(G2,8))/(HHV(G4,8)-LLV(G2,8))*100;
GUP14:=SMA(GUP13,3,1);
GUP15:=SMA(GUP14,3,1);
GUP16:=GUP14>GUP15;
GUP17:=IF(GUP16,2,0);
GUP18:=REF(G1,1);
GUP19:=SMA(MAX(G1-GUP18,0),5,1)/SMA(ABS(G1-GUP18),5,1)*100;
GUP20:=SMA(MAX(G1-GUP18,0),13,1)/SMA(ABS(G1-GUP18),13,1)*100;
GUP21:=GUP19>GUP20;
GUP22:=IF(GUP21,3,0);
GUP23:=(-(HHV(G4,13)-G1))/(HHV(G4,13)-LLV(G2,13))*100;
GUP24:=SMA(GUP23,3,1);
GUP25:=SMA(GUP24,3,1);
GUP26:=GUP24>GUP25;
GUP27:=IF(GUP26,4,0);
GUP28:=GUP8+GUP16+GUP21+GUP26+GUP11+GUP4-3;
持股:=GUP28>0,COLORLIRED;
红箭头图标:持股 AND REF(GUP28,1)<=0;
{选股公式二:出击}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=G1-REF(G1,1);
GUP2:=100*EMA(EMA(GUP1,5),3)/EMA(EMA(ABS(GUP1),5),3);
GUP3:=100*EMA(EMA(GUP1,13),8)/EMA(EMA(ABS(GUP1),13),8);
GUP4:=GUP2>GUP3;
GUP5:=IF(GUP4,6,0);
GUP6:=EMA(G1,8)-EMA(G1,13);
GUP7:=EMA(GUP6,5);
GUP8:=GUP6>GUP7;
GUP9:=IF(GUP8,1,0);
GUP10:=(EMA(G1,3)+EMA(G1,6)+EMA(G1,12)+EMA(G1,24))/4;
GUP11:=G1>GUP10;
GUP12:=IF(GUP11,5,0);
GUP13:=(G1-LLV(G2,8))/(HHV(G4,8)-LLV(G2,8))*100;
GUP14:=SMA(GUP13,3,1);
GUP15:=SMA(GUP14,3,1);
GUP16:=GUP14>GUP15;
GUP17:=IF(GUP16,2,0);
GUP18:=REF(G1,1);
GUP19:=SMA(MAX(G1-GUP18,0),5,1)/SMA(ABS(G1-GUP18),5,1)*100;
GUP20:=SMA(MAX(G1-GUP18,0),13,1)/SMA(ABS(G1-GUP18),13,1)*100;
GUP21:=GUP19>GUP20;
GUP22:=IF(GUP21,3,0);
GUP23:=(-(HHV(G4,13)-G1))/(HHV(G4,13)-LLV(G2,13))*100;
GUP24:=SMA(GUP23,3,1);
GUP25:=SMA(GUP24,3,1);
GUP26:=GUP24>GUP25;
GUP27:=IF(GUP26,4,0);
GUP28:=GUP8+GUP16+GUP21+GUP26+GUP11+GUP4-3;
持股:=GUP28>0,COLORLIRED;
出击:持股 AND REF(GUP28,1)<=0 AND CROSS(G1,EMA(G1,5)) AND CROSS(G1,EMA(G1,10)) AND CROSS(G1,EMA(G1,20)) AND G2>REF(G2,1) AND MACD.MACD>0,COLORRED;
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则