同花顺股票公式:分时MACD
同花顺股票公式有哪些?同花顺股票公式是什么?下面股票知识网为您介绍同花顺股票公式。
Diff:=EMA(NEW,5) - EMA(NEW,21);
dif:=EMA(diff,5);
dea:=EMA(dif,5);
zero:0;
PARTLINE(dif,dif》=REF(dif,1),RGB(255,0,0),dif《=REF(dif,1),RGB(0,255,0));
PARTLINE(dea,dea》=REF(dea,1),RGB(255,0,255),dea《=REF(dea,1),RGB(0,255,255));
mb:=dea-REF(dea,1);
a1:=BARSLAST(REF(CROSS(Mb,0),1));
b1:=REF(NEW,a1+1)》NEW AND REF(dEA,a1+1)《DEA AND CROSS(Mb,0) AND diff《0;
DRAWTEXT(IF(b1》0,1,0),dea,/macd底背/),colorcyan;
c1:=BARSLAST(REF(CROSS(0,Mb),1));
d1:=REF(NEW,c1+1)《NEW AND REF(DEA,c1+1)》dEA AND CROSS(0,Mb) AND diff》0;
DRAWTEXT(IF(d1》0,1,0),dea,/macd顶背/),colormagenta;
lc=REF(NEW,1);
wrsi=SMA(MAX(NEW-lc,0),9,1)/SMA(ABS(NEW-lc),9,1)*100;
IF (CROSS(20,wrsi))
BUY;
IF (CROSS(wrsi,80))
SELL;
更多同花顺股票公式知识请关注股票知识网
(股票知识网zhishi.southmoney.com)
要闻导读
|
||||||||||
|