50,COLORFFBB00;4 h( K+ F9 i; s W5 Q" r; I4 v
K:"KDJ.K",PRECISION2,COLORWHITE,LINETHICK;D:="KDJ.D";4 Y' U# e3 @: r# S* ]
J:"KDJ.J",PRECISION2,COLORMAGENTA,LINEDOT;( `( H% v r- e0 k2 @! c
PARTLINE(K D,K,D),COLOR0066FF;
" w, M9 m: }- ~# y2 y( V{}
! [& m1 u% O% {! C$ c, r6 \( z& IBb:=CROSS(K,D);Ss:=CROSS(D,K);
; e# a& _3 p7 [# E: p) m7 Ldrawtext(Bb,2,' ↑'),colorred;
& T0 H9 I. N1 P* a3 ^( m2 a7 tdrawtext(Bb,2,'B'),colorred;
P# Z/ O/ q% _( b% B0 D& Q3 q/ ]drawtext(Ss,100,' ↓'),colorwhite;/ o# p) ?2 p& O [" v. | B+ p
drawtext(Ss,100,'S'),colorwhite;
8 h6 ^% b% t" {* A) }* e{}
6 y$ b/ h+ {7 ?( c! l$ h6 gRK:=MA("KDJ.K#DAY",1);
' y J! T. t% }5 AZJ:=MA("KDJ.J#WEEK",5);
# }0 M$ W+ q8 {8 N, @ uYJ:=MA("KDJ.J#MONTH",21);
) U! g2 E3 X& Q4 m$ GSAT:IF((AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100),PRECISION2,COLORCCFFCC,LINETHICK;+ l0 o9 |% P% A; a! m; b3 L
{}P:=SYSPARAM(1);BD:=BARPOS;ww:=SYSPARAM(2)+4;/ |" N; d' d3 ^/ f R
STICKLINE(BD=WW,-22,122,84,1),COLORFFFFFF;- S1 a5 P N+ f
STICKLINE(BD=WW-3,1,YJ[p] ,14,0),COLORFFAAAA;! j- q9 N8 O- s; C! v( I5 g* x# {
STICKLINE(BD=WW-1,1,ZJ[p] ,14,0),COLORFF6600;
1 l! M3 X3 z" XSTICKLINE(BD=WW+1,1,RK[p] ,14,0),COLOR0000BB;! {: d3 M8 R/ x) g5 B# N
STICKLINE(BD=WW+3,1,SAT[p],14,0),COLOR66AA66;
: R/ e# z3 Y2 }DRAWTEXT(BD=WW-3,YJ[p],' 月J:\n'+NUMTOSTR(YJ[P],2)),COLORWHITE,align0,PXUP30;
! g" {: t$ }. ?$ ZDRAWTEXT(BD=WW-1,ZJ[p],' 周J:\n'+NUMTOSTR(ZJ[P],2)),COLORFFEE00,align0,PXUP30;
0 r. v( ?+ ?6 X1 s- U& Y% ?; v$ r* i* [DRAWTEXT(BD=WW+1,RK[p],' 日K:\n'+NUMTOSTR(RK[P],2)),COLORCCFFCC,align0,PXUP30;9 y$ ~4 i: K& s4 @: @( t( V
DRAWTEXT(BD=WW+3,SAT[p],'饱和度:\n'+NUMTOSTR(SAT[P],1)),COLORCCFFCC,al |