飞狐MACD+短线DIFF副图指标
源码
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 := EMA(DIFF,M); cross(diff,dea) and b;