BD:=LLV(LOW,8);BG:=HHV(HIGH,8);PJ:=(BG-BD)/10;gspt:=SMA((CLOSE-BD)/PJ,20,1);GZ:=3*gspt-2*SMA(gspt,15,1);机构持仓:EMA(WINNER(C)*70,3),COLORRED,LINETHICK4;散户持仓:(10-GZ)*6,COLORGREEN,LINETHICK4;STICKLINE(机构持仓>散户持仓,散户持仓,机构持仓,1.7,1),COLORRED;STICKLINE(机构持仓< 散户持仓,散户持仓,机构持仓,1.7,1),COLORGREEN;日N:=DAY;日HIGH:=IF(DAY=日N,HHV(H,30),0);日LOW:=IF(DAY=日N,LLV(L,30),0);日CLOSE:=IF(DAY=日N,CLOSE,0);日RSV:=(日CLOSE-LLV(日LOW,72))/(HHV(日HIGH,72)-LLV(日LOW,72))*100;日K:=SMA(日RSV,3,1),COLORWHITE ;日D:=SMA(日K,3,1),COLORYELLOW ;日J:=3*日K-2*日D ;DRAWBAND(日K,RGB(255,0,0),日D,RGB(0,100,200));周N:=WEEKDAY;周HIGH:=IF(WEEKDAY=周N,HHV(H,4),0);周LOW:=IF(WEEKDAY=周N,LLV(L,4),0);周CLOSE:=IF(WEEKDAY=周N,CLOSE,0);周RSV:=(周CLOSE-LLV(周LOW,45))/(HHV(周HIGH,45)-LLV(周LOW,45))*100;周K:=SMA(周RSV,3,1),COLORWHITE ;周D:=SMA(周K,3,1),COLORYELLOW ;周J:=3*周K-2*周D,COLORFFFFFF ;DRAWBAND(周K,RGB(255,200,70),周D,RGB(70,100,50));