指标先容: * O3 y5 T' P) M; a8 g
( B, H$ k j3 x% H9 E2 y45度角倾斜度分析,根据45度倾斜率看出上涨态势 6 L, y8 K! E0 r
A9 I- S# v3 I& o( `! o
8 r1 r! r+ J9 M' U公式源码:
* I k/ k1 k$ r; ]2 U! A
( o7 F$ `) l: B' n% H; T量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV% I4 j8 ]5 a, `
2 z# i) h3 l+ ~" x4 `
(AMOUNT,20)/HHV(C,20))*100),NODRAW;
5 i' q E) q' Z, i3 y$ E! F1 lAA10:MA(CLOSE,8),COLOR0000FF;
' M; f7 y8 g8 y, X7 C# tAA12:MA(CLOSE,12),COLOR0000FF;2 j1 ]+ ?. ?1 x7 H$ V4 m
BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);# H2 [0 E$ w& `5 I3 a
BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);3 y0 o* F, x7 e, L2 |$ l9 b" W
MA13:=MA(CLOSE,13);
! ^2 t1 \4 U0 w8 R2 c2 MDRAWBAND(AA10,RGB(150,50,50),AA12,RGB(0,100,50));9 E: w) F' b8 H* W& z
X1:=(C+L+H)/3;- G8 j! ` t1 J; L: v; M2 \
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;, ~. r/ W0 L- @ Q0 k+ ^, W5 K
EMA8:=EMA(C,8);: J' q+ K' F$ A7 V6 `. h. ~
DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),
- j# ?5 X5 ^# K+ k* w1 yEMA8,'∠45上升'),colorwhite;
4 O2 i3 ?3 X; R0 ?压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;$ v5 l2 E- F6 y* ^& Y& M3 B
支持:MA(REF(LLV(C,30),1),2),COLORABFF46;
/ n' i; {. n% Q. H( MAA1:=AMOUNT/V;
6 Z5 r5 ?- ~) I/ O9 E% YBB1:=L CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;; r( z; ^/ U8 g. B5 t
DD1:=L EE1:=V FF1:=BB1 AND CC1 AND DD1 AND EE1;
6 i' {9 \6 o k5 w; wDRAWTEXT(FF1,(LOW* 0.99),'老鼠仓'),COLOR4080FF;
) E, I" m. ^( S0 }A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV6 [8 q/ C3 v. [, b
- l! a- A. e0 J
(H,55)-LLV(L,55))*100,5,1);! F( M" ]9 T7 h& w& G$ }; b6 _
黑马线:=EMA(A51,5);0 D! j( B+ a2 n: ~, l/ }
A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;& e8 J# S2 F; ]3 ~5 V* U$ y9 G
趋势线:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));0 C6 @& E( p* `2 j2 |
DRAWTEXT(CROSS(趋势线,0)AND 黑马线=CLOSE ,CLOSE ,OPEN,3,0 ),COLORFF8800;* ^: v/ m4 G8 T: s5 m) d; z- `5 N
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORFFAA00;- x# b/ r. a! ]+ P( n8 B4 c
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORFFCC00;( Z! a6 R5 Z% M, t- n
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLORFFEE00;
0 Y4 a6 h- c i3 e# JSTICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR000066;+ `5 g6 [ c9 q# M, A, R) i
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR000088;
& u4 G& O! B+ i( kSTICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000AA;7 x3 f: ~+ b6 m/ y3 Q! _
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLOR0000CC;
1 W: o/ X! i8 c3 B, {2 aVAR9Q:=C=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV1 g' G0 u" ~; c5 h9 R5 S: J: [) }
7 A& r6 y Q% R; E8 }5 S+ @(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF
2 S$ X/ ^5 n/ s, C2 Z6 ~; G0 U V* k) y/ p# H- |, S: l
(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);
( n5 L' [1 \4 \$ z1 [ E% E+ rSTICKLINE(VAR9Q,C,(O+C)/2,3,0),COLOR000066;- l( Q s3 {. T9 ?' N/ w3 S# c" q
STICKLINE(VAR9Q,C,(O+C)/2,2,0),COLOR000088;
% o6 p$ N, c" I3 x: a3 d- PSTICKLINE(VAR9Q,C,(O+C)/2,1,0),COLOR0000AA;
. L) P, `+ c5 P+ C% n |STICKLINE(VAR9Q,C,(O+C)/2,0,0),COLOR0000CC;
- L( Y8 F4 f) t; BVARAQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
# F6 _& t# Q- zSTICKLINE(VARAQ,C,(O+C)/2,3,0),COLORFF22FF;9 J' ~" m# T" ^. s. O; s
STICKLINE(VARAQ,C,(O+C)/2,2,0),COLORFF44FF;
3 s ~ ^4 v: p( B* zSTICKLINE(VARAQ,C,(O+C)/2,1,0),COLORFF66FF;
! @2 _+ f1 P1 s2 {9 LSTICKLINE(VARAQ,C,(O+C)/2,0,0),COLORFF88FF;3 h4 \& X6 ^' P7 S8 o. s$ ~
VARBQ:=C=LLV(C,4) AND (REF(C,1)HHV(C,4) OR REF(C,1) STICKLINE(VARBQ,C,(O
" Y& `0 A+ [3 r$ A0 E4 c* ?/ P- U# t% K' s' R/ @ z6 E
+C)/2,3,0),COLOR444444;
8 x! z7 x* {) p8 [' t* D8 O) NSTICKLINE(VARBQ,C,(O+C)/2,2,0),COLOR666666;
% Z0 b$ [' g; Y6 gSTICKLINE(VARBQ,C,(O+C)/2,1,0),COLOR888888;* r: [: ?" q9 h; F9 k5 ^
STICKLINE(VARBQ,C,(O+C)/2,0,0),COLORAAAAAA;
6 ~3 p: ]/ M1 a1 D' \, ~. s& LVARCQ:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)REF(C,2))
% a3 n; V, v' \3 {3 e5 u% G' n. t9 d! ~! X4 [- b. ]
AND REF(C,2)>=REF(C,4) AND C STICKLINE(VARDQ,O,(O+C)/2,3,0),COLORFF2200;
1 E- @% y" G) A) w8 W0 ZSTICKLINE(VARDQ,O,(O+C)/2,2,0),COLORFF4400;
2 a3 J; d7 `( U# h! TSTICKLINE(VARDQ,O,(O+C)/2,1,0),COLORFF6600;3 q& [3 V- h* U
STICKLINE(VARDQ,O,(O+C)/2,0,0),COLORFF8800; |