50,COLORFFBB00;
) m' Q& e8 b' O* P' \/ ^7 B: O2 H3 HK:"KDJ.K",PRECISION2,COLORWHITE,LINETHICK;D:="KDJ.D";+ s e$ W$ X+ C& ]8 V, Z3 e
J:"KDJ.J",PRECISION2,COLORMAGENTA,LINEDOT;
; e' M3 H/ f* [- PPARTLINE(K D,K,D),COLOR0066FF;: {5 M, g2 {$ U4 g& K6 }- j7 f
{}: h! ]. h" N4 q9 W6 i9 L
Bb:=CROSS(K,D);Ss:=CROSS(D,K);8 f* U# p' c! w2 M9 t
drawtext(Bb,2,' ↑'),colorred;
" w$ @8 I4 f6 F6 t0 B# X& m+ Qdrawtext(Bb,2,'B'),colorred;' Q3 \7 T! c# v, A
drawtext(Ss,100,' ↓'),colorwhite;
9 @6 s3 L0 G- _1 ~/ tdrawtext(Ss,100,'S'),colorwhite;4 t8 Q" ]' O* S* m
{}
/ m1 `' Z- H1 X! MRK:=MA("KDJ.K#DAY",1);
/ _" R+ J4 G8 A4 U1 x5 w# jZJ:=MA("KDJ.J#WEEK",5);
7 i% P+ J( n0 s/ k2 ^YJ:=MA("KDJ.J#MONTH",21);
7 g& B. d) j$ i k0 BSAT:IF((AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100),PRECISION2,COLORCCFFCC,LINETHICK;
3 g2 v9 C( `6 n- Y9 K% ]" g2 q{}P:=SYSPARAM(1);BD:=BARPOS;ww:=SYSPARAM(2)+4;; F% T6 Z$ |1 e. ~/ h9 n2 x
STICKLINE(BD=WW,-22,122,84,1),COLORFFFFFF;
+ w* ?+ H. m' B( `$ ?# F0 E. @STICKLINE(BD=WW-3,1,YJ[p] ,14,0),COLORFFAAAA;2 _! ~" f* j, s' ^/ s
STICKLINE(BD=WW-1,1,ZJ[p] ,14,0),COLORFF6600;, x( }& d# T+ t# }3 G, c! q1 Z
STICKLINE(BD=WW+1,1,RK[p] ,14,0),COLOR0000BB;
' {' v5 c5 b e0 g @STICKLINE(BD=WW+3,1,SAT[p],14,0),COLOR66AA66;3 N; L6 R( ?" r; V
DRAWTEXT(BD=WW-3,YJ[p],' 月J:\n'+NUMTOSTR(YJ[P],2)),COLORWHITE,align0,PXUP30;- m! c3 I6 N [2 D7 {1 c
DRAWTEXT(BD=WW-1,ZJ[p],' 周J:\n'+NUMTOSTR(ZJ[P],2)),COLORFFEE00,align0,PXUP30;3 P" {3 H1 B. V a" W7 Y
DRAWTEXT(BD=WW+1,RK[p],' 日K:\n'+NUMTOSTR(RK[P],2)),COLORCCFFCC,align0,PXUP30;: O8 \7 B, ~1 X" C+ |
DRAWTEXT(BD=WW+3,SAT[p],'饱和度:\n'+NUMTOSTR(SAT[P],1)),COLORCCFFCC,al |