参考低7:IF(TROUGHBARS(3,7,1)=0 AND HIGH>LOW+0.04,1,0);
VAR1:=(INDEXC-MA(INDEXC,58))/MA(INDEXC,58)<-0.152;
VAR2:=(C-EMA(C,58))/EMA(C,58)<-0.19;
底区:COUNT(VAR2 AND VAR1,2) ;
抄底:参考低7 AND 底区>1,COLORRED;
DRAWTEXT(抄底,1,'抄底'),COLORGREEN;
{抄底成功率测试 5天涨3%成功率100% 10天里涨5%成功100% 20天涨10%成功99%}