在下面的预警公式 再加入一个条件:20日涨幅小于0 做出一个预警公式 !
T1R:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
TR1:=EMA((T1R-REF(T1R,1))/REF(T1R,1),1)*1000{,COLORFF00FF,NODRAW};
净:=XMA(TR1,11);
流:=EMA(净,11);
主力动向:=EMA(净+流,1)-XMA(净-流,2){,COLORFF00FF,NODRAW};
MA1:=XMA(主力动向,11){,COLORFF00FF,NODRAW};
MA3:=EMA(MA1,2);
{DRAWTEXT(CROSS(MA3,MA1),(MA3 *1.12),'抛'),COLORYELLOW;
DRAWTEXT(CROSS(0,MA1),2,'空'),COLOR00FFFF;
DRAWTEXT(CROSS(MA1,0),-4,'买'),COLORFF00FF;}
低吸:=DRAWTEXT(CROSS(MA1,MA3),(MA3 *1.2),'低吸'){,COLORYELLOW};
XG: CROSS(MA1,MA3);
公式模块:
{请老师在下面的预警公式,再加入一个条件:20日涨幅小于0。做出一个预警公式,谢谢!}
T1R:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
TR1:=EMA((T1R-REF(T1R,1))/REF(T1R,1),1)*1000{,COLORFF00FF,NODRAW};
净:=XMA(TR1,11);
流:=EMA(净,11);
主力动向:=EMA(净+流,1)-XMA(净-流,2){,COLORFF00FF,NODRAW};
MA1:=XMA(主力动向,11){,COLORFF00FF,NODRAW};
MA3:=EMA(MA1,2);
YUJ:CROSS(MA1,MA3) AND C/REF(C,19)-1