九毛八公式指标
请老师帮忙编写“抄底”出现时的选股公式,谢谢! 源码: 参考低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;
公式模块:
参考低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;