做多做空副图指标
A1:=EMA(CLOSE,7)-EMA(CLOSE,21);
RR:EMA(A1,2)*1,COLORSTICK;
STICKLINE(RR>REF(RR,1),0,RR,0.8,-1),COLOR00003C;
STICKLINE(RR<REF(RR,1),0,RR,0.8,-1),COLOR003F00;
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
做多:IF(A1>=B1,A1,B1),LINETHICK1,COLORRED;
做空:IF(B1-A1,B1,A1),LINETHICK1,COLORGREEN;
XG:=REF(做多=做空,1) AND 做多>做空;
DRAWICON(XG,做空,1);
815122657.png
选股公式
A1:=EMA(CLOSE,7)-EMA(CLOSE,21);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
做多:=IF(A1>=B1,A1,B1);
做空:=IF(B1-A1,B1,A1);
XG:REF(做多=做空,1) AND 做多>做空;
|