大智慧曲线导数指标公式

VC:=(REF(C,4)*REF(V,4)+REF(C,3)*REF(V,3)+REF(C,2)*REF(V,2)+REF(C,1)*REF(V,1)+C*V)/(V+REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4));
SQX:=(VC-MA(VC,14))*100;
DIF:MA(SQX,4),COLORWHITE;
DEA:EMA(DIF,5),COLORYELLOW;
macd:(DIF-DEA)*2,linethick0;
STICKLINE(macd>0 and macd>ref(macd,1),0,macd,2,0),COLORred;
STICKLINE(macd>0 and macd<ref(macd,1),0,macd,2,1),COLORred;
STICKLINE(macd<0 and macd<ref(macd,1),0,macd,2,0),COLORgreen;
STICKLINE(macd<0 and macd>ref(macd,1),0,macd,2,1),COLORgreen;
MACDIA:=IF(MACD=REF(MACD,1),0,
IF(MACD>REF(MACD,1),IF(MACD<0,Abs(MACD/REF(MACD,1)-1)*100,
IF(REF(MACD,1)<0,100,
IF((MACD/REF(MACD,1)-1)*100>100,MOD((MACD/REF(MACD,1)-1)*100,100)+100,(MACD/REF(MACD,1)-1)*100))),
IF(MACD<REF(MACD,1),
IF(MACD>0,(MACD/REF(MACD,1)-1)*100,IF(REF(MACD,1)>0,-100,
IF(REVERSE(MACD/REF(MACD,1)-1)*100<-100,MOD(REVERSE(MACD/REF(MACD,1)-1)*100,100)-100,
REVERSE(MACD/REF(MACD,1)-1)*100))),100)));
MACDIiA:=IF(MACDia=REF(MACDia,1),0,IF(MACDia>REF(MACDia,1),IF(MACDia<0,
ABS(MACDia/REF(MACDia,1)-1)*100,IF(REF(MACDia,1)<0,100,IF((MACDia/REF(MACDia,1)-1)*100>100,
MOD((MACDia/REF(MACDia,1)-1)*100,100)+100,(MACDia/REF(MACDia,1)-1)*100))),
IF(MACDia<REF(MACDia,1),IF(MACDia>0,(MACDia/REF(MACDia,1)-1)*100,IF(REF(MACDia,1)>0,-100,
IF(REVERSE(MACDia/REF(MACDia,1)-1)*100<-100,MOD(REVERSE(MACDia/REF(MACDia,1)-1)*100,100)-100,
REVERSE(MACDia/REF(MACDia,1)-1)*100))),100)));
MACDIiiA:=IF(MACDiia=REF(MACDiia,1),0,IF(MACDiia>REF(MACDiia,1),IF(MACDiia<0,
ABS(MACDiia/REF(MACDiia,1)-1)*100,IF(REF(MACDiia,1)<0,100,IF((MACDiia/REF(MACDiia,1)-1)*100>100,
MOD((MACDiia/REF(MACDiia,1)-1)*100,100)+100,(MACDiia/REF(MACDiia,1)-1)*100))),
IF(MACDiia<REF(MACDiia,1),IF(MACDiia>0,(MACDiia/REF(MACDiia,1)-1)*100,IF(REF(MACDiia,1)>0,-100,
IF(REVERSE(MACDiia/REF(MACDiia,1)-1)*100<-100,MOD(REVERSE(MACDiia/REF(MACDiia,1)-1)*100,100)-100,
REVERSE(MACDiia/REF(MACDiia,1)-1)*100))),100)));
穿0线:MACDIA*0.1,linethick2;




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

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

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

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