AA:=DMA((H+L+C*2)/4,0.9);
BB:=REF(EMA(AA,3),1);
T0:=(C-BB)*100;
M1:EMA(EMA(EMA(T0,2),2),2),LINETHICK2,COLORGREEN;
TT:EMA((C*5+REF(C,1)*4+REF(C,2)*3+REF(C,3)*2+REF(C,4))/15,2);
IF(M1>=REF(M1,1),M1,DRAWNULL),LINETHICK2,COLORRED;
=====================
条件:请老师把副图的绿线变红线改成选股的公式。
AA:=DMA((H+L+C*2)/4,0.9);
BB:=REF(EMA(AA,3),1);
T0:=(C-BB)*100;
M1:=EMA(EMA(EMA(T0,2),2),2);
xg:ref(m1<ref(m1,1),1) and M1>=REF(M1,1);