通达信公式爆发线
A:=(LOW+HIGH+CLOSE+OPEN)/4.2;
爆发线:HHV((MA(A,6)),15),COLORYELLOW,LINETHICK2;
KK:=C>爆发线 AND O>爆发线 AND H>爆发线;
STICKLINE(KK>0,O,C,3,1),COLORRED;
STICKLINE(KK>0,H,L,0,1),COLORRED;
KK1:=IF(KK=REF(KK,1),0,1);
买:=KK AND KK1 ;
KK2:=C<爆发线 AND O<爆发线 AND L<爆发线;
STICKLINE(KK2>0,O,C,3,1),COLORGREEN;
STICKLINE(KK2>0,H,L,0,1),COLORGREEN;
KK3:=IF(KK2=REF(KK2,1),0,1);
卖:=KK2 AND KK3;
DRAWICON(买,L*0.9,1);
DRAWICON(买,L*0.85,7);
DRAWICON(卖,H*1.05,2);
DRAWICON(卖,H*1.08,8);
201611717423089941.png
|