私募

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

[选股技巧] {同花顺}主图彩色布林 适合主升浪选手

[复制链接]
发表于 2019-5-22 01:00:14 | 显示全部楼层 |阅读模式
指标先容: $ {6 R2 k! j6 D% d+ C4 l& `( ^/ a

& y, c, G' n) a+ a5 f0 f! j& |主图彩色布林线 一览无余 恰当追主升浪 有爱好的不妨试试 ( B; _, n2 k5 o$ l

1 m- {7 D  x& T# k* v% a' i公式源码: ! e8 o5 |: n+ ]2 Q5 q/ d+ w9 j. n

+ A" }: M, i. a/ W: q" j" b二分位H+L)/2 ,LINETHICK3,coloryellow,POINTDOT;, y: x  Y. @- t/ f" `! e
MID1 : MA(CLOSE,18),POINTDOT,LINETHICK3,colorwhite;
. s) C  G: R; b+ T( O5 \UPPER1: MID1 + 2*STD(CLOSE,14),linethick2,coloryellow;/ H. j7 ]# K$ i# o) I4 V( O  l
LOWER1: MID1 - 2*STD(CLOSE,14),linethick2,coloryellow;
, @+ u4 p! u* H2 t3 ]: rVAR1:=UPPER1;
" N) F5 r# C: J: S. F5 U# b, z" VFF:=VAR1>REF(VAR1,1);2 f+ g9 j: Y5 U  a0 ]5 V
PARTLINE(VAR1,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;
. O8 _2 ]+ O  ?; NVAR2:=LOWER1;/ {% b9 P4 T# A0 j' o
FF:=VAR2>REF(VAR2,1); PARTLINE(VAR2,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;
4 b9 J8 H* y# b$ ^4 H! gVAR3:=MA(CLOSE,18);
3 Z! M, T8 f0 L$ a) w: u, p; ^" E6 S' WFF:=VAR3>REF(VAR3,1)ARTLINE(VAR3,FF,RGB(255,0,0),1,RGB(3,3,255)),LINETHICK4;
# p" I  r9 e" f: I. lVAR4:=MA(CLOSE,4);' x+ @6 C, a+ r3 r
FF:=VAR4>REF(VAR4,1); PARTLINE(VAR4,FF,RGB(235,1,1),1,RGB(3,3,255)),LINETHICK3;
1 _! y4 a- ]/ I6 fRSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
$ Y1 {0 i* p: r! [1 NK:=SMA(RSV,5,1);3 x/ w- @# Q: F/ i) m, X
D:=SMA(K,5,1);
& h5 H6 Z9 v1 E  [8 o6 _' S, |J:=3*K-2*D;4 I. ]. z. ?% c% s& h5 Q: I( h
X:=REF(J,1)REF(H,1) AND C>REF(C,1) AND C>REF(O,1) AND L>REF(L,1);
, G" y/ j# V$ `# l: g* sSTICKLINE(X,L ,L,20,0),COLOR008888;
& W- D" {6 d: t3 O) _; {3 SSTICKLINE(X,L ,H,0,0),COLORFF00FF;4 W$ h; I/ T3 B) h4 P% p
STICKLINE(X,C ,O,5,0),COLORFF00FF;# ?4 H( [# Z: z
WR:="W&R"(14);3 J' ]' l7 m" s6 I
DRAWICON(FILTER(CROSS(WR,(0 - 81)),10),L,4);//威廉买点↑ ↓! S/ h6 U3 ^  d" x# b% _. T1 h
DRAWICON(FILTER(CROSS((0 -19),WR),10),H,5);//威廉卖点
, T$ t$ Z+ O! sDRAWTEXT(FILTER(CROSS(WR,(0 - 81)),21),L,'威廉买'),ALIGN0,colorred;//威廉买点0 h0 S2 }  H9 S! [( }
DRAWTEXT(FILTER(CROSS(0 -19,WR),21),H,'威廉卖'),ALIGN2,colorgreen;//威廉卖点; w4 ]" m- I% e$ a8 _3 E
aa:=CLOSE > REF(CLOSE, 1) AND REF(CLOSE, 1) > REF(CLOSE, 2) AND REF(CLOSE, 1) <
: E1 p+ a- a) G2 k! o
7 H( L" V+ S9 \9 g; ]2 X/ V5 qREF(CLOSE, 3) AND IF(REF(CLOSE, 3) < REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) < REF6 X, Y7 i' c( h# _: A
. h. n0 D8 p/ N. ]) U
(CLOSE, 5),REF(CLOSE, 1) < REF(CLOSE, 4) OR( REF(CLOSE, 2) < REF(CLOSE, 4) AND REF
2 [5 \) ?6 R8 J5 ]  U  i, V6 V  n" V7 V5 B8 q* h+ R3 s  W7 z
(CLOSE, 3) >= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) < REF(CLOSE, 6), 1,REF(CLOSE, 6) < / k5 Y! ?/ P, Y* X

