通达信指标让子弹飞源码
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;