做短线的好工具,发出来与各人共享. # A8 q5 @+ j) _ S' w
用法:赤色持股 黄色注意风险 绿色持币 4 [( i/ v3 l* g/ z
{短线英豪-通达信 } $ M5 T6 d0 g0 b4 C5 b0 c- W
MA05:MA(C,5)LINETHICK3,COLOR00CCFF;
; D+ w: K9 E& R9 F& x- F$ m7 @MA10:=MA(C,10); 6 R4 q' W) Q% U# F" J9 O
MA20:=MA(C,20); 8 [6 B; P. N; a: D& @
MA30:=MA(C,30);
0 Y, G1 U0 L! G$ `! I' F9 N五日乖离率:=(C-MA05)/MA05*100; 7 j( a, F- u' o; Q6 I
BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416; 9 o! }! g; g4 E$ z' U8 g
速率5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1); * H1 K3 G+ V. R( r3 W& U7 V. d
加速率5:=EMA((速率5-REF(速率5,1)),3),NODRAW; - {+ n& R% x6 c# Q1 b8 L
IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED;
1 O9 A- Y8 \- u4 D4 b2 rBB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416; $ z. _5 O% m3 ~. ^; l6 T# [' T' K
IF(BB05REF(MA20,1) AND MA30>REF(MA30,1);
/ `" Y/ Q1 Z2 G: j& rVAR2:=(MA30-MA20)=1 AND MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1) ! |; r( l0 ]/ A4 q
AND 加速率5>REF(加速率5,1) AND 速率5>REF(速率5,1) ,10) ; 3 U; n& ^- x1 i2 @) T5 A/ @& ?
清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1) |