mtm:=C-REF(C,1);
DX:=100*ema(EMA(MTM,6),6)/EMA(EMA(Abs(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND crOSS(DX,MA(DX,2)),1,0),COLORRED,LINETHICK0;
红三角:FILTER(买=1,5);
mtm:=C-REF(C,1);
DX:=100*ema(EMA(MTM,6),6)/EMA(EMA(Abs(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND crOSS(DX,MA(DX,2)),1,0),COLORRED,LINETHICK0;
红三角:FILTER(买=1,5);