X_1:=IF(DATE<1151219 AND DATE>900101,1,0);
MA1:MA(CLOSE,M1)*X_1;
MA2:MA(CLOSE,M2)*X_1;
MA3:MA(CLOSE,M3)*X_1;
MA4:MA(CLOSE,M4)*X_1;
DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1))*X_1 AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))*X_1 AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3),LOW*0.98,1)*X_1;
DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1))*X_1 AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2))*X_1 AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3),HIGH*1.01,2)*X_1;
X_2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
X_3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
X_4:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
X_5:=(X_2+X_3+X_4)/3;
X_6:=EMA(X_5,5);
X_7:=EMA(EMA(X_2,5),5)*3;
X_8:=IF(X_5<=(-20),10,0);
X_9:=HHV(X_8,10);
X_10:=IF(X_9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
X_11:=EMA(X_6,5)*2;
X_12:=EMA(X_11,5);
X_13:=X_11*3-X_12*2;
X_14:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND X_13>10;
X_15:=VOL/CAPITAL*100;
DRAWTEXT(X_8=10 AND FILTER(X_8=10,5)*X_1,LOW*0.93*X_1,19*X_1)*X_1,COLORMAGENTA;
DRAWTEXT(X_10=20,LOW*0.95,20*X_1)*X_1,COLORYELLOW;
X_16:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
X_17:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
X_18:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
X_19:=X_17<REF(X_18,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(X_19*X_1 AND COUNT(X_19,30)=1*X_1,LOW*0.95*X_1,21*X_1)*X_1,COLORMAGENTA;
X_20:=(HIGH+LOW+CLOSE)/3;
X_21:=(X_20-MA(X_20,14))/(0.015*AVEDEV(X_20,14));
X_22:=(X_20-MA(X_20,70))/(0.015*AVEDEV(X_20,70));
X_23:=IF(X_21>=150 AND X_21<200 AND X_22>=150 AND X_22<200,10,0);
X_24:=IF(X_21<=(-150) AND X_21>(-200) AND X_22<=(-150) AND X_22>(-200),(-10),X_23);
X_25:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
X_26:=100-ABS(X_25);
X_27:=IF(X_26<90,X_26,100);
X_28:=IF(X_16>0,X_16,0);
X_29:=IF(X_22>=200 AND X_21>=150,15,IF(X_22<=(-200) AND X_21<=(-150),(-15),X_24))+60;
X_30:=X_28>48 AND X_29>60 AND X_27<100;
DRAWTEXT(X_30 AND COUNT(X_30,30)=1,LOW*0.95,22*X_1)*X_1,COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.1,0.01,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.18,0.01,1,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.36,0.01,1,GNBLOCK),COLORWHITE;
|