3 U3 d7 X7 R0 w6 N9 F: IREF(CLOSE, 7))));
9 ~/ Q4 _& ~/ e9 z& r" g7 abb:=CLOSE < REF(CLOSE, 1) AND REF(CLOSE, 1) < REF(CLOSE, 2) AND REF(CLOSE, 1) > & E% W* [  Z1 p3 l2 M$ u

! v1 d, t% ~; I+ |+ A0 WREF(CLOSE, 3) AND IF(REF(CLOSE, 3) > REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) > REF# ?* k" `; _4 F/ n9 ~) e

$ O9 H6 B( v1 ^, e; i- E9 Y(CLOSE, 5),REF(CLOSE, 1) > REF(CLOSE, 4) OR( REF(CLOSE, 2) > REF(CLOSE, 4) AND REF
- m2 I2 A6 U# b  a) V  E
% X- N" l  n4 i3 f  N2 w7 {(CLOSE, 3)  REF(CLOSE, 6), 1,REF(CLOSE, 6) > * g: ?0 x2 s2 b; I) i+ ?5 v
2 Y0 J7 ^9 D. S: h
REF(CLOSE, 7))));
3 z' j% {6 V* P: C1 |) YDRAWTEXT(aa AND CLOSE>REF(OPEN,2),LOW,'三平底'),color,COLORFF00FF;: T! w5 O/ r) t5 U# [
DRAWTEXT(bb AND CLOSE S下:=HHV(MA(HIGH,2),2),colorgreen,LINETHICK0;
  F: O# l, V8 _, ~S上:=LLV(MA(HIGH,2),1),colorred,LINETHICK0;
# P- P/ Y5 ~) r$ k' b0 LSppp:=-(S上-S下)/REF(C,1)*100;
! I* ?7 M6 V9 u% ]Sptem1:=(MIN(O,C)-L)/(H-L)*100;6 N$ I1 Q! u! q$ u& {: d4 q. G" K
Sptem2:=(H-MAX(O,C))/(H-L)*100;- V, C) a# @, Z6 Q! k( M  W% `2 C
SPTEM3:=(C-O)/(H-L)*100;
9 K6 r  f; z7 ^% }SKJ1:=(SPTEM3>49 AND SPTEM1>0.3*SPTEM2) OR SPTEM3>80;) D" G' _8 U) T3 i# i8 E
SKJ2:=(SPTEM320 AND SPTEM1>SPTEM2);
: @& k. l" j, [SKJ3:=(SPTEM3-20 AND sptem1>1.2*sptem2);1 i/ Y( d0 L: b
SKJ4:=(SPTEM3-40 AND SPTEM1>2*SPTEM2);
7 E+ g5 T  A/ Y2 s; xSKJ:=(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4) AND (Sppp>2 OR REF(Sppp,1)>2 );9 j5 Y; M1 f- ^$ b
短买:=IF(SUM(sppp>0,5)=5 AND SUM(skj>0,5)=0,5*(SKJ1 OR SKJ2 OR SKJ3 OR
+ z4 ~8 u' O$ v+ I5 n
) L  @3 c- {$ Z9 G$ {: QSKJ4),5*skj),colorred;( y6 k: ?) ~+ X! \5 q7 d
DRAWTEXT(短买,L,'↖短买'),colorwhite;
http://www.simu001.cn/x73047x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-28 10:39 , Processed in 0.404474 second(s), 26 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

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