飞狐MACD短线指标公式

中轴:0,Color808080,LINETHICK2;
SQX:=(C-MA(CLOSE,13))*100;
diff:EMA(ma(sqx,3),3),LINETHICK;
dea:EMA(diff,7),LINETHICK;
macd:(diff-dea)*1.5,LINETHICK;
STICKLINE((MacD > 0),0,MACD,4,0),COLOR0000CC;
STICKLINE((MACD > 0),0,MACD*0.9,4,0),COLOR0000EE;
STICKLINE((MACD > 0),0,MACD*0.8,4,0),COLOR0011FF;
STICKLINE((MACD > 0),0,MACD*0.7,4,0),COLOR0033FF;
STICKLINE((MACD > 0),0,MACD*0.6,4,0),COLOR0055FF;
STICKLINE((MACD > 0),0,MACD*0.5,4,0),COLOR0077FF;
STICKLINE((MACD > 0),0,MACD*0.4,4,0),COLOR0099FF;
STICKLINE((MACD > 0),0,MACD*0.3,4,0),COLOR00BBFF;
STICKLINE((MACD > 0),0,MACD*0.2,4,0),COLOR00ddfF;
STICKLINE((MACD > 0),0,MACD*0.1,4,0),COLOR00FFFF;
STICKLINE((MACD < 0),0,MACD,4,0),COLORCC0033;
STICKLINE((MACD < 0),0,MACD*0.9,4,0),COLOREE0033;
STICKLINE((MACD < 0),0,MACD*0.8,4,0),COLORFF1133;
STICKLINE((MACD < 0),0,MACD*0.7,4,0),COLORFF3333;
STICKLINE((MACD < 0),0,MACD*0.6,4,0),COLORFF5533;
STICKLINE((MACD < 0),0,MACD*0.5,4,0),COLORFF7733;
STICKLINE((MACD < 0),0,MACD*0.4,4,0),COLORFF9933;
STICKLINE((MACD < 0),0,MACD*0.3,4,0),COLORFFBB33;
STICKLINE((MACD < 0),0,MACD*0.2,4,0),COLORFFDD33;
STICKLINE((MACD < 0),0,MACD*0.1,4,0),COLORFFFF33;
STICKLINE(diff>dea and diff>ref(diff,1) and dea>ref(dea,1),diff,dea,4,1),ColorFF00FF;
{-股票公式网站 }
STICKLINE(diff>dea and diff<ref(diff,1) and dea>ref(dea,1),diff,dea,4,1),ColorE3E300;
STICKLINE(diff<dea and diff<ref(diff,1) and dea<ref(dea,1),diff,dea,4,1),Color00D500;
STICKLINE(diff<dea and diff>ref(diff,1) and dea<ref(dea,1),diff,dea,4,1),Color2068FF;
RSV:=((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*200-100)*(abs(llv(diff,SYSPARAM(2))/100)-0.8);
K:SMA(RSV,3,1),LINETHICK;
d:SMA(K,3,1),ColorFF8000,LINETHICK1;
PARTLINE(k>d,k),Color0000FB,LINETHICK1;
PARTLINE(k<=d,k),Color00FFFF,LINETHICK1;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图