做短线的好工具,发出来与各人共享. * e1 E; }' B8 V8 |0 k% x5 h
用法:赤色持股 黄色注意风险 绿色持币
' g1 J- E) l) {{短线英豪-通达信 } ; [1 [2 ~2 u" V W" V
MA05:MA(C,5)LINETHICK3,COLOR00CCFF; 8 b! \+ {2 J; t6 }
MA10:=MA(C,10);
t" T+ c9 t+ B$ R, RMA20:=MA(C,20); 4 `, X, h) Q0 ]4 t- O) a' y# Q. J! a
MA30:=MA(C,30);
; R2 r9 T% U p, o* i8 {0 v五日乖离率:=(C-MA05)/MA05*100; - U: A9 \3 G! z' P; n2 S5 X% G
BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416; . P2 k! b+ {( V* A+ y
速率5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);
' a9 e h( z: c6 ?& Y加速率5:=EMA((速率5-REF(速率5,1)),3),NODRAW;
, d" t1 i, n- Y# U4 KIF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED; * Z% m/ Q3 h* i/ i C% L
BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
& \2 I6 G- h% c8 t) t' H% EIF(BB05REF(MA20,1) AND MA30>REF(MA30,1);
* F4 w9 h o/ d; y0 S t" lVAR2:=(MA30-MA20)=1 AND MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)
" D, V4 {+ f8 x4 K/ @ HAND 加速率5>REF(加速率5,1) AND 速率5>REF(速率5,1) ,10) ;
* K, Z0 z6 @! \) [8 O1 W% A; B清仓:=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) |