{HSYB红山有宝}
短rsv3:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100;
短k3:=SMA(短rsv3,3,1);
短d3:=SMA(短k3,3,1);
短j3:3*短k3-2*短d3,coloraaaaaa,LINETHICK1;
中rsv27:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
中k27:SMA(中rsv27,3,1),color0000ff,linethick1,linestick;
中k27a:SMA(中rsv27,3,1),color0000ff,linethick2;
中d27:SMA(中k27,3,1),colorff99ff,linethick2;
长rsv:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
长k89:SMA(长rsv,3,1),colorwhite,linethick2;
长d89:SMA(长k89,3,1),colorff9900,linethick2;
mv3:=ema(v,3);
mv60:=ema(v,60);
量乖离率360:(mv3-mv60)/mv60*20,colorff88ff,linethick2;
0,LINETHICK2,COLOR00FF00;
20,LINETHICK0,POINTDOT,COLOR00FF00;
50,LINETHICK0,COLOR00FF00;
80,LINETHICK0,POINTDOT,COLOR00FF00;
100,LINETHICK1,COLOR00FF00;