input:N(10,1,100),M1(6,1,100),M2(6,1,100);
DRAWGBK((CLOSE HHV(HIGH,0)),COLORRGB(60,15,35),COLORRGB(50,50,90),1);
J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);J1:=IF(CLOSE QJ,vol,0);
J2:=IF(CLOSE QJ,VOL,0);
var1:=IF(CAPITAL 1,MA(vol,74),MA(SUM(J1-J2,5),5));
var2:=IF(CAPITAL 1,WMA(var1,360),WMA(var1,90));
var3:=(var1-var2);
RSV:=(((CLOSE-LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100);
K:=SMA(RSV,M1,1);D:=SMA(K,M2,1);K2:=IF((K D),K,D);K3:=(D-(K-D));
K4:=IF((K3 D),K3,D);RSV:=((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9)))*100;
LWR1:=SMA(RSV,3,1);LWR2:=SMA(LWR1,3,1);LWR3:=HHVBARS(LWR1,90);
HB:=(((CLOSE - LLV(LOW,30)) / (HHV(CLOSE,30) - LLV(LOW,30))) * 100);
STICKLINE(var1 =var2,90,50,6,0),color880088;
STICKLINE(var1 var2,0,50,6,0),color008800;
FILLRGN((LWR1 LWR2),LWR1,LWR2),colorFF;
STICKLINE((LWR1 =LWR2),LWR1,LWR2,3,0),colorE66878;
STICKLINE((K =D),K4,K2,7,0),LINETHICK2,colorFF00;
DRAWTEXT((CROSS(K,D) AND (D 30)),85, ▲n┻ ),colorFF00FF;
DRAWTEXT((CROSS(D,K) AND (D 70)),25, ◎n▼ ),colorFFFF;
DRAWICON(FILTER(CROSS(HB,20),5),15,4);
DRAWTEXTEX(C,1,10,10, 看清大趋势操作各股 ),Color00DDFF;
DRAWTEXTEX(c,1,240,10,STKLABEL+ +STKNAME+ ),Color00DDFF;