通达信让子弹飞底部反转主图指标公式【源码分享】
2020-06-28原创 编 辑:掌上指标
电脑版效果展示:
手机版效果展示:
指标源码:
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通1:=AA*102/100;
通2:=AA*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
上:(1+7/100)*DD,DOTLINE,COLORGREEN;
下:(1-7/100)*DD,DOTLINE,COLORGREEN;
中:(上+下)/2,DOTLINE,COLORGREEN;
P2:=(HHV(HIGH,55)-LLV(LOW,55))/EMA((CLOSE-LLV(LOW,55)),5);
P7:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
A:=CROSS(P7,P2);
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
反转:=A AND ZT ;
STICKLINE( 反转 AND C>O,C,O,3.2,0),COLOR000066;
STICKLINE(反转 AND C>O,C,O,2.0,0),COLOR000077;
STICKLINE(反转 AND C>O,C,O,1.5,0),COLOR000099;
STICKLINE(反转 AND C>O,C,O,0.9,0),COLOR0000CC;
STICKLINE(反转 AND C>O,C,O,0.5,0),COLOR0000FF;
STICKLINE(反转 AND C>0,O,C,0,0),COLORFFFFFF;
STICKLINE( 反转 AND C>O AND ZT,C*1.001,H,3.2,0),COLOR000066;
STICKLINE(反转 AND C>O AND ZT,C*1.005,H,2.0,0),COLOR000077;
STICKLINE(反转 AND C>O AND ZT,C*1.01,H,1.5,0),COLOR000099;
STICKLINE(反转 AND C>O AND ZT,C*1.015,H,0.9,0),COLOR0000CC;
STICKLINE(反转 AND C>O AND ZT,C*1.02,H,0.2,0),COLOR0000FF;
STICKLINE(反转 AND C>0 AND ZT,O,C*1.02,0,0),COLORFFFFFF;
DRAWTEXT(反转,L*0.99,'【让子弹飞】'),COLORYELLOW;
更多资讯请关注下方掌上指标公众号:
我们的服务:
1、指标转换 --- 根据客户提供的电脑板或者手机版技术指标源码,转换成自己的手机软件使用。
2、指标编写 --- 按照客户定制指标时“提供的编写要求”,制作技术指标。
3、指标修改 --- 按照客户“提供的修改要求”,修改技术指标