三角指标发出的信号
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

请老师优化一下三角指标,有时信号太多能不能去掉一些错误的信号,谢谢源码如下: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;


选股票看什么指标最好 >股票指标网