九毛八公式指标
请老师优化一下三角指标,有时信号太多能不能去掉一些错误的信号,谢谢 源码如下: VAR01:=EMA((CLOSE-LLV(LOW,250))/(HHV(HIGH,25)-LLV(LOW,250))*100,50); VAR02:=(HHV(HIGH,250)-LLV(LOW,250))/EMA((CLOSE-LLV(LOW,250)),50); VAR03:=CROSS(VAR02,VAR01); VAR04:=REF(VAR02,2)50 AND VAR04; VAR05 AND COUNT(VAR05,50),1;
公式模块:
VAR01:=EMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,13);
VAR02:=(HHV(HIGH,55)-LLV(LOW,55))/EMA((CLOSE-LLV(LOW,55)),13);
VAR03:=crOSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);
VAR05:=COUNT(VAR03,21)>0 AND VAR04;
VAR05 AND COUNT(VAR05,5)=1;