九毛八公式指标
公式模块:
一下是飞狐的一个选股公式,谁能帮忙改成附图指标?
wr1:=-100*((HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)))*(IF(DATE<1210201,1,0)),colorFF00;
WR2:=-100*((HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)))*(IF(DATE<1210201,1,0)),colorFFFF;
WR3:=-100*((HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2)))*(IF(DATE<1210201,1,0)),colorFF00FF;
WR11:=WR1<-80;
WR22:=WR2<-80;
WR33:=WR3<-80;
讯号:WR11 and WR22 and WR33; 参数 N 10 1 100, N1 25 1 100, N2 55 1 100
WR1:-100*((HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)))*(IF(DATE<1210201,1,0)),colorFF00;
WR2:-100*((HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)))*(IF(DATE<1210201,1,0)),colorFFFF;
WR3:-100*((HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2)))*(IF(DATE<1210201,1,0)),colorFF00FF;
drawicon(wr1>-80 and wr2<-80 and wr3<-80,0,1);