私募

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

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

[复制链接]
发表于 2019-5-22 01:03:34 | 显示全部楼层 |阅读模式
指标先容: ( g: l  @2 I$ q3 C# g
8 c# `7 d/ i. r6 [
主图彩色布林线 一清二楚 适当追主升浪 有爱好的不妨试试
: y0 h( N# o2 N7 {3 N
; X0 I1 u" _% |公式源码:
+ R" J% k6 O7 P4 |0 E: Y& p
: t2 Z; k. d. H" g7 t二分位H+L)/2 ,LINETHICK3,coloryellow,POINTDOT;
* t$ z. I8 ]9 T9 d0 f1 i; K4 U- n) JMID1 : MA(CLOSE,18),POINTDOT,LINETHICK3,colorwhite;* H$ S  S7 w# [! J* k  k
UPPER1: MID1 + 2*STD(CLOSE,14),linethick2,coloryellow;8 @, K6 s2 H% ?( \8 P- X
LOWER1: MID1 - 2*STD(CLOSE,14),linethick2,coloryellow;
9 m/ n4 B- i6 e1 U  WVAR1:=UPPER1;
" R! c9 S0 i9 d1 i* q- y3 UFF:=VAR1>REF(VAR1,1);
& y% }0 h9 p5 M6 \: M/ g* Q, pPARTLINE(VAR1,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;
  {9 S! B( H2 f! U, W# l# l1 VVAR2:=LOWER1;
$ p9 I7 p. o+ F# k4 mFF:=VAR2>REF(VAR2,1); PARTLINE(VAR2,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;
2 C9 Z1 ~/ Y; T& n) jVAR3:=MA(CLOSE,18);' e9 B% y$ v, Z' c  c1 i3 l
FF:=VAR3>REF(VAR3,1)ARTLINE(VAR3,FF,RGB(255,0,0),1,RGB(3,3,255)),LINETHICK4;
2 p; C' @. E# h) a" sVAR4:=MA(CLOSE,4);
, a4 \* P% J; p# x! Q5 F2 wFF:=VAR4>REF(VAR4,1); PARTLINE(VAR4,FF,RGB(235,1,1),1,RGB(3,3,255)),LINETHICK3;
) a& G, Z; @- e4 |5 aRSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
) ]& g/ f" x( N! S* iK:=SMA(RSV,5,1);
4 O2 h2 s  `$ [D:=SMA(K,5,1);
" |& u9 q& f( ]2 F& u( g0 mJ:=3*K-2*D;
$ |) c+ p) i4 T4 m4 M/ Z7 K+ H5 NX:=REF(J,1)REF(H,1) AND C>REF(C,1) AND C>REF(O,1) AND L>REF(L,1);% D7 |/ T* I( J$ E% e3 W  g" U
STICKLINE(X,L ,L,20,0),COLOR008888;
3 v" Z8 i/ r- u$ y1 P7 MSTICKLINE(X,L ,H,0,0),COLORFF00FF;' C" a- }+ [/ x
STICKLINE(X,C ,O,5,0),COLORFF00FF;
7 ]9 S/ C% s' SWR:="W&R"(14);
' A; o2 H- g% yDRAWICON(FILTER(CROSS(WR,(0 - 81)),10),L,4);//威廉买点↑ ↓
( s' _" U) U/ \% m- S9 w7 xDRAWICON(FILTER(CROSS((0 -19),WR),10),H,5);//威廉卖点
7 ]9 `: t) Z  T, FDRAWTEXT(FILTER(CROSS(WR,(0 - 81)),21),L,'威廉买'),ALIGN0,colorred;//威廉买点5 ]! Z. a) J- P
DRAWTEXT(FILTER(CROSS(0 -19,WR),21),H,'威廉卖'),ALIGN2,colorgreen;//威廉卖点) N4 b. X4 Z& b
aa:=CLOSE > REF(CLOSE, 1) AND REF(CLOSE, 1) > REF(CLOSE, 2) AND REF(CLOSE, 1) < ' t# [) h# h4 o4 g6 W

; V! H( ~) T* w7 kREF(CLOSE, 3) AND IF(REF(CLOSE, 3) < REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) < REF
8 [# d. r0 P# C3 @, \" B; t1 H
& F+ P3 x% D2 D* ?(CLOSE, 5),REF(CLOSE, 1) < REF(CLOSE, 4) OR( REF(CLOSE, 2) < REF(CLOSE, 4) AND REF
8 x* ^+ g% F( T& ^% }; q7 p& d$ H
(CLOSE, 3) >= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) < REF(CLOSE, 6), 1,REF(CLOSE, 6) <
) k" i) Z2 R, c/ R* c# ~
- s. i8 `6 y& B0 z$ j$ u9 Q6 y& A) c" sREF(CLOSE, 7))));
# D; E& b; b3 n. m  v) z  obb:=CLOSE < REF(CLOSE, 1) AND REF(CLOSE, 1) < REF(CLOSE, 2) AND REF(CLOSE, 1) > 9 c; w" c" {+ C1 E+ ^) z" I
) J6 f4 N- p1 J
REF(CLOSE, 3) AND IF(REF(CLOSE, 3) > REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) > REF
2 [5 H. x" l% Q& t7 _  m1 Z( H3 h; v* f+ D. x( r+ ]
(CLOSE, 5),REF(CLOSE, 1) > REF(CLOSE, 4) OR( REF(CLOSE, 2) > REF(CLOSE, 4) AND REF4 C- N2 @7 B( ?6 L6 f
9 h1 ^4 X1 H7 G+ Q! ^
(CLOSE, 3)  REF(CLOSE, 6), 1,REF(CLOSE, 6) >
9 c: o8 D; l6 A0 W. `' f$ H! }% c
& Y: `! G' k0 G0 J. C1 qREF(CLOSE, 7))));: ~+ \; ~- i9 T" u  w0 M
DRAWTEXT(aa AND CLOSE>REF(OPEN,2),LOW,'三平底'),color,COLORFF00FF;) C. N7 b* X6 x: ^
DRAWTEXT(bb AND CLOSE S下:=HHV(MA(HIGH,2),2),colorgreen,LINETHICK0;
) ], X( J) O# r- N7 U1 bS上:=LLV(MA(HIGH,2),1),colorred,LINETHICK0;# ~0 y1 X6 p2 S2 g; f% g& l
Sppp:=-(S上-S下)/REF(C,1)*100;
! b3 n2 _$ F$ ~3 l6 N1 h/ b2 w# ]Sptem1:=(MIN(O,C)-L)/(H-L)*100;
# s( {! W" z3 I0 i! oSptem2:=(H-MAX(O,C))/(H-L)*100;& I# M- o6 Y2 N) m
SPTEM3:=(C-O)/(H-L)*100;. m" T% L3 m  e' _( p' d7 R
SKJ1:=(SPTEM3>49 AND SPTEM1>0.3*SPTEM2) OR SPTEM3>80;# D1 i9 ~* E! q( s7 A6 f/ ~
SKJ2:=(SPTEM320 AND SPTEM1>SPTEM2);8 {% A3 C6 ]+ O2 e( Q" t
SKJ3:=(SPTEM3-20 AND sptem1>1.2*sptem2);2 G- v  r4 x4 b/ h6 {. ]
SKJ4:=(SPTEM3-40 AND SPTEM1>2*SPTEM2);* k$ V& L- {7 h8 \
SKJ:=(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4) AND (Sppp>2 OR REF(Sppp,1)>2 );
" [4 g; o$ v. t. l$ y# y短买:=IF(SUM(sppp>0,5)=5 AND SUM(skj>0,5)=0,5*(SKJ1 OR SKJ2 OR SKJ3 OR & J/ g. U8 T/ }( P. [, ]- U
$ ]& |5 \# c& o2 I
SKJ4),5*skj),colorred;
- d( Q! G( V9 `) Q* H* n, ODRAWTEXT(短买,L,'↖短买'),colorwhite;
http://www.simu001.cn/x73064x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-1 01:07 , Processed in 0.372750 second(s), 27 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

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