指标先容: ) B+ @4 u& R1 j" d
, \' q0 A) X, P0 m4 x0 a! r白洗盘黄高抛低吸红涨粉鉴戒绿庄撤棕变盘
I* @( j2 I5 t* X6 `2 J% Y2 ]) q) c& n9 }* |/ P
1 ?0 s. f; T$ l' J. L8 p+ i
- p# k, }! }1 |5 M& r2 o; x公式源码: & h, @3 o. C% u3 v2 ]
& N$ }' ?) I, IAA1:=AMOUNT/V;( ^: y7 X5 A$ I6 M* O
BB1:=L CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
5 ?, n2 {, k: N' t" \% aDD1:=L EE1:=V 老鼠仓:=BB1 AND CC1 AND DD1 AND EE1;+ a- ~" _, O' P; D$ x
DRAWTEXT(老鼠仓,LOW* 0.99,'老鼠仓'),COLOR40CCFF;
% g1 A ^7 |7 d' t7 H5 [* zvar1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);. v, G3 S, m1 z3 n5 I9 {# ]
Var2:=REF(Var1,1) AND CLOSE=REF(CLOSE,2);. T h- ]$ `/ J) C' r5 A9 i" a5 L
Var3:=REF(Var2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSEMA(C,4),1,0);
4 k: K7 E+ U) x0 F: k: q, Wqs2:=IF(C qs3:=IF(MA(C,5)>REF(MA(C,5),1),1,0);
! _+ i2 D' [$ j& i7 aqs4:=IF(MA(C,5) qs:=qs1+qs2+qs3+qs4;
: y* f5 j/ L( USTICKLINE((qs=-2 AND C STICKLINE((qs=-2 AND C STICKLINE((qs=-2 AND C STICKLINE((qs=-2
; R4 k$ S# l: p9 n: o, P. K3 w7 h7 }0 c7 O' T& s3 h0 B |3 e; V
AND C STICKLINE((qs=-2 AND C STICKLINE((qs=-2 AND C>O),H,L,0,0),Color53A9FF;, F9 O. b2 Q9 j7 f) _( p- u
STICKLINE((qs=-2 AND C>O),O,C,8,0),Color003E7B;
8 b4 I1 h/ n& pSTICKLINE((qs=-2 AND C>O),O,C,6,1),Color0053A6;
+ x2 B7 u3 [: p) m0 K: ?: gSTICKLINE((qs=-2 AND C>O),O,C,4,0),Color006AD5;4 s* j; F: o6 t# M$ l5 i! {' [
STICKLINE((qs=-2 AND C>O),O,C,2,0),Color2492FF;
) I7 H& ?6 p/ |* Q! R, eSTICKLINE((qs=0 AND C STICKLINE((qs=0 AND C STICKLINE((qs=0 AND C STICKLINE((qs=0 AND
/ I+ h1 ^" z* C# D5 b- p5 W9 l. W& Z$ U% E. O3 x" i
C STICKLINE((qs=0 AND C STICKLINE((qs=0 AND C>O),H,L,0,0),Color00FFFF;
3 f; K! z, u9 H( pSTICKLINE((qs=0 AND C>O),O,C,8,0),Color008888;
3 T; S6 ~8 P8 V6 E' x( o, ZSTICKLINE((qs=0 AND C>O),O,C,6,1),Color00BFBF;
; P m& e3 x: p$ S8 zSTICKLINE((qs=0 AND C>O),O,C,4,0),Color00DBDB;
; E0 _, b1 P2 [1 G5 D: [$ ^7 ySTICKLINE((qs=0 AND C>O),O,C,2,0),Color00F0F0;
/ w) c( F o: g TSTICKLINE((qs=2 AND C STICKLINE((qs=2 AND C STICKLINE((qs=2 AND C STICKLINE((qs=2 AND ( Z O( \& x! {/ j* ^7 O# A: P( d
* {7 P9 |( C/ E) d: l5 NC STICKLINE((qs=2 AND C STICKLINE((qs=2 AND C>O),H,L,0,0),Color0000FF;) ~. d- ]: s- [# e
STICKLINE((qs=2 AND C>O),O,C,8,0),Color00007B;" j2 w. O( M5 L, A( L7 {- v0 V) G( o3 m
STICKLINE((qs=2 AND C>O),O,C,6,1),Color000097;7 P& O* i/ P8 f! M0 x
STICKLINE((qs=2 AND C>O),O,C,4,0),Color0000C4;& r4 j$ b: I+ k. e# H7 G( I
STICKLINE((qs=2 AND C>O),O,C,2,0),Color0000EC;
. v5 l& H) f' A- AAC:=AMOUNT/(VOL);
0 ~6 c: ^0 `5 k; pYY:=MA(AC,13);
& r- B$ E7 M( jLLL:=(C-YY)/YY*100;
3 U2 e! y8 v, W0 x$ M3 R! P lMIDC := MA(CLOSE,21);
: O. v- ]3 O x+ o' ]UPPERC:= MIDC + 2*STD(C,21);
5 H% W$ u# [6 g- Y. VLOWERC:= MIDC - 2*STD(C,21);% E# v1 {+ s+ h- K+ { f+ C
BBA:=(C-LOWERC)/(UPPERC-LOWERC);
1 z) L5 ~3 w: nBBC:=FORCAST(BBA,3);
" n3 @7 \2 f. [+ ^8 ]/ V7 ELIFENGCYC:=(REF(LLL,1)0,C,O,2,0),COLOR10ABFF;1 \& W# o: [& Y! c& W
STICKLINE(LIFENGCYC>0,C,O,1.5,0),COLOR10D0FF;
4 t0 o$ j3 k! e: v& H. t. @ P6 _STICKLINE(LIFENGCYC>0,C,O,1,0),COLOR10FFFF;
- ]8 Y( a; `4 Z5 e* I( x' mDRAWTEXT(LIFENGCYC>0,LOW*0.99,'☆'),colorffffff;
, B+ T. O t9 N s0 U- E3 S" dLC:=REF(CLOSE,1);3 n/ a8 x8 |: W% @9 C
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);9 L7 g& t: e. m) T! s
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.03),'▼'),ColorFFFFFF;6 Y \1 S- |* ~, ]; I, f+ i( d
VAR3:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
+ e2 T2 f3 T" zVAR4:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
* f. E# J6 ^9 t, f1 `2 W7 [. ?VAR5:=VAR3 AND VAR4;
0 z3 G5 f! t8 N) V2 aDRAWTEXT(VAR5,LOW-0.17,'★ '),coloryellow , ;9 O* X" l- G2 O( c' |9 R
极品底:=IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,50,0),colorwhite;1 i6 p# y- z7 F- H' a0 F
DRAWTEXT(极品底=50,H+0.1,'★ '),colorgreen;3 j# t5 H' p3 l2 O
DRAWICON(CROSS(ZIG(3,4),REF(ZIG(3,4),1)),L-0.06,"BUY"),colorred;- V9 ]+ B( Z) |4 J0 }
DRAWICON(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),L-0.08,"BUY"),colorred;8 D }6 W* g: V1 ^
DRAWICON(CROSS(ZIG(3,12),REF(ZIG(3,12),1)),L-0.1,"BUY"),colorred;
- ~! W4 U# C: n ~6 kDRAWICON(CROSS(ZIG(3,16),REF(ZIG(3,16),1)),L-0.12,"BUY"),colorred;( Y. v+ o0 P) ~) w
DRAWICON(CROSS(ZIG(3,20),REF(ZIG(3,20),1)),L-0.14,"BUY"),colorred;0 [/ A ]; X9 ~) V4 x
DRAWICON(CROSS(REF(ZIG(3,20),1),ZIG(3,20)),H+0.13,"SELL"),colorgreen;% C8 E$ N" L1 m, E/ L
DRAWICON(CROSS(REF(ZIG(3,16),1),ZIG(3,16)),H+0.11,"SELL"),colorgreen;
, k2 v, Q6 m8 NDRAWICON(CROSS(REF(ZIG(3,12),1),ZIG(3,12)),H+0.09,"SELL"),colorgreen;
. }2 K1 Y7 m$ J2 dDRAWICON(CROSS(REF(ZIG(3,8),1),ZIG(3,8)),H+0.07,"SELL"),colorgreen;. z4 C( v! J* I& `1 @
DRAWICON(CROSS(REF(ZIG(3,4),1),ZIG(3,4)),H+0.05,"SELL"),colorgreen;
4 r @3 N* ~$ o% X0 R★关注★:MA(C,5),colorfff000;
( C( v! a) ~: y+ \MA5:=MA(CLOSE,5);- u3 h+ l" W" v5 V7 I
MA10:=MA(CLOSE,10);' ^3 G1 R* O$ g
MA30:=MA(C,30);
" W/ c- `$ D: m% c* ~五日乖离率:=(C-MA5)/MA5*100;( f: O# E# b. S1 k
BB05:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;! s3 P1 k$ E9 n
速率5:=SMA(EMA((MA5-REF(MA5,1))/REF(MA5,1),3)*100,3,1);
* ]3 t+ {6 v6 ~; J3 a5 R/ h加快度5:=EMA((速率5-REF(速率5,1)),3),NODRAW;
1 t. C; Y6 ^4 b. n! I1 n2 TSSR:=(C-MA30)/MA30*100,NODRAW;$ a- s# x6 o. K0 C. T
加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA5>REF(MA5,1) AND SSR>REF(SSR,1) AND
# g1 g1 L. W1 _) ]3 D1 p' \4 ]7 Y+ W; @2 M0 j( J
MA10>REF(MA10,1) AND 加快度5>REF(加快度5,1) AND 速率5>REF(速率5,1) ,10) ;6 P" F' g6 z& Z/ y
DRAWTEXT(加仓 ,LOW-0.08,'鉴戒诱多'),coloryellow;
. F' g. h' S4 r; [: rEMA13:=EMA(C,13);
6 f& L7 a4 D9 n5 n3 H6 s3 zEMA34:=EMA(C,34);- |: V. P- P7 E9 d# a; s
EMA55:=EMA(C,55);
' x( T l; a, `1 X1 m d$ q% MAR1:=EMA55>EMA34 AND EMA34>EMA13;
5 M% M ]4 d6 K" C5 gAR2:=BARSLAST((C-EMA13)/EMA13*100=REF(EMA13,2);
: f+ c: N4 @! a1 b/ D: |+ e6 GAR4:=COUNT(CROSS(C,EMA13),AR2)=1;- G# Y1 }5 Q2 v( {% \. t# F! ]% U2 c
AR5:=AR1 AND AR2 AND AR3 AND AR4;: N5 ^# ?2 U# [6 K& ?3 t t
AR6:=AR5 AND FILTER(AR5,10);
. i" E0 L; S1 W* F# z, b( qDRAWTEXT(AR6,L*1.0,'持股待涨'),COLORFF00FF;2 P2 ]( G) P; C& M! `) B
DRAWTEXT(H>REF(O,3)*1.19,H,'鉴戒'),colorgreen;
6 ? ]6 `& U5 A, sXXS:=MA(HIGH,5)*(1+5/100);) k( C+ R% F& h' X7 L! m, M- t
DRAWTEXT(CROSS(XXS,C),H*1.02,'开盘逃'),coloryellow;
. f# r" {) n& s! r! KXXS1:=MA(HIGH,5)*(1+5/100);$ B9 @5 ]/ V5 e
DDDD:=CROSS(C,XXS1);
2 g* B( A& v' @3 A0 }) r, JDRAWTEXT(DDDD,HIGH*1.02,'明走'),coloryellow;6 d* j$ G/ u4 r G1 v$ R5 m. `
EMA13:=EMA(C,13);( |/ Q4 s% o _
EMA34:=EMA(C,34);
* D, H3 _' J+ M1 B" O1 I8 CEMA55:=EMA(C,55);
4 G6 x8 n7 c l; H& q+ CEMA120:=EMA(C,120);& u- r, X# m/ I, a5 {2 N
AR1:=EMA55>EMA34 AND EMA34>EMA13;" S- l5 {$ X8 q: W+ G
AR2:=BARSLAST((C-EMA13)/EMA13*100=REF(EMA13,2);
: G0 n9 p9 q$ _; D3 `AR4:=COUNT(CROSS(C,EMA13),AR2)=1;' o0 u8 j/ {5 Q) E$ g3 h3 F* _
AR5:=AR1 AND AR2 AND AR3 AND AR4;
: C% F& }3 Q) W/ U; aAR6:=AR5 AND FILTER(AR5,10);3 C2 Q8 A6 ?. E, D" ?" S4 `
DRAWTEXT(AR6,L-0.1,'启动'),coloryellow; |