DRAWGBK(OPEN>0,RGB(10,10,10),RGB(0,0,0),0,1,0);
X_1:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
X_2:=SMA(X_1,6,1);
X_3:=SMA(X_2,6,1);
X_4:=IF(X_2>X_3,X_2,X_3);
X_5:=X_3-(X_2-X_3);
X_6:=IF(X_5<X_3,X_5,X_3);
X_7:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_8:=SMA(X_7,3,1);
X_9:=SMA(X_8,3,1);
X_10:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_11:=IF(CLOSE>OPEN,X_10*(HIGH-LOW),IF(CLOSE<OPEN,X_10*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-X_10*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-X_10*(HIGH-LOW),0-VOL/2));
X_12:=VOL/CAPITAL;
X_13:=IF(X_12>10,10,X_12);
X_14:=X_11/20/1.15;
X_15:=X_14*0.55+REF(X_14,1)*0.33+REF(X_14,2)*0.22;
X_16:=EMA(X_15,3);
X_17:=X_16*1/10000;
X_18:=EMA(X_17,5);
X_19:=CROSS(X_17,X_18);
X_20:=(3*CLOSE+HIGH+LOW+OPEN)/6;
X_21:=(8*X_20+7*REF(X_20,1)+6*REF(X_20,2)+5*REF(X_20,3)+4*REF(X_20,4)+3*REF(X_20,5)+2*REF(X_20,6)+REF(X_20,8))/36;
X_22:=(HHV(X_21,2)+HHV(X_21,4)+HHV(X_21,6))/3;
X_23:=FILTER(X_19,5);
X_24:=SUMBARS(BARSLAST(X_23=HHV(X_23,5))=0,1);
STICKLINE(X_24<=30,REF(HIGH,X_24-1)*1,REF(LOW,X_24-1)*1,4,0),COLOR737373;
DRAWBAND(X_21,RGB(155,50,50),X_22,RGB(250,250,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_25:=X_22;
IF(CLOSE>=X_25,X_25,DRAWNULL),COLOR2222B2,LINETHICK2;
X_26:=X_25;
STICKLINE(X_8>X_9,REF(HIGH,X_24-1)*1,REF(HIGH,X_24-1)*0.98,1.5,1),COLORCYAN;
STICKLINE(X_2>X_3,REF(HIGH,X_24-1)*1,REF(HIGH,X_24-1)*0.98,1.5,0),COLOR0085CD;
STICKLINE(X_26>LOW AND X_26,X_26,MIN(MIN(OPEN,CLOSE),X_26),0.5,1),COLORGREEN;
STICKLINE(X_26>MIN(CLOSE,OPEN) AND X_26,X_26,MIN(OPEN,CLOSE),0.5,1),COLORGREEN;
X_27:=(2*CLOSE+HIGH+LOW)/4;
X_28:=LLV(LOW,5);
X_29:=HHV(HIGH,4);
X_30:=EMA((X_27-X_28)/(X_29-X_28)*100,4);
X_31:=EMA(0.667*REF(X_30,1)+0.333*X_30,2);
DRAWTEXT(CROSS(X_30,X_31) AND X_30<30,LOW*0.96,2),COLORLIRED;
DRAWTEXT(CROSS(X_31,X_30) AND X_30>70,HIGH*1.01,3),COLORGREEN;
DRAWICON(CROSS(X_30,X_31) AND X_30<30,LOW*0.99,13);
DRAWICON(CROSS(X_31,X_30) AND X_30>70,HIGH*1.02,10);
X_32:=CONST(REF(LOW,BARSLAST(X_19)));
DRAWICON(CROSS(CLOSE,REF(OPEN,X_32)),LOW*0.98,41);
X_33:=EMA(CLOSE,X_32);
X_34:=EMA(X_33,0);
X_35:=FILTER(X_34>REF(X_34,1) AND HHV(MA(HIGH,3),2)<REF(HHV(MA(HIGH,3),2),1) AND CLOSE>REF(CLOSE,1),11);
IF(X_35>=1,LOW*0.996,DRAWNULL),CIRCLEDOT,COLORWHITE;
DRAWTEXT(X_35>=1,LOW*0.96,4),COLORWHITE;
X_36:=LLV(LOW,6)=LLV(LOW,14) AND REF(HHV(HIGH,14),1)=REF(HHV(HIGH,20),1) AND CROSS(CLOSE,REF(HHV(CLOSE,14),1)) OR (REF(HHV(HIGH,5),1)=REF(HHV(HIGH,9),1) AND CROSS(CLOSE,REF(HHV(CLOSE,5),1)) AND LOW>REF(LOW,1) AND REF(LLV(LOW,2),1)=LLV(LOW,20)) OR (REF(HHV(HIGH,16),1)=REF(HHV(HIGH,22),1) AND CROSS(CLOSE,REF(HHV(CLOSE,16),1)) AND LOW>REF(LOW,1) AND REF(LLV(LOW,6),1)=LLV(LOW,20));
DRAWTEXT(X_36=1,LOW*0.96,5),COLORWHITE;
|