X_1:=80;
X_2:=3;
X_3:=100-90*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
X_4:=100-90*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
X_5:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),34);
X_6:=ABS(CLOSE-REF(CLOSE,5));
X_7:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
X_8:=X_6/X_7;
X_9:=X_8*(0.8-2/8)+2/8;
X_10:=X_9*X_9;
X_11:=ABS(CLOSE-REF(CLOSE,10));
X_12:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
X_13:=X_11/X_12;
X_14:=X_13*(0.8-2/24)+2/24;
X_15:=X_14*X_14;
STICKLINE(X_4 MA(X_5,6),LOW,HIGH,0,1),COLORLIBLUE;
STICKLINE(X_4 MA(X_5,6),LOW,HIGH,0,1),COLORRED;
STICKLINE(OPEN CLOSE AND X_4 MA(X_5,6),CLOSE-0.03,OPEN,3.05,0),COLORLIBLUE;
STICKLINE(OPEN CLOSE AND X_4 MA(X_5,6),CLOSE,OPEN,3.05,1),COLORLIBLUE;
STICKLINE(OPEN CLOSE AND X_4 MA(X_5,6),OPEN,CLOSE-0.03,3.05,0),COLORRED;
STICKLINE(OPEN CLOSE AND X_4 MA(X_5,6),OPEN,CLOSE,3.05,1),COLORRED;
DRAWICON(CROSS(X_4,MA(X_5,6)),LOW-LOW*0.02,7);
DRAWICON(CROSS(MA(X_5,6),X_3),HIGH+HIGH*0.02,8);
X_16:=REF(HIGH,1)-REF(LOW,1);{www.9m8.cn 九毛八公式指标网}
X_17:=(REF(HIGH,1)+REF(LOW,1)+REF(CLOSE,1)*2)/4;
X_18:=X_17+X_16;
X_19:=X_17-X_16;
X_20:=X_17*2-REF(LOW,1);
X_21:=X_17*2-REF(HIGH,1);
强:IF(X_18 REF(CLOSE,1)*1.1,REF(CLOSE,1)*1.1,X_18),NODRAW;
阻:IF(X_20 强,(强-X_17)*0.618+X_17,X_20),NODRAW,COLORBLUE;
X_22:=IF(X_19 REF(CLOSE,1)/1.1,REF(CLOSE,1)/1.1,X_19);
撑:IF(X_21 X_2,X_17-(X_17-X_2)*0.618,X_21),NODRAW;
底:IF(X_19 REF(CLOSE,1)/1.1,REF(CLOSE,1)/1.1,X_19),NODRAW;