SSX2:=90;
HHC2:=HHV(H,SSX2); LLC2:=LLV(L,SSX2); R12:=(HHC2+LLC2)/2; QQ2:=(HHC2+R12)/2; ZZ2:=(LLC2+R12)/2; STICKLINE(ISLASTBAR AND SSX2,R12,HHC2,900,0),COLOR009F00; STICKLINE(ISLASTBAR AND SSX2,R12,QQ2,900,0),COLOR6A6A6A; STICKLINE(ISLASTBAR AND SSX2,R12,ZZ2,900,0),COLOR009F00; STICKLINE(ISLASTBAR AND SSX2,LLC2,ZZ2,900,0),COLOR6A6A6A; SSX1:=60; HHC1:=HHV(H,SSX1); LLC1:=LLV(L,SSX1); R11:=(HHC1+LLC1)/2; QQ1:=(HHC1+R11)/2; ZZ1:=(LLC1+R11)/2; STICKLINE(ISLASTBAR AND SSX1,R11,HHC1,600,0),COLOR00008C; STICKLINE(ISLASTBAR AND SSX1,R11,QQ1,600,0),COLOR008C8C; STICKLINE(ISLASTBAR AND SSX1,R11,ZZ1,600,0),COLOR00008C; STICKLINE(ISLASTBAR AND SSX1,LLC1,ZZ1,600,0),COLOR008C8C; SSX:=30; HHC:=HHV(H,SSX); LLC:=LLV(L,SSX); R1:=(HHC+LLC)/2; QQ:=(HHC+R1)/2; ZZ:=(LLC+R1)/2; STICKLINE(ISLASTBAR AND SSX,R1,HHC,300,0),COLOR00004A; STICKLINE(ISLASTBAR AND SSX,R1,QQ,300,0),COLOR004000; STICKLINE(ISLASTBAR AND SSX,R1,ZZ,300,0),COLOR00004A; STICKLINE(ISLASTBAR AND SSX,LLC,ZZ,300,0),COLOR004000; TRY := MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW)); ATR:=MA(TRY,13); VAR1:=REF(CLOSE,1)-REF(ATR,1); LSX:=HHV(VAR1,13); STICKLINE(C>=O,H,L,0,0),COLORRED; STICKLINE(C>=O,C,O,3.5,0),COLOR0000AA; STICKLINE(C>=O,C,O,3,0),COLOR0000CC; STICKLINE(C>=O,C,O,2.5,0),COLOR0000DD; STICKLINE(C>=O,C,O,2,0),COLOR0000FF; STICKLINE(C<=O,H,L,0,0),COLORGRAY; STICKLINE(C<=O,C,O,3.5,0),COLOR998855; STICKLINE(C<=O,C,O,3,0),COLORBBAA77; STICKLINE(C<=O,C,O,2.5,0),COLORDDCC99; STICKLINE(C<=O,C,O,2,0),COLORFFEEBB; C0:=(H+L+C)/3; A1:=HHV(C0,14); A2:=LLV(C0,14); A3:=A1-A2; A4:=EMA((C0-A2)/A3,2); B1:=HHV(C0,30); B2:=LLV(C0,30); B3:=B1-B2; B4:=EMA((C0-B2)/B3,2); C1:=HHV(C0,55); C2:=LLV(C0,55); C3:=C1-C2; C4:=EMA((C0-C2)/C3,2); A1X:=A4*2,COLORYELLOW; RCC:DYNAINFO(3); IF(A1X>0,A1X/1.5+RCC,DRAWNULL),COLORYELLOW; B:=EMA(C,3)-EMA(C,17),COLORRED,LINETHICK2; IF(B>0,B+RCC,DRAWNULL),COLORGREEN; IF(B<0,B+RCC,DRAWNULL),COLORGREEN; |
|