源码如下:
& q# O4 R6 {% ^1 c* Y3 Y* jK2:=EMA(C,5),COLORFFFF00; W0 o7 s+ Y3 Z8 C$ A
K3:=EMA(C,10),COLORFFFF00;& ?! r) f4 {, K' f @
K5:=EMA(C,30),COLORFFFF00;, _4 d+ p8 H7 o, c# I0 W7 F$ d
KK5:=EMA(INDEXC,30),COLORFFFF00;
/ O/ Q3 t' ?: ?' V0 fA10:=EMA(C,10);4 T# L0 k. s1 p' l% \0 W
K6:=2*(K2-K5);K7:=2*(K2-K3);
$ L! {8 I; d4 u- z8 ]K8:=2*(K7+K6),COLORRED;
9 ~0 h2 K4 Z6 M* B9 ~% @6 g$ R% @/ YVAR1:=(100-((90*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21))));$ L, B1 k) }5 r0 k0 Z
VAR2:=(100-((90*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21))));- D2 h( B% g/ x9 G" Q2 L6 u
VAR3:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6))),34));: C+ Z1 j1 W4 N5 m2 D! ]1 @
年:=MA(CLOSE,26),COLORGREEN,LINETHICK0;# F7 Q9 Y1 |8 A e) H
箱底LV(MA((LOW),5),30),COLORGREEN,LINETHICK1;
4 I- ~" U0 M: S! B4 Y长箱底:LLV(MA((LOW),5),60),LINETHICK1;: d3 u6 X; T) y! j( r3 k# s
长长箱底:LLV(MA((LOW),5),100),COLORCYAN,LINETHICK1;. y* I) ]8 v# ^. [: Q8 `
长长箱顶:HHV(MA((HIGH),6),120),LINETHICK1;
, F' C6 N1 V4 V. ?8 l' ~7 k5 |长箱顶:HHV(MA((HIGH),6),60),COLORRED,LINETHICK1;
+ C% x' X0 B+ J; h9 C箱顶:HHV(MA((HIGH),6),30),COLOR00AAFF,LINETHICK1;$ G) }7 i0 ^3 c6 \6 x. o# e/ C8 f
中央箱顶+箱底)/2,COLORFF00FF,LINETHICK3;
8 O2 [4 @0 j0 T R6 B6 I* E启动线:EMA(C,2),COLOR00FF00,LINETHICK2;
6 V: _# O% X& E9 dWX:EMA(C,5),COLORWHITE,LINETHICK2;
5 z) Y$ f* F2 Q! H9 F JSTICKLINE(CROSS(WX,中央),中央-0.8,中央+0.8,8,0) ,COLORWHITE;
: E C% [ i9 |$ aSTICKLINE(CROSS(WX,长箱顶),长箱顶-0.8,长箱顶+0.8,10,0) ,COLORYELLOW,LINETHICK2;# s E1 ]0 m1 v
STICKLINE(CROSS(WX,箱顶),箱顶-0.5,箱顶+0.5,10,0) ,COLORGREEN;4 L. B- z; P& ^$ L' ]$ p) p' m
STICKLINE(WX>中央,中央,WX,0,-1),COLORFF00FF; - r* R$ j8 e c, {
STICKLINE(中央>WX,WX,中央,0,-1),COLORLIGREEN;
2 c0 j. P+ }( m' I s1 m8 xSTICKLINE(CLOSEREF(CLOSE,1),OPEN,CLOSE,5,0),COLORRED; |