2023买入止盈止损 多彩均线主图《通达信+指标+公式+副图+源码》

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



GUP1:EMA(CLOSE,3),COLORBLUE;
GUP2:EMA(CLOSE,5),COLORBLUE;
GUP3:EMA(CLOSE,8),COLORBLUE;
GUP4:EMA(CLOSE,10),COLORBLUE;
GUP5:EMA(CLOSE,12),COLORBLUE;
GUP6:EMA(CLOSE,15),COLORBLUE;
GUP7:EMA(CLOSE,30),COLORYELLOW;
GUP8:EMA(CLOSE,35),COLORYELLOW;
GUP9:EMA(CLOSE,40),COLORYELLOW;
GUP10:EMA(CLOSE,45),COLORYELLOW;
GUP11:EMA(CLOSE,50),COLORYELLOW;
GUP12:EMA(CLOSE,60),COLORYELLOW;
GUA1:=GUP7>GUP8 AND GUP8>GUP9 AND GUP9>GUP10 AND GUP10>GUP11 AND GUP11>GUP12;
GUA2:=GUP7<GUP8 AND GUP8<GUP9 AND GUP9<GUP10 AND GUP10<GUP11 AND GUP11<GUP12;
GUA3:=GUP1>GUP2 AND GUP2>GUP3 AND GUP3>GUP4 AND GUP4>GUP5 AND GUP5>GUP6;
GUA4:=GUP7<GUP8 AND GUP2<GUP3 AND GUP3<GUP4 AND GUP4<GUP5 AND GUP5<GUP6;
IF(GUA1,GUP7,DRAWNULL),COLORBROWN;
IF(GUA1,GUP8,DRAWNULL),COLORBROWN;
IF(GUA1,GUP9,DRAWNULL),COLORBROWN;
IF(GUA1,GUP10,DRAWNULL),COLORBROWN;
IF(GUA1,GUP11,DRAWNULL),COLORBROWN;
IF(GUA1,GUP12,DRAWNULL),COLORBROWN;
IF(GUA2,GUP7,DRAWNULL),COLORCYAN;
IF(GUA2,GUP8,DRAWNULL),COLORCYAN;
IF(GUA2,GUP9,DRAWNULL),COLORCYAN;
IF(GUA2,GUP10,DRAWNULL),COLORCYAN;
IF(GUA2,GUP11,DRAWNULL),COLORCYAN;
IF(GUA2,GUP12,DRAWNULL),COLORCYAN;
IF(GUA3,GUP1,DRAWNULL),COLORRED;
IF(GUA3,GUP2,DRAWNULL),COLORRED;
IF(GUA3,GUP3,DRAWNULL),COLORRED;
IF(GUA3,GUP4,DRAWNULL),COLORRED;
IF(GUA3,GUP5,DRAWNULL),COLORRED;
IF(GUA3,GUP6,DRAWNULL),COLORRED;
IF(GUA4,GUP1,DRAWNULL),COLORGREEN;
IF(GUA4,GUP2,DRAWNULL),COLORGREEN;
IF(GUA4,GUP3,DRAWNULL),COLORGREEN;
IF(GUA4,GUP4,DRAWNULL),COLORGREEN;
IF(GUA4,GUP5,DRAWNULL),COLORGREEN;
IF(GUA4,GUP6,DRAWNULL),COLORGREEN;
GUB1:=((C+L)+H)/3;
GUB2:=EMA(GUB1,6);
GUB3:=EMA(GUB2,5);
GUB4:=CROSS(GUB2,GUB3);
DRAWICON(GUB4,(LOW / 1.015),1),LINETHICK2,COLORMAGENTA;
GUC1:=DATE<=13181231;
工作线EMA(C,14))*GUC1,POINTDOT,LINETHICK4,COLORYELLOW;
P:=21;
GUD1:=IF(L=LLV(L,P),L,DRAWNULL);
GUD2:=CONST(BARSLAST(GUD1!=DRAWNULL));
GUD3:=CONST(IF(GUD2=0,H,REF(H,GUD2)));
GUD4:=CONST(REF(BARSLAST(H>GUD3),GUD2+1)+GUD2+1);
GUD5:=CONST(IF(GUD4=0,H,REF(H,GUD4)));
GUD6:=CONST(REF(BARSLAST(H>GUD5),GUD4+1)+GUD4+1);
进场:IF(CURRBARSCOUNT<=GUD2+21,CONST(IF(GUD6=0,H,REF(H,GUD6))),DRAWNULL),COLORRED;
IF(CURRBARSCOUNT<=GUD2+1,IF(L=LLV(L,P),L,DRAWNULL),DRAWNULL),CIRCLEDOT,COLORRED;
DRAWTEXT(CURRBARSCOUNT=INTPART((GUD2+21)*0.618),进场,'进场线'),COLORRED;
超跌买:IF(CURRBARSCOUNT<=GUD2+21,CONST(IF(GUD4=0,H,REF(H,GUD4))),DRAWNULL),COLORCB21BE;
DRAWTEXT(CURRBARSCOUNT=INTPART((GUD2+21)*0.618),超跌买,'超跌买线'),COLORCB21BE;
GUF1:=IF(H=HHV(H,P),H,DRAWNULL);
GUF2:=CONST(BARSLAST(GUF1!=DRAWNULL));
GUF3:=CONST(IF(GUF2=0,L,REF(L,GUF2)));
GUF4:=CONST(REF(BARSLAST(L<GUF3),GUF2+1)+GUF2+1);
GUF5:=CONST(IF(GUF4=0,L,REF(L,GUF4)));
GUF6:=CONST(REF(BARSLAST(L<GUF5),GUF4+1)+GUF4+1);
止损位:IF(CURRBARSCOUNT<=GUF2+21,CONST(IF(GUF6=0,L,REF(L,GUF6))),DRAWNULL),COLORYELLOW;
IF(CURRBARSCOUNT<=GUF2+1,IF(H=HHV(H,P),H,DRAWNULL),DRAWNULL),CIRCLEDOT,COLORBLUE;
DRAWTEXT(CURRBARSCOUNT=INTPART((GUF2+21)*0.618),止损位,'止损位'),COLORYELLOW;
止赢位:IF(CURRBARSCOUNT<=GUF2+21,CONST(IF(GUF4=0,L,REF(L,GUF4))),DRAWNULL),COLORCB21BE;
DRAWTEXT(CURRBARSCOUNT=INTPART((GUF2+21)*0.618),止赢位,'止赢位'),COLORCB21BE;

选股公式源码



{选股公式:红箭头图标}
P:=21;GUD1:=IF(L=LLV(L,P),L,DRAWNULL);
GUD2:=CONST(BARSLAST(GUD1!=DRAWNULL));
GUD3:=CONST(IF(GUD2=0,H,REF(H,GUD2)));
GUD4:=CONST(REF(BARSLAST(H>GUD3),GUD2+1)+GUD2+1);
GUD5:=CONST(IF(GUD4=0,H,REF(H,GUD4)));
GUD6:=CONST(REF(BARSLAST(H>GUD5),GUD4+1)+GUD4+1);
GUB1:=((C+L)+H)/3;
GUB2:=EMA(GUB1,6);
GUB3:=EMA(GUB2,5);
GUB4:=CROSS(GUB2,GUB3);
红箭头图标:GUB4;
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则