源码
RSV:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
PARTLINE(J,J>REF(J,1),RGB(250,255,0),J<=REF(J,1),RGB(0,250,250)),LINETHICK2;
STICKLINE(D>EMA(D,3),D,EMA(D,3),10,0),Color00008A;
STICKLINE(D>EMA(D,3),D,EMA(D,3),4,0),Color0000BD;
STICKLINE(D>EMA(D,3),D,EMA(D,3),2,0),Color2D2DFF;
STICKLINE(D<=EMA(D,3),D,EMA(D,3),10,0),Color009FFF;
STICKLINE(D<=EMA(D,3),D,EMA(D,3),4,0),Color00E4FF;
STICKLINE(D<=EMA(D,3),D,EMA(D,3),2,0),Color00FFFF;
ROC:=100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12);
MAROC:=MA(ROC,6),colorcyan;
STICKLINE(ROC>MAROC,0,MAROC,8,0),Color910091;
STICKLINE(ROC>MAROC,0,MAROC,4,0),ColorE800E8;
STICKLINE(ROC>MAROC,0,MAROC,2,0),ColorFF60FF;
STICKLINE(ROC<=MAROC,0,MAROC,8,0),Color008400;
STICKLINE(ROC<=MAROC,0,MAROC,4,0),Color00C400;
STICKLINE(ROC<=MAROC,0,MAROC,2,0),Color2FFF2F;
分界:0,LINETHICK2,colorwhite;
VAR11:=EMA(CLOSE,9);
VAR22:=EMA(VAR11,18);
VAR33:=CROSS(VAR11,VAR22);
VAR44:=VAR11< EMA(CLOSE,120);
黑马:IF(VAR33 AND VAR44,10,0),LINETHICK2,coloryellow;
WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)/SUM((IF(CLOSE<OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)*100;
VR买入:CROSS(70,WVR)*4,LINETHICK2,colorwhite;
WRSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
RSI买入:CROSS(SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100,20)*8,LINETHICK2,COLORLIBLUE;
卖出预警:STICKLINE( WRSI>82,100,82,8,0),COLORFF9966;{RSI7上穿80;}
高位:100;