指标先容: ; m8 G1 k# W( b. p5 P# w( G7 [
4 p2 ~5 m7 H4 L主图彩色布林线 一清二楚 适当追主升浪 有爱好的不妨试试 2 t+ V% ^' ?( m# I) w
! X; ?, ~% j$ a/ f. p4 Q公式源码: 8 O3 L" K5 ~- _5 L
5 P6 T! ]2 l; @' H# ^
二分位 H+L)/2 ,LINETHICK3,coloryellow,POINTDOT; Z! H' h$ i7 k
MID1 : MA(CLOSE,18),POINTDOT,LINETHICK3,colorwhite;! p8 e" E$ O2 K {5 X( f/ R( g
UPPER1: MID1 + 2*STD(CLOSE,14),linethick2,coloryellow;" ^7 H3 b7 k9 E2 a, ]( z
LOWER1: MID1 - 2*STD(CLOSE,14),linethick2,coloryellow;1 X! W/ S" T; |* d
VAR1:=UPPER1;# i) G) w3 X2 p7 @5 {6 G* C- \( B
FF:=VAR1>REF(VAR1,1);5 J8 W9 I. `6 A; t7 f+ Z
PARTLINE(VAR1,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;
$ h$ U' b( Q J5 M+ t9 Q6 `VAR2:=LOWER1;
+ @7 ?) H1 { {7 @' nFF:=VAR2>REF(VAR2,1); PARTLINE(VAR2,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;) m% n* P6 H5 E3 \1 L
VAR3:=MA(CLOSE,18);
8 ]; Q; D3 o1 h& mFF:=VAR3>REF(VAR3,1) ARTLINE(VAR3,FF,RGB(255,0,0),1,RGB(3,3,255)),LINETHICK4;
: V* D& b' g% G7 jVAR4:=MA(CLOSE,4);$ c. ~; j! `( R
FF:=VAR4>REF(VAR4,1); PARTLINE(VAR4,FF,RGB(235,1,1),1,RGB(3,3,255)),LINETHICK3;2 @; d* o9 p! [2 ~
RSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
2 W! r$ h1 H! }6 U. F1 rK:=SMA(RSV,5,1);
* a* |7 j0 Z5 G+ [* S1 RD:=SMA(K,5,1);
" E# U8 A1 W1 M0 P% MJ:=3*K-2*D;: n/ ?( D3 k# k5 E
X:=REF(J,1)REF(H,1) AND C>REF(C,1) AND C>REF(O,1) AND L>REF(L,1);$ b; w3 e# s# w& {* d, R' T
STICKLINE(X,L ,L,20,0),COLOR008888;
7 C. L) Q$ o* e. s$ f, ]0 J ISTICKLINE(X,L ,H,0,0),COLORFF00FF;, G: g1 I& Q$ [3 i2 p6 ]5 B
STICKLINE(X,C ,O,5,0),COLORFF00FF;* ~" Y! j1 G* d7 x
WR:="W&R"(14);
$ T, T; P7 j; {5 q0 V, `DRAWICON(FILTER(CROSS(WR,(0 - 81)),10),L,4);//威廉买点↑ ↓% n) r& Z' ^8 h/ l2 Y
DRAWICON(FILTER(CROSS((0 -19),WR),10),H,5);//威廉卖点
0 l9 P8 @9 o5 H) R6 CDRAWTEXT(FILTER(CROSS(WR,(0 - 81)),21),L,'威廉买'),ALIGN0,colorred;//威廉买点
8 T2 M9 Y' S [. j9 R" W2 Q( oDRAWTEXT(FILTER(CROSS(0 -19,WR),21),H,'威廉卖'),ALIGN2,colorgreen;//威廉卖点
& w' T% R% ~' L, \aa:=CLOSE > REF(CLOSE, 1) AND REF(CLOSE, 1) > REF(CLOSE, 2) AND REF(CLOSE, 1) <
7 i% p0 m: N& y
, L4 l, z9 g9 B& R! EREF(CLOSE, 3) AND IF(REF(CLOSE, 3) < REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) < REF! v) j' p& y0 @) O4 u5 S# r
7 Q j( G a* K& D9 j5 @
(CLOSE, 5),REF(CLOSE, 1) < REF(CLOSE, 4) OR( REF(CLOSE, 2) < REF(CLOSE, 4) AND REF" N+ \3 M$ U+ d) ]1 B
! N$ J& ~# H, q(CLOSE, 3) >= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) < REF(CLOSE, 6), 1,REF(CLOSE, 6) <
( Y( M7 J3 U* d& Y1 ?- \+ f& o1 y: x& E! ?4 S" N( I6 O E
REF(CLOSE, 7))));5 j( |: ^/ D) v3 z. L. i
bb:=CLOSE < REF(CLOSE, 1) AND REF(CLOSE, 1) < REF(CLOSE, 2) AND REF(CLOSE, 1) > , N2 G6 W0 M" \. A9 V; X, h1 k
$ @" d; u' v9 q& T7 W9 O' |; qREF(CLOSE, 3) AND IF(REF(CLOSE, 3) > REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) > REF4 x' `( G6 @ G5 b
3 S% {" Q2 t$ u9 H/ B
(CLOSE, 5),REF(CLOSE, 1) > REF(CLOSE, 4) OR( REF(CLOSE, 2) > REF(CLOSE, 4) AND REF
. h0 h7 O% ^$ A- m: u9 E: A% D0 J& Y- D* C9 }' R; o) Q- g2 d; z" M
(CLOSE, 3) REF(CLOSE, 6), 1,REF(CLOSE, 6) > * u: k h- X9 {4 i: B7 B
: D" g0 w" I0 J3 `4 ?REF(CLOSE, 7))));
" u! a& y9 }/ r9 GDRAWTEXT(aa AND CLOSE>REF(OPEN,2),LOW,'三平底'),color,COLORFF00FF;
6 O6 `9 V+ k$ Y0 t! hDRAWTEXT(bb AND CLOSE S下:=HHV(MA(HIGH,2),2),colorgreen,LINETHICK0;& Q2 Y$ e2 i2 Z. @7 U8 @: ~
S上:=LLV(MA(HIGH,2),1),colorred,LINETHICK0;
$ v- \, F6 j Z4 [Sppp:=-(S上-S下)/REF(C,1)*100;5 Q; J5 s! @+ |1 V
Sptem1:=(MIN(O,C)-L)/(H-L)*100;7 w% V8 C2 S0 i* d& {' z& E
Sptem2:=(H-MAX(O,C))/(H-L)*100;5 u% r" f% V' q) \. f
SPTEM3:=(C-O)/(H-L)*100;: m% X4 y) S( d' i+ j8 L
SKJ1:=(SPTEM3>49 AND SPTEM1>0.3*SPTEM2) OR SPTEM3>80;
0 O7 h6 Q3 W7 j3 Y! s# U! dSKJ2:=(SPTEM320 AND SPTEM1>SPTEM2);
$ n6 k! b4 D3 d" CSKJ3:=(SPTEM3-20 AND sptem1>1.2*sptem2);
$ ?# W( L9 q! Q' Q& _$ A& r* tSKJ4:=(SPTEM3-40 AND SPTEM1>2*SPTEM2);/ V0 j7 v7 m' E
SKJ:=(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4) AND (Sppp>2 OR REF(Sppp,1)>2 );
% Y- g( W" w3 I/ o% C% S1 F/ j/ K, [短买:=IF(SUM(sppp>0,5)=5 AND SUM(skj>0,5)=0,5*(SKJ1 OR SKJ2 OR SKJ3 OR 2 j) f- Y( \3 s
9 J6 u) I U/ [0 r, sSKJ4),5*skj),colorred;
8 B! \6 S+ C* @7 v+ ZDRAWTEXT(短买,L,'↖短买'),colorwhite; |