通达信专用——【猛牛】指标公式MAV:=...
通达信专用——【猛牛】指标公式
MAV:=(C*2+H+L)/4;
SK := EMA(MAV,1) - EMA(MAV,40);
SD := EMA(SK,5);
B:=(SK-SD)*100;
猛牛拉升:=IF(B<-20,-20,IF(B>100,100,B));
强:= 40;
DRAWICON(CROSS(猛牛拉升,强) AND REF(猛牛拉升=-20,1),H+0.38, 24);
DRAWTEXT(CROSS(猛牛拉升,强) AND REF(猛牛拉升=-20,1),L-1.88,'↖猛牛');
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
突破盘整:W4 AND COUNT(W4,5)=1;
DRAWICON(突破盘整,L-0.10,34);
M:=10;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
下轨通道2:=(1-M/100)*DD;
ARSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(ARSV,2,1);
D:=SMA(K,2,1);
J:=3*K-2*D;
MJ:=CROSS(J,0);
XG:=CROSS(L,下轨通道2) AND MJ AND REF(C<下轨通道2,1) ;
DRAWTEXT(XG,L-0.66,'↖千钧一击'),coloryellow;
赞 (0)