源码
N:=14;M:=9;long:=50;short:=10;
a:=-100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
b:=COUNT(a<-95,20)>=4;
DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA
cross(diff,dea) and b;
源码
N:=14;M:=9;long:=50;short:=10;
a:=-100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
b:=COUNT(a<-95,20)>=4;
DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA
cross(diff,dea) and b;