X_1:=REF(CLOSE,1);
X_2:=SMA(MAX(CLOSE-X_1,0),5,1)/SMA(ABS(CLOSE-X_1),5,1)*100;
X_3:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10);
X_4:=HIGH-REF(HIGH,1);
X_5:=REF(LOW,1)-LOW;
X_6:=SUM(IF(X_4>0 AND X_4>X_5,X_4,0),10);
X_7:=SUM(IF(X_5>0 AND X_5>X_4,X_5,0),10);
X_8:=X_6*100/X_3;
X_9:=X_7*100/X_3;
X_10:=MA(ABS(X_9-X_8)/(X_9+X_8)*100,5);
X_11:=X_2+X_10;
X_12:=(X_10+REF(X_10,5))/2+X_2;
0,colormagenta;
X_13:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
X_14:=X_2-X_13;
X_15:=X_11+X_14;
STICKLINE(X_15<0,0,(-10),0.8,1),coloryellow,LINETHICK6;
X_16:=LLV(X_15,1);
STICKLINE(CROSS(X_15,0),0,(-10),0.8,1),colorred,LINETHICK6;
STICKLINE(X_16>230,100,90,0.3,1),colorgreen,LINETHICK6;
X_17:=LLV(LOW,9);
X_18:=HHV(HIGH,9);
X_19:=EMA((CLOSE-X_17)/(X_18-X_17)*100,3);
K:EMA(X_19,3);
D:MA(K,3);
STICKLINE(K>D,K,D,2.5,0),colorred,LINETHICK2;
STICKLINE(D>K,K,D,2.5,0),colorgreen,LINETHICK2;
逃顶线:80,colorgreen;
中轴线:50,colorred;
抄底线:20,colorgreen;
DRAWICON(CROSS(K,D),12,1),colorred;
DRAWICON(CROSS(D,K),88,2),colorgreen;
警戒:X_15<0,coloryellow,LINETHICK0;
出击:CROSS(X_15,0),colorred,LINETHICK0;
202108202134.jpg
|