做短线的好工具,发出来与各人共享. 8 r- t& j: E `
用法:赤色持股 黄色注意风险 绿色持币 # j2 [: {! Z* l. a$ L3 R: H! f* z
{短线英豪-通达信 } 1 F+ v" @1 p0 o5 z5 I9 b
MA05:MA(C,5)LINETHICK3,COLOR00CCFF;
* Q. B% r( `- S5 @( L! jMA10:=MA(C,10);
' R" c" U' G' |MA20:=MA(C,20); " O% i) z6 W$ K g% p6 L4 p' x& J
MA30:=MA(C,30); ; e+ p( ^1 {' p+ d1 S7 C
五日乖离率:=(C-MA05)/MA05*100; % P8 `. G* o- |5 O9 d& b7 Q
BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;
0 D4 \ r! z3 n3 N O) \速率5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);
, C3 w6 Q, A% }6 F+ _- d, Z/ Q9 H加速率5:=EMA((速率5-REF(速率5,1)),3),NODRAW; % [+ K3 B; ?9 |; h
IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED; 2 W3 k5 P i ]( L2 a/ I
BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416; ' j( S( k" E, T+ s4 l& U
IF(BB05REF(MA20,1) AND MA30>REF(MA30,1);
7 Q- j! W. d7 O# i: Q+ b. CVAR2:=(MA30-MA20)=1 AND MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1) ( ?: k! k" S- o* }3 }
AND 加速率5>REF(加速率5,1) AND 速率5>REF(速率5,1) ,10) ; - y; G0 |4 `+ p- x0 a& G
清仓:=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) |