江山布林 通达信多空趋势主图提示指标公式 源码
指标介绍:
指标类工具,仅供投资者参考,使用时请结合其他技术指标、成交量、大盘走势等多因素进行综合判断。
指标源码:
多空线:MA(CLOSE,26);
趋势线:EMA((EMA(CLOSE,3)+EMA(CLOSE,5)+EMA(CLOSE,8)+EMA(CLOSE,13))/4,2),COLORRED;
江山阻力:多空线+2*STD(CLOSE,26);
江山压力:多空线+1.7*2*STD(CLOSE,26);
江山支撑:多空线-2*STD(CLOSE,26);
江山撑:多空线-1.7*2*STD(CLOSE,26);
ZX:=( MA(C,3)+ MA(C,5))/2;
QSXS:= MA(C,5)>= MA(C,30) AND MA(C,30)>REF(MA(C,30),1);
GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2);
YB:=C>REF((O-C)/2+C,2);
买:=CROSS(C,ZX) AND (GD OR YB) AND QSXS;
优:=买 AND MA(C,5)>REF(MA(C,5),1);
{以下设置主图显示方式}
STICKLINE(买,H,L,0,1),COLOR00FF00,LINETHICK2;
STICKLINE(买,O,C,3,1),COLOR00FF00,LINETHICK2;
STICKLINE(优,H,L,0,1),COLORYELLOW,LINETHICK2;
STICKLINE(优,O,C,3,1),COLORYELLOW,LINETHICK2;
AA:=(C*2+H+L+O)/5;
A0:=MA(C,5);
A1:=(EMA(AA,4)+MA(AA,8)+MA(AA,16))/3;
A2:=(EMA(AA,9)+MA(AA,18)+MA(AA,36))/3;
A3:=(EMA(AA,13)+MA(AA,26)+MA(AA,52))/3;
A4:=(EMA(AA,24)+MA(AA,48)+MA(AA,96))/3;
A5:=EMA(100*(C-LLV(L,100))/(HHV(H,100)-LLV(L,100)),5);
A6:=A5/4;
A7:=MAX(MAX(A1,A2),MAX(A3,A4));
A8:=MIN(MIN(A1,A2),MIN(A3,A4));
A9:=MIN(MIN(A1,A2),A3);
A10:=MAX(MAX(A1,A2),A3);
DRAWICON(CROSS(A2,A4)AND A3>REF(A3,1)AND A0>REF(A0,2)AND (A1-A4)/A4<0.02,A2,9);
DRAWICON(CROSS(A1,A4)AND CROSS(A2,A3),A1*0.95,1);
DRAWTEXT(FILTER(H>A7 AND L<A8 AND A1>REF(A1,1)AND A2>REF(A2,1)AND A4>
REF(A4,2)AND (A7-A8)/A8<0.04 AND C>O AND (H-C)/(C-O)<0.4,3),A4-0.1,'穿四线');
DRAWTEXT(LONGCROSS(A1,A3,30)AND (A4-A3)/A3<0.05 AND A10<A4,A1*0.98,'圆弧底'),COLORRED;
DRAWTEXT(LONGCROSS(A1,A2,15)AND CROSS(A2,A3),A1*0.97,'双交叉');
指标图示:
指标公式评论
(江山布林 通达信多空趋势主图提示指标公式 源码)