通达信准波段王指标公式
通达信优化经典CCI指标公式
通达信准波段王指标公式:
X_1:=(CLOSE+HIGH+LOW+OPEN)/4;
X_2:=SUMBARS(vol,CAPITAL);
X_3:=HHV(X_1,X_2);
X_4:=LLV(X_1,X_2);
X_5:=(2*X_1-X_4-REF(X_4,1))/(X_3-X_4);
X_6:=(X_1-X_4)/(X_3-X_4);
X_7:=IF(X_1<=X_4,X_5*60,X_6*60);
X_8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
X_9:=EMA(X_8,7);
X_10:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;
X_11:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;
X_12:=HHV(HIGH,9)-LLV(LOW,9);
X_13:=HHV(HIGH,9)-CLOSE;
X_14:=CLOSE-LLV(LOW,9);
X_15:=X_13/X_12*100-70;
X_16:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
X_17:=(2*CLOSE+HIGH+LOW)/4;
X_18:=SMA(X_14/X_12*100,3,1);
X_19:=LLV(LOW,34);
X_20:=SMA(X_18,3,1)-SMA(X_15,9,1);
X_21:=IF(X_20>100,X_20-100,0);
X_22:=HHV(HIGH,34);
X_23:=EMA((X_17-X_19)/(X_22-X_19)*100,8);
X_24:=EMA(X_23,5);
stICKLINE(X_23-X_24>0,X_23,X_24,8,1),COLORRED;
STICKLINE(X_23-X_24<0,X_23,X_24,8,1),COLORGREEN;
通达信创新高与新低指标公式