参考底:IF(TROUGHBARS(3,7,1)=0 AND HIGH>LOW+0.04,1,0);
DRAWTEXT(TROUGHBARS(3,7,1)=0 AND HIGH>LOW+0.04,1,'参考底');
VAR31:=(INDEXC-MA(INDEXC,58))/MA(INDEXC,58)<-0.152;
VAR32:=(C-EMA(C,58))/EMA(C,58)<-0.19;
底区:COUNT(VAR32 AND VAR31,2) ;
抄底:参考底 AND 底区>1,COLORRED;
DRAWTEXT(抄底,1,'抄底'),COLORGREEN;