私募

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

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

[复制链接]
发表于 2019-5-22 01:03:34 | 显示全部楼层 |阅读模式
指标先容: 8 K- i5 j5 \. f" L
) o4 b9 L6 S: i: y7 c( K2 {) g
主图彩色布林线 一清二楚 适当追主升浪 有爱好的不妨试试
3 v& A+ Y0 G/ P4 }3 @1 x( r2 U# s; @3 [3 Z1 p
公式源码: " T# |% g) m  V' M& }

( s  k9 R1 r/ K5 m& o二分位H+L)/2 ,LINETHICK3,coloryellow,POINTDOT;
4 D" m3 M( u, r9 o% n' I3 z; X4 uMID1 : MA(CLOSE,18),POINTDOT,LINETHICK3,colorwhite;
$ Y5 f% S6 @. c- a7 O: Z" R4 M- @UPPER1: MID1 + 2*STD(CLOSE,14),linethick2,coloryellow;* ^" j2 O' u1 _% Y
LOWER1: MID1 - 2*STD(CLOSE,14),linethick2,coloryellow;1 `6 c; [/ F7 Q
VAR1:=UPPER1;
; B  x7 e0 D' m! `2 zFF:=VAR1>REF(VAR1,1);
0 G9 d- E- G; \* L! e6 x) V2 aPARTLINE(VAR1,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;+ C+ P( z1 u/ M- D+ Q4 C0 \1 n
VAR2:=LOWER1;0 U/ g9 ^9 @3 {- ?( I
FF:=VAR2>REF(VAR2,1); PARTLINE(VAR2,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;: o9 \, I) W6 e1 W( w6 `/ _
VAR3:=MA(CLOSE,18);
7 \2 d. z3 j6 s, S0 b0 `# ]FF:=VAR3>REF(VAR3,1)ARTLINE(VAR3,FF,RGB(255,0,0),1,RGB(3,3,255)),LINETHICK4;
7 r# y/ F: M# Y! V& PVAR4:=MA(CLOSE,4);7 O0 P2 T0 O# e. q0 K. B/ g
FF:=VAR4>REF(VAR4,1); PARTLINE(VAR4,FF,RGB(235,1,1),1,RGB(3,3,255)),LINETHICK3;9 R* n6 I- a8 r6 G. T8 {8 h  W5 w
RSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
/ f2 s: L4 g* F- bK:=SMA(RSV,5,1);$ E" X, e3 [5 W" |  ^5 d
D:=SMA(K,5,1);
- e9 y0 q9 n# N! E1 e- f( T3 v5 B. sJ:=3*K-2*D;8 \( Q3 I2 ]$ I
X:=REF(J,1)REF(H,1) AND C>REF(C,1) AND C>REF(O,1) AND L>REF(L,1);
+ H/ z4 M6 u; H. h' |9 v; c3 K7 pSTICKLINE(X,L ,L,20,0),COLOR008888;
+ b  Q* t6 `7 Z" Q7 ~( SSTICKLINE(X,L ,H,0,0),COLORFF00FF;
0 X* P1 |+ o- y  S9 E4 V/ |* tSTICKLINE(X,C ,O,5,0),COLORFF00FF;
& r) f( z1 _9 D' T5 h/ A! ^  w- ?WR:="W&R"(14);
2 \2 Y, k/ \& ODRAWICON(FILTER(CROSS(WR,(0 - 81)),10),L,4);//威廉买点↑ ↓
' {$ p$ k8 b$ H3 fDRAWICON(FILTER(CROSS((0 -19),WR),10),H,5);//威廉卖点
7 K1 O3 @0 c+ U; j7 _) H3 ~DRAWTEXT(FILTER(CROSS(WR,(0 - 81)),21),L,'威廉买'),ALIGN0,colorred;//威廉买点
. p; \$ m& l& p% T8 @2 T7 _DRAWTEXT(FILTER(CROSS(0 -19,WR),21),H,'威廉卖'),ALIGN2,colorgreen;//威廉卖点# _7 c5 g/ \$ m5 p' k$ E
aa:=CLOSE > REF(CLOSE, 1) AND REF(CLOSE, 1) > REF(CLOSE, 2) AND REF(CLOSE, 1) <
# y4 |/ q3 _- I7 _3 z% L; |0 `( b- x% o0 }2 Q" C
REF(CLOSE, 3) AND IF(REF(CLOSE, 3) < REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) < REF
7 `1 P, }. b; L% A0 w9 k; F5 t' q- g/ c% C+ @' [. l) _$ Z
(CLOSE, 5),REF(CLOSE, 1) < REF(CLOSE, 4) OR( REF(CLOSE, 2) < REF(CLOSE, 4) AND REF
# e+ ^; M5 p, k% y7 h- x6 R& Y- d+ [+ A! F3 L( I! L
(CLOSE, 3) >= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) < REF(CLOSE, 6), 1,REF(CLOSE, 6) < ; T6 A6 g; O6 I4 l/ O

" k  }' @' C# U( l/ X: |REF(CLOSE, 7))));
) v2 C! j0 c' B/ x; X% qbb:=CLOSE < REF(CLOSE, 1) AND REF(CLOSE, 1) < REF(CLOSE, 2) AND REF(CLOSE, 1) >
: R+ _, N8 d( W3 {/ X7 j: O3 ]2 B3 P0 p1 ?9 p  H4 x) _
REF(CLOSE, 3) AND IF(REF(CLOSE, 3) > REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) > REF/ s- a9 O) F  p: ~
, c. ^8 b$ a( U  s5 }* y/ m6 K, q
(CLOSE, 5),REF(CLOSE, 1) > REF(CLOSE, 4) OR( REF(CLOSE, 2) > REF(CLOSE, 4) AND REF
- k( e) ]- N' M# d/ m$ Y# w7 z+ D( u) j6 }, h$ L# ~& J6 e
(CLOSE, 3)  REF(CLOSE, 6), 1,REF(CLOSE, 6) >
0 m2 Q4 F: e5 k! f3 @6 ]0 O5 j6 d! R7 F. L5 I5 h
REF(CLOSE, 7))));
2 y$ q, N" H" ?" BDRAWTEXT(aa AND CLOSE>REF(OPEN,2),LOW,'三平底'),color,COLORFF00FF;
4 ?# _* Y- _% a7 f6 u7 C, L& [DRAWTEXT(bb AND CLOSE S下:=HHV(MA(HIGH,2),2),colorgreen,LINETHICK0;2 m3 @/ _3 B' z7 s; x
S上:=LLV(MA(HIGH,2),1),colorred,LINETHICK0;
! z8 S$ I% B3 |0 dSppp:=-(S上-S下)/REF(C,1)*100;' ^' X' O5 w. q; B* H: B, f- ]
Sptem1:=(MIN(O,C)-L)/(H-L)*100;
* a6 l& Y5 A- p: V8 sSptem2:=(H-MAX(O,C))/(H-L)*100;
: K% \0 v4 F# K8 `! J$ |SPTEM3:=(C-O)/(H-L)*100;6 Q& A: j( \: q: x2 X
SKJ1:=(SPTEM3>49 AND SPTEM1>0.3*SPTEM2) OR SPTEM3>80;7 \, y3 J, ~) r& s
SKJ2:=(SPTEM320 AND SPTEM1>SPTEM2);' c) X: r$ {/ c2 g/ S  R
SKJ3:=(SPTEM3-20 AND sptem1>1.2*sptem2);
! T  X; J0 q1 @, H* N- y2 }+ ESKJ4:=(SPTEM3-40 AND SPTEM1>2*SPTEM2);! D; D! |0 m$ z! D
SKJ:=(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4) AND (Sppp>2 OR REF(Sppp,1)>2 );' t9 j: S$ ?* m) N6 A5 Z& @$ I
短买:=IF(SUM(sppp>0,5)=5 AND SUM(skj>0,5)=0,5*(SKJ1 OR SKJ2 OR SKJ3 OR 7 `: d( ]3 W7 f% i; p
* W. z5 W8 \& e- V4 p: V! C
SKJ4),5*skj),colorred;( W$ A  T) X- y' Z' I
DRAWTEXT(短买,L,'↖短买'),colorwhite;
http://www.simu001.cn/x73064x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-15 06:06 , Processed in 0.390988 second(s), 26 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

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