私募

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

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

[复制链接]
发表于 2019-5-22 01:05:06 | 显示全部楼层 |阅读模式
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
6 H9 o2 p7 e  C; P2 |# I2 ^+ uK:=SMA(RSV,3,1),COLORWHITE;
" m7 o6 P) S8 i* \) o1 `: M' q3 dD:=SMA(K,3,1),COLORYELLOW;
* C  d9 W8 _) O/ F/ \# cJ:=3*K-2*D,COLORFF00FF;  E: x" T: e: e3 ^7 S
A:=250;" Z6 z9 y, Z6 `/ S/ M
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));. L! O( U* q7 _$ f
DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;
1 \: K! a) o7 q/ k7 ^: Y3 lMACD:=2*(DIFF-DEA);7 Z5 I" i3 c: ]& d" j6 a
MM:=IF(MACD< 0,MACD,0); 7 ^3 d* ?% L3 D# I/ Q/ \
JJ:=MM> REF(MM,1);
  H$ }' \/ K5 @1 UZZ:=REF(JJ,1)=1; 4 \1 [$ |. q; O5 t' B
准备:=(JJ AND ZZ)*DEA; 6 f! F# c4 B6 W3 F6 \  v
STICKLINE(准备=DEA,1,-1,2,1),COLORFFFF00;
, O8 j3 _' i) L; fJH:=HHV(MAX(K,MAX(D,J)),A);
1 d) k8 I) E5 X/ U: {) ^% j/ hDH:=HHV(MAX(DIFF,DEA),A);
8 ^/ B, k& k( L$ o9 p+ {SH:=INTPART(JH/DH)/2;
+ r" N( h/ R& `4 G. `, o- K* n3 eDIFF50:=SH*DIFF+50,COLORFFFF00;
7 X/ a* e# `3 P# R( sDEA50:=SH*DEA+50,COLORBLUE;
% @0 L! w' M$ P: Q& oSTICKLINE(DIFF50>DEA50,0,1.5*(DIFF50-DEA50),0,0),COLORRED; , C  ], ^/ G& Z& }% x$ B" F
STICKLINE(DIFF50REF(1.5*(DIFF50-DEA50),1),1.5*(DIFF50-DEA50),0),) F6 l, N% K4 F, h0 k" G
STICK,COLORLICYAN;' V* e% v7 \! V3 @5 m5 [
绿柱: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);
# [3 E( U$ E1 z4 C% {: l缩脚:=IF(1.5*(DIFF50-DEA50)REF(1.5*(DIFF50-DEA50),1),1,0);
1 l& l1 i7 D& y1 `  x& S杀多:=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);) \: G- r5 K, O5 B$ U- G
% ~/ k; Y% g+ v( o
阻力:=IF(CROSS(C,MA(C,20)) OR CROSS(C,MA(C,60)),1,0);
  @! ?# l; N/ J+ ~0 w* qDRAWTEXT(FILTER(杀多,3) AND 杀多,1.5*(DIFF50-DEA50),'杀多'),COLORFF00FF;7 E) `' w1 U  m" ?9 D- A; ~* V
DRAWTEXT(FILTER(缩头,3) AND 缩头,1.5*(DIFF50-DEA50)+0.2,'卖'),COLORFF00FF;* \7 G7 j9 b6 A% E. z: ]$ B7 c
DRAWTEXT(FILTER(诱空,3) AND 诱空,1.5*(DIFF50-DEA50),'?洗盘'),COLOR00FF00;2 c4 z8 g* _/ j$ A
DRAWTEXT(FILTER(缩脚,3) AND 缩脚,1.5*(DIFF50-DEA50)-0.2,'买'),COLOR00FF00;. \. q1 b3 W- n. b, p
DRAWTEXT(FILTER(阻力,16) AND 1.5*(DIFF50-DEA50)>=0,1.5*(DIFF50-DEA50)+0.01,'阻力'),COLOR00FFFF;" \# ^5 Y& }1 N1 b

! ]; k: U8 L1 I  A/ w* a7 sVRA:=REF(CLOSE,1);
' w! |5 {! t) R' l4 |% NVRB:=SMA(MAX(CLOSE-VRA,0),6,1)/SMA(ABS(CLOSE-VRA),6,1)*100; ! y' t4 v, C' L
VRC:=(2*CLOSE+HIGH+LOW)/4;
3 m; Z1 m; Q2 i: _VR0:=LLV(LOW,34);
1 x: }- @4 Q8 v1 @VR1:=HHV(HIGH,34); 3 ]; k7 b) b! B' r( K! \
VR2:=EMA((VRC-VR0)/(VR1-VR0)*100,6);
. ]+ Y+ [' S# b; E5 ZVR3:=EMA(0.667*REF(VR2,1)+0.333*VR2,4);  ( ^$ v) {/ }& F# [( N/ W9 |
VA1:=(REF(HIGH,1)+REF(LOW,1))/2; 1 J7 G' a2 }+ ]+ K, v
VA2:=MA(CLOSE,20)+2*STD(CLOSE,20); 5 }2 h0 o' n6 x0 v3 k
VA3:=REF(CLOSE,1);
3 G: H0 O- x; M( b: D+ k. |5 YVA4:=SMA(MAX(CLOSE-VA3,0),7,1)/SMA(ABS(CLOSE-VA3),7,1)*100;
" K' G# y1 A. J, H4 s+ T8 ~VA5:=CROSS(79,VA4);
" a9 l5 F. u* ^4 A# H' w0 {VA6:=FILTER(VA5,4); 7 T) \. m- S' f7 `) [
VVD:=MA(CLOSE,80)-MA(CLOSE,10)/3; - F9 }' }& B+ q5 L3 E
VA7:=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);   d3 U9 ^3 T" D$ Q8 [9 i
X1:=CROSS(VA1,VA2) OR VA6; 8 t8 n- P* ]* P- j; D; Z/ D" [
X2:=CROSS(84,VRB); - ^, v" z- j; ~% C4 q) D; o

7 {4 E; @% z1 `: u- H% R& uSTICKLINE(X1 OR X2,1.5*(DIFF50-DEA50)*1.05,1.5*(DIFF50-DEA50)*1.08,3,0);
3 y9 g, t# ]: q7 ~# B# A+ @Y1:=IF(COUNT(CLOSE0.3 AND COUNT(VA2>VA3,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0); 7 P7 ~2 c$ s' }/ `# L9 D/ Q
Y2:=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);
+ S: @' o4 |2 H9 n) G8 q# y) \' V6 ]  w
STICKLINE(Y1 OR Y2 OR Y3 OR Y4,1.5*(DIFF50-DEA50)*0.90,1.5*(DIFF50-DEA50)*0.99,3,0);
9 z! C( f, M/ ~* H- a% U1 b( k& ?  D8 I6 ~* F. G# G$ P! ^% d" Y
DD:=C=HHV(C,180); * [6 F6 t6 s8 f+ {- a, U+ a$ y3 R
EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1; 8 ^! `/ _7 z) ^3 u
CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1; ) B6 @; z6 T" Y
上升背离CC AND EE)*1.5*(DIFF50-DEA50),LINETHICK2,COLORWHITE; ! V( J' ^9 Q0 E0 ~8 A% x
顶背离:(DD AND EE AND DEA< HHV(DEA,180))*3*ABS(DIFF50-DEA50),STICK,LINETHICK3,COLORGREEN;
# i9 A, z  u- O3 p1 A. TFF:=C=LLV(C,180);
: a- \9 t1 x( t5 `+ p: n/ l8 w4 MGG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1; % t9 b" v: z: n
LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1; ) y1 W  h8 Z. y0 l/ n* i8 E
降落背离:(LL AND GG)*1.5*(DIFF50-DEA50),LINETHICK2,COLORYELLOW; 7 f! b/ e% B! P9 c2 ?8 W/ H
底背离:(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, 2024-11-28 00:34 , Processed in 0.375230 second(s), 27 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

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