X_1:=(OPEN+HIGH+LOW+CLOSE)/4;
X_2:=MA(X_1,3);
X_3:=SUM(IF(X_1>REF(X_1,1),X_1*VOL,0),4)/SUM(IF(X_1<REF(X_1,1),X_1*VOL,0),4);
X_4:=REF(100-100/(1+X_3),1);
X_5:=1171002;
X_6:=IF(DATE<X_5,1,DRAWNULL);
X_7:=HHV(X_1,15);
X_8:=LLV(X_1,15);
X_9:=X_7-X_8;
X_10:=EMA((X_1-X_8)/X_9,2)*100;
X_11:=IF(DATE<X_5,1,DRAWNULL);
X_12:=HHV(X_1,60);
X_13:=LLV(X_1,60);
X_14:=X_12-X_13;
X_15:=EMA((X_1-X_13)/X_14,2)*100*X_11;
X_16:=HHV(X_1,240);
X_17:=LLV(X_1,240);
X_18:=X_16-X_17;
X_19:=EMA((X_1-X_17)*X_6/X_18,2)*100;
X_20:=X_10*X_6;
X_21:=X_15;
X_22:=X_19*X_11;
卖:IF(FILTER(X_21<REF(X_21,1) AND X_21>90 AND X_2<REF(X_2,1),5),60,100),COLORGREEN,LINETHICK3;
买:IF(FILTER(X_21>REF(X_21,1) AND X_21<5 AND CLOSE>REF(CLOSE,1),5),40,0),COLORRED,LINETHICK3;
X_23:=X_21>REF(X_21,1) AND X_20>REF(X_20,1) AND X_22>REF(X_22,1) AND X_22<8 AND X_21<10 AND X_20<15;
X_24:=CROSS(X_20,X_21) AND X_21<8;
X_25:=CROSS(X_20,X_22) AND X_22<8 AND X_21<20;
DRAWICON(FILTER(X_23 OR X_24 OR X_25 AND X_4<15 AND CLOSE>REF(CLOSE,1),5),5,1);
DRAWICON(FILTER(X_21<REF(X_21,1) AND X_20<REF(X_20,1) AND X_22<REF(X_22,1) AND X_21>95 AND X_20>85 OR (X_22>100 AND X_21>100 AND X_20>100),5),95,2);
X_26:=REF(LOW,1)*0.9;
X_27:=LOW*0.9;
X_28:=(X_27*VOL*X_11+X_26*(CAPITAL-VOL))/CAPITAL;
X_29:=EMA(X_28,30);{www.fxjgsw.com}
X_30:=CLOSE-REF(CLOSE,1);
X_31:=MAX(X_30,0);
X_32:=ABS(X_30);
X_33:=SMA(X_31,7,1)/SMA(X_32,7,1)*100;
X_34:=SMA(X_31,13,1)/SMA(X_32,13,1)*100;
X_35:=BARSCOUNT(CLOSE);
X_36:=SMA(MAX(X_30,0),6,1)/SMA(ABS(X_30),6,1)*100;
X_37:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
X_38:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
X_39:=SMA((SMA(X_38,4,1)-50)*2*X_6,3,1);
X_40:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
X_41:=SMA(X_40,4,1);
X_42:=SMA(X_41,3,1);
X_43:=(HHV(HIGH,30)-CLOSE)/CLOSE*100*X_6;
X_44:=X_36<=25 AND X_37<(-95) AND X_43>20 AND X_39<(-30) AND X_42<30 AND X_29-CLOSE>=(-0.25) AND X_33<22 AND X_34<28 AND X_35>50;
庄进:X_44;
STICKLINE(X_44,0,50,1,0),COLORRED;
100; |