九毛八公式指标
请老师编个“满足条件出现红箭头”选股公式,谢谢 AA:=REF(CLOSE,1); BBB:=SMA(MAX(CLOSE-AA,0),21,1)/SMA(ABS(CLOSE-AA),21,1)*1000; HHH:=BBB-LLV(BBB,27); CCC:=LLV(BBB,27)-BBB; QQ:=(MA(HHH,2)*3+HHH*13)/16,COLORFF00FF,LINETHICK1; SS:=(MA(CCC,2)*3+CCC*13)/16,COLORFF00FF,LINETHICK1; GG:=MA(HHH,5),LINETHICK1,COLORGREEN; MM:=MA(CCC,5),LINETHICK1,COLORGREEN; WW:=IF(QQ公式模块:
lc:=ref(close,1);
rsi5:=((SMA(max((close - lc),0),5,1) / sma(abs((close - lc)),5,1)) * 100); atr:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),10); hd:=(high - ref(high,1)); ld:=(ref(low,1) - low); dmp:=sum(if(((hd > 0) and (hd > ld)),hd,0),10); dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),10); pdi:=((dmp * 100) / atr); mdi:=((dmm * 100) / atr); adx:=ma(((abs((mdi - pdi)) / (mdi + pdi)) * 100),5); av:=(rsi5 + adx); wr10:=((100 * (hhv(high,10) - close)) / (hhv(high,10) - llv(low,10))); newvol:=(rsi5 - wr10); 趋势线:=(av + newVOL); filter((趋势线>ref(趋势线,1) and 趋势线<30) or cross(趋势线,0),3);