私募

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz

[选股技巧] [通达信] 精品指标之股票杀多、洗盘、买卖、背离一目了然

[复制链接]
发表于 2019-5-22 01:05:06 | 显示全部楼层 |阅读模式
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
' L" N% ?- w3 |7 FK:=SMA(RSV,3,1),COLORWHITE;
8 t4 v4 _3 }" O3 [9 k$ }9 X$ ?D:=SMA(K,3,1),COLORYELLOW;
8 D" E7 b& X* nJ:=3*K-2*D,COLORFF00FF;7 [  A0 {; e) |: g5 Y4 i7 E0 q$ i7 f, c
A:=250;$ l' C' f- m; k5 \
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));3 J1 U  @3 M/ p" A2 ?" P( z
DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;6 C* v* a6 x1 Q* \- g/ \4 U& f; r
MACD:=2*(DIFF-DEA);
! [! j' A! i" L& j( p2 d, g4 tMM:=IF(MACD< 0,MACD,0); : [3 R1 e, N# s/ y, R/ \, S
JJ:=MM> REF(MM,1);
8 H4 K4 @) \) A2 N% N3 a. nZZ:=REF(JJ,1)=1; " X# v! e7 q2 G# P4 {+ r/ a7 k
准备:=(JJ AND ZZ)*DEA;
9 {+ Y7 i5 _! S4 ISTICKLINE(准备=DEA,1,-1,2,1),COLORFFFF00;1 g4 {/ D# G' h8 E$ E  B9 N
JH:=HHV(MAX(K,MAX(D,J)),A);( j9 k  h2 i! ^  q
DH:=HHV(MAX(DIFF,DEA),A);
' O1 Y. z% P. s9 E: I, ySH:=INTPART(JH/DH)/2;
! ^; A1 K0 U: u/ ~) V/ f, KDIFF50:=SH*DIFF+50,COLORFFFF00;5 z5 f9 n9 _$ C  ^( m' }
DEA50:=SH*DEA+50,COLORBLUE;
- }8 a) A. E5 N- OSTICKLINE(DIFF50>DEA50,0,1.5*(DIFF50-DEA50),0,0),COLORRED;
# j2 j' H7 p: A- ~% d- ]9 w/ hSTICKLINE(DIFF50REF(1.5*(DIFF50-DEA50),1),1.5*(DIFF50-DEA50),0),2 w. _' }- I4 v3 }6 M/ @
STICK,COLORLICYAN;' I8 e5 W. G$ w1 ?8 E" r+ N
绿柱:IF(1.5*(DIFF50-DEA50)0 AND REF(1.5*(DIFF50-DEA50),1)>REF(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)< REF(1.5*(DIFF50-DEA50),1),1,0);
8 D( ^% _6 t- B5 D3 k$ l缩脚:=IF(1.5*(DIFF50-DEA50)REF(1.5*(DIFF50-DEA50),1),1,0);
4 n, O/ ?7 d' ~& y; J1 q  {杀多:=IF(1.5*(DIFF50-DEA50) REF(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)0 AND REF(1.5*(DIFF50-DEA50),1)< REF(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)>REF(1.5*(DIFF50-DEA50),1),1,0);
+ U1 C1 N; n6 Q4 k) B; M* L' ?) j! j5 d
阻力:=IF(CROSS(C,MA(C,20)) OR CROSS(C,MA(C,60)),1,0);/ X5 P2 r+ }' `
DRAWTEXT(FILTER(杀多,3) AND 杀多,1.5*(DIFF50-DEA50),'杀多'),COLORFF00FF;
+ d9 g% |9 e* qDRAWTEXT(FILTER(缩头,3) AND 缩头,1.5*(DIFF50-DEA50)+0.2,'卖'),COLORFF00FF;
* W% M( e+ f3 f6 d& T4 KDRAWTEXT(FILTER(诱空,3) AND 诱空,1.5*(DIFF50-DEA50),'?洗盘'),COLOR00FF00;- z/ x1 P: W' u% d" p
DRAWTEXT(FILTER(缩脚,3) AND 缩脚,1.5*(DIFF50-DEA50)-0.2,'买'),COLOR00FF00;( N" K' C& a- {+ j* C
DRAWTEXT(FILTER(阻力,16) AND 1.5*(DIFF50-DEA50)>=0,1.5*(DIFF50-DEA50)+0.01,'阻力'),COLOR00FFFF;7 I' E2 g) _! l6 G
" z- ^2 L# F/ S3 v* h0 ]
VRA:=REF(CLOSE,1);
* s# L; i% i. {& M5 v3 O% o, KVRB:=SMA(MAX(CLOSE-VRA,0),6,1)/SMA(ABS(CLOSE-VRA),6,1)*100;
; w- {+ {0 N$ U* B% {0 D  YVRC:=(2*CLOSE+HIGH+LOW)/4; $ k" n' i! ]2 [9 {& c' k
VR0:=LLV(LOW,34); / y- `( w4 ^- \; b6 J. h
VR1:=HHV(HIGH,34);
7 [/ ?: p6 M8 T& uVR2:=EMA((VRC-VR0)/(VR1-VR0)*100,6); ( H2 j9 f! t+ y, f, l2 P
VR3:=EMA(0.667*REF(VR2,1)+0.333*VR2,4);  
9 q) G7 M# @6 `" V6 h6 ^' HVA1:=(REF(HIGH,1)+REF(LOW,1))/2;
  d+ F" i! C$ oVA2:=MA(CLOSE,20)+2*STD(CLOSE,20);
1 ?9 Z" A. Q% c# _7 MVA3:=REF(CLOSE,1); 5 R2 [3 r1 c, `- z
VA4:=SMA(MAX(CLOSE-VA3,0),7,1)/SMA(ABS(CLOSE-VA3),7,1)*100;
( }, s; _9 u- _1 p  y+ P$ ^! ]VA5:=CROSS(79,VA4);
3 z- ?0 q; m2 w' u( |* K# a' jVA6:=FILTER(VA5,4);
2 J8 v0 b. ~' N! iVVD:=MA(CLOSE,80)-MA(CLOSE,10)/3;
" U9 \8 `! L5 a3 FVA7:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
1 a6 }9 J# j5 B. [) T2 yX1:=CROSS(VA1,VA2) OR VA6;
6 L) K: ?# q. r3 z6 |X2:=CROSS(84,VRB);   E0 r9 U) J' @

/ Y+ y2 F/ z1 d3 ^STICKLINE(X1 OR X2,1.5*(DIFF50-DEA50)*1.05,1.5*(DIFF50-DEA50)*1.08,3,0);
8 d- _* ]( u7 WY1:=IF(COUNT(CLOSE0.3 AND COUNT(VA2>VA3,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);
  R1 g! D! B  t/ G* D  X+ L! eY2:=IF(CLOSEMA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSEVR3,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);
1 w% d; d2 y" F- Q  h& j, f) D/ T' E5 r
STICKLINE(Y1 OR Y2 OR Y3 OR Y4,1.5*(DIFF50-DEA50)*0.90,1.5*(DIFF50-DEA50)*0.99,3,0);
* F. D2 e6 d: U" E
5 Y! }3 d3 ^+ gDD:=C=HHV(C,180); 6 h: [. E- B% z2 H+ b
EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1; + P+ X/ U0 K4 r
CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;   L9 K3 q0 J- W7 B3 P
上升背离CC AND EE)*1.5*(DIFF50-DEA50),LINETHICK2,COLORWHITE; 3 p( w# y& O& X
顶背离:(DD AND EE AND DEA< HHV(DEA,180))*3*ABS(DIFF50-DEA50),STICK,LINETHICK3,COLORGREEN;
% L3 ^9 D( H5 ~FF:=C=LLV(C,180); 3 q! x  y& D' Z! K. p1 a) Y$ m6 r
GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1; . R; m* s$ p  [# w: K: q9 u
LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;
& V1 ?& O0 Q& W$ B7 P. z2 e% f# s4 s降落背离:(LL AND GG)*1.5*(DIFF50-DEA50),LINETHICK2,COLORYELLOW; / ~3 n3 T7 e! b  v
底背离:(FF AND GG AND DEA> LLV(DEA,180))*3*(DIFF50-DEA50),STICK,LINETHICK3,COLORRED;
http://www.simu001.cn/x73320x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Archiver| ( 桂ICP备12001440号-3 )|网站地图

GMT+8, 2025-4-5 18:01 , Processed in 0.519706 second(s), 26 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表