在线检测未来函数

通达信资金趋势浪指标公式

来源:Internet,编辑:股旁网,2024-11-12

X_1:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
X_2:=SMA(X_1,8,1);
X_3:=SMA(X_2,8,1);
X_4:=3*X_2-2*X_3;
X_5:=SMA(X_1,5,1);
X_6:=SMA(X_5,5,1);
X_7:=3*X_5-2*X_6;
X_8:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,189))*100;
X_9:=SMA(X_8,8,1);
X_10:=SMA(X_9,13,1);
X_11:=3*X_9-2*X_10;
X_12:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;
X_13:=(CLOSE-MA(CLOSE,14))/MA(CLOSE,14)*100;
X_14:=(CLOSE-MA(CLOSE,28))/MA(CLOSE,28)*100;
X_15:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100;
X_16:=(CLOSE-MA(CLOSE,89))/MA(CLOSE,89)*100;
X_17:=(CLOSE-EMA(CLOSE,168))/EMA(CLOSE,168)*100;
X_18:=REF(CLOSE,1);
X_19:=SMA(MAX(CLOSE-X_18,0),21,1)/SMA(Abs(CLOSE-X_18),21,1)*1000;
X_20:=X_19-LLV(X_19,55);
X_21:=LLV(X_19,55)-X_19;
X_22:=(MA(X_20,2)*3+X_20*13)/16;
X_23:=(MA(X_21,2)*3+X_21*13)/16;
X_24:=MA(X_20,13);
X_25:=MA(X_21,13);
X_26:=IF(X_22<X_24,X_23,X_25);
X_27:=IF(X_23<X_25,X_24,X_22);
X_28:=REF(CLOSE,1);
X_29:=SMA(MAX(CLOSE-X_28,0),13,1)/SMA(ABS(CLOSE-X_28),34,1)*100;
X_30:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),89);
X_31:=HIGH-REF(HIGH,18);
X_32:=REF(LOW,8)-LOW;
X_33:=SUM(IF(X_31>0 AND X_31>X_32,X_31,0),250);
X_34:=SUM(IF(X_32>0 AND X_32>X_31,X_32,0),250);
X_35:=X_33*100/TR;
X_36:=X_34*100/TR;
X_37:=MA(ABS(X_36-X_35)/(X_36+X_35)*100,89);
X_38:=X_29+X_37;
X_39:=(X_37+REF(X_37,34))/2+X_29;
X_40:=100*(HHV(HIGH,144)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,233));
X_41:=X_29-X_40;
X_42:=X_17*3.4;
X_43:=IF(X_42<(-58) AND X_10<18 OR (X_42<(-54) AND X_10<25 AND X_14<(-10) AND (CLOSE-REF(CLOSE,5))/REF(CLOSE,5)*100<(-13) AND EVERY(CLOSE<OPEN,6)) OR X_15<(-24) OR X_10<13 OR X_6<10 OR X_16<(-28) OR X_17<(-30),X_42*0.9,0);
X_44:=IF(X_15>34 AND X_6>72 AND X_7>95 OR (X_15>28 AND X_6>72 AND X_7>99),X_42*0.98,0);
DRAWBAND(X_42,RGB(255,0,0),0,RGB(8,108,8));
DRAWBAND(X_43,RGB(233,233,0),0,RGB(255,255,0));
DRAWBAND(X_44,RGB(0,233,0),0,RGB(0,255,0));

通达信资金趋势浪指标公式

相关文章