RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
TJ:=IF(RSV 5,0,RSV);{九毛八公式指标网www.9m8.cn}
风险:IF(TJ 95,100,TJ),LINETHICK1,COLOR008000,NODRAW;
STICKLINE(风险,0,风险,2,0),COLORFF7F00;
STICKLINE(风险=0,0,7,2,0),COLORYELLOW;
STICKLINE(风险=0,0,5,0.5,0),COLORF00FF0;
STICKLINE(风险=0,0,6,0.1,0),COLORYELLOW;
CC:=MA(C,150);
DD:=MA(C,200);
NX:CC-DD,NODRAW;
MA5:=MA(C,5);
MA20:=MA(C,20);
JJ:=IF(MA20 REF(MA20,1),MA20,DRAWNULL);
STICKLINE(JJ,0,风险,2,0),COLORRED;
K:= SMA(RSV,3,1);
D:= SMA(K,3,1);
中期:= EMA(D,10);
STICKLINE(K =D,D,REF(D,1),2,0),COLOR0000FF,NODRAW;
STICKLINE(K D,D,REF(D,1),2,0),COLORFFF000,NODRAW;
RS1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RS2:= (CLOSE-LLV(LOW,5*9))/(HHV(HIGH,5*9)-LLV(LOW,5*9))*100;
RS3:= (CLOSE-LLV(LOW,20*9))/(HHV(HIGH,20*9)-LLV(LOW,20*9))*100;
K1:= SMA(RS1,3,1);
K2:= SMA(RS2,3+1,1);
K3:= SMA(RS3,3+2,1);
D1:= SMA(K1,3,1);
D2:= SMA(K2,3+1,1);
D3:= SMA(K3,3+2,1);
HM1: DRAWTEXT(CROSS(K1,D1),REF(D,1),'你');
HM2: DRAWTEXT(CROSS(K2,D2),REF(D,1),'好'),LINETHICK0,COLORFF00FF;
HM3: DRAWTEXT(CROSS(K3,D3),REF(D,1),'丫'),LINETHICK0,COLOR00FFFF;
RSV1:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
K89:=SMA(RSV1,8,1);
D89:=SMA(K89,3,1);
紫气东来买入点:=D89,NODRAW;
D89A:=D89*0.998;
STICKLINE(D89 =REF(D89,1),D89,REF(D89,1),2,0),COLORF00FF0,LINETHICK2;
STICKLINE(D89 REF(D89,1),D89,REF(D89,1),2,0),COLORFF9900,LINETHICK2;
STICKLINE(D89A =REF(D89A,1),D89A,REF(D89A,1),2,0),COLORF00FF0,LINETHICK2;
STICKLINE(D89A REF(D89A,1),D89A,REF(D89A,1),2,0),COLORFF9900,LINETHICK2;
0,LINETHICK0,POINTDOT,COLOR00FF00;
20,LINETHICK0,POINTDOT,COLOR00FF00;
50,LINETHICK0,POINTDOT,COLOR00FF00;
80,LINETHICK0,POINTDOT,COLOR00FF00;
100,LINETHICK0,POINTDOT,COLOR00FF00;