|
lhnh:=BARSLAST(DISPSTATUS=1)+1;5 U3 c. N( V' S
nnl:=DISPSTATUS=2;
5 p3 a& m1 Q1 N) iqqqq:=BACKSET(DISPSTATUS=2 ,barslast(dispstatus=1));! U, c; r* N8 I: X
hh:=HHV(h ,lhnh);( y0 ^9 J! \; U
ll:=llV(l ,lhnh);
. C6 k% R' ?9 N( Z/ R% oq0:=hh+(hh-ll)*POW(0.618,5);; c& x5 ]! h: \. {
hh:=HHV(h ,lhnh);
3 u" m1 S6 O! qq1:=ll+(hh-ll)*POW(0.618,1);
9 D7 }/ K9 F. z* S% @& |q2:=ll+(hh-ll)*POW(0.618,2);8 p: ~9 I4 t7 C" ^
q3:=ll+(hh-ll)*POW(0.618,3);; X; R3 [, G9 w# c
q4:=ll+(hh-ll)/2;+ m2 S" w. X% B1 K
q5:=ll+(hh-ll)*POW(0.618,5);; }6 |6 r4 Y& O) h' a/ v
q6:=hh-(hh-ll)*POW(0.618,3);
5 l5 x! l7 v i& {q7:=hh-(hh-ll)*POW(0.618,5);# i4 `# `0 g7 H% |' s
ll:=llV(l ,lhnh);. i8 X: ^* w+ b6 P- w) t
q8:=ll-(hh-ll)*POW(0.618,5);
& o* U0 j) P0 m. z9 F) ^+ y& EPARTLINE(q0,qqqq,RGB(238,238,28));
+ C3 U. {2 {! w. q6 A- t9 t7 ~PARTLINE(hh ,qqqq,RGB(255,0,255));( w% `; D. w9 Z, Q3 w* n
PARTLINE(q1,qqqq,RGB(238,238,28));1 V/ r6 ^9 W* Z& W- ` D& Q o
PARTLINE(q2,qqqq,RGB(238,238,28));
8 @7 q+ U) b/ {. } N! dPARTLINE(q3,qqqq,RGB(238,238,28));
2 R f* ]5 e) gPARTLINE(q4,qqqq,RGB(238,0,0));
+ v! b% ]- L( r% M: {PARTLINE(q5,qqqq,RGB(238,238,28));
5 f! H- x- h! V* YPARTLINE(q6,qqqq,RGB(238,238,28));
5 Z, `$ l9 j: z. EPARTLINE(q7,qqqq,RGB(238,238,28));8 `$ {! J Y0 v4 d1 _" b; E* \: J
PARTLINE(ll,qqqq,RGB(255,0,255));
1 v. c3 a A6 ?. r* f2 `7 x$ PPARTLINE(q8,qqqq,RGB(238,238,28));0 U$ D3 k( }6 T) C
DRAWTEXT(nnl,q0,'108.9% '+q0),Color00FFFF;
+ K Z0 K8 G: i% \, z+ J8 @, M! \8 v
DRAWTEXT(nnl,hh,'100% '+hh),ColorFF00FF;
6 O* z" Y2 A( ]: l. \DRAWTEXT(nnl,q7,'90.9% '+q7),Color00FFFF;
: v; L' G1 }, n- C- f/ pDRAWTEXT(nnl,q6,'76.4% '+q6),Color00FFFF;" n/ I9 i" X5 r) k
DRAWTEXT(nnl,q1,'61.8% '+q1),Color00FFFF;
: f: `- ~( Y$ _, ?DRAWTEXT(nnl,q4,'50% '+q4),Colorred;4 R8 y, [) b! j: R3 c
DRAWTEXT(nnl,q2,'38.2% '+q2),Color00FFFF;5 _ F4 x) M! L$ I8 K) f
DRAWTEXT(nnl,q3,'23.7% '+q3),Color00FFFF;+ [9 Y6 n3 X8 O* g" k6 m
DRAWTEXT(nnl,q5,'8.9% '+q5),Color00FFFF;
. ^+ z; e$ m. u+ p0 s1 E; JDRAWTEXT(nnl,ll,'0% '+ll),ColorFF00FF;
1 ]: h/ B( @8 f1 X9 d8 oDRAWTEXT(nnl,q8,'-8.9% '+q8),VALIGN2,Color00FFFF; |