LL:=LLV(L,77);
HH:=HHV(H,17);
LH:=(HH-LL)/HH;
HD:IF(C<HH,LL,HH),COLORBLACK,LINETHICK2;
JC:IF(C>LL,HH,LL),COLORRED,LINETHICK2;
JDCM:=(JC-HD)/JC;
&:=DMA(C,V/SUM(V,7)),COLORPURPLE;
&1:=DMA(C,V/SUM(V,13)),COLORRED;
A:=(3*C+O+L+H)/6;
B:(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210,COLORBLACK,LINETHICK2;
QS:MA(B,5),COLORBLUE,LINETHICK3;
M:=(C-REF(C,1))/REF(C,1);
M1:A*(1+M*0.03812)*1.03812;
M2:A*(0.9-M*0.0618)*1.0618;
RH:QS*1.089,COLORCYAN,LINETHICK5;
SC:=CROSS(M2,L);
ZY:=CROSS(H,M1);
XX:=(1.89-SC)*C;
YY:=(1.89-ZY)*C;
X1:=CROSS(B,QS);
X2:=CROSS(QS,B);
X:=IF(X1,1,0);
Y1:=BARSLAST(X);
Y:=ABS(REF(QS,Y1-REF(X1,Y1)));
Z:=IF(X2,B,Y);
STICKLINE(JDCM<=0.13,JC,JC*1.01,2,0),COLORGREEN;
STICKLINE(CROSS(B,L*0.999),O,C,2,0),COLORYELLOW;
STICKLINE(C>=REF(C,1)*1.0989,O*1.018,C*0.968,2,0),COLORLIBLUE;
DRAWICON(Z>=REF(Z,1) AND BARSLAST(X1)<BARSLAST(X2) OR SC,Z,26);
STICKLINE(X2 OR JC=HD,L,Y,1,0),COLORBLUE,LINETHICK3;
STICKLINE(X1,L,Y,1,0),COLORLYCIAN,LINETHICK3;
DRAWICON(X1,L*0.99,20);
DRAWICON(X2,H*1.02,19);
DRAWICON(X2,H*1.01,2);
DRAWICON(SC,L,1);
DRAWICON(ZY,H,6);
|