N:=3;N1:=10;
LC:=REF(CLOSE,1);
rsi5:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(Abs(CLOSE-LC),N,1)*100;
0,COLORGREEN;
{ _飞狐指标公式}
wr10:=100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));
NEWvol:=RSI5-WR10;
NV:NEWVOL,COLORRED;
STICKLINE(NEWVOL>0,0,NEWVOL,0.8,1),COLORYELLOW;
STICKLINE(NEWVOL<0,0,NEWVOL,0.8,1),COLORYELLOW;
MA(NEWVOL,6),COLORff00ff,LINETHICK2;
DRAWTEXT(filter((NEWVOL>REF(NEWVOL,1)) AND ( REF(NEWVOL,1)<REF(NEWVOL,2) AND NEWVOL<0 ),5),NEWVOL*0.995,'买'),,LINETHICK2,COLORWHITE;