橙色转强就买通达信公式 副图 源码附图

N:=9;M:=9;
A:=PERIOD;
BL:=IF(A=0,150,IF(A=1,50,IF(A=2,30,IF(A=3,17,IF(A=4,15,IF(A=5,8,
IF(A=6,3,IF(A=7,2,IF(A=8,50,IF(A=9,3,1.3))))))))));
FM:=(EMA(CLOSE,1.414*N+1));
FCL:=IF(FM<=0.05,ABS(FM)+0.1,0);
DIF:=(EMA(CLOSE,N)-EMA(CLOSE,2*N+2))/(FCL+FM)*100*BL,COLORLIRED,LINETHICK2;
DEA:=EMA(DIF,N*0.75),COLORGREEN,LINETHICK2;
DRAWBAND(DEA,RGB(55,250,96),DIF,RGB(155,50,196));
ED:=(-0.4*REF(C,4)-0.4*REF(C,3)-1.1*REF(C,2)+0.9*REF(C,1)+2*C);
RSV:=(SMA(ED,4,1)-LLV(L,M))/(HHV(H,M)-LLV(L,M))*100;
K:SMA(RSV,3,1),COLORWHITE,LINETHICK1;
D:SMA(K,3,1),COLORYELLOW,LINETHICK1;
J:2*K-1*D,COLORGREEN,LINETHICK1;
W:=IF(J>REF(J,1),J,DRAWNULL);
{股票指标网}
DRAWBAND(W,RGB(240,50,50),W,0),LINETHICK2;
DRAWBAND(K,RGB(240,50,50),D,RGB(50,98,240));
MACD:2*(DIF-DEA),COLORRED,COLORSTICK;
橙色转强买:(MACD<0 AND MACD>REF(MACD,1),MACD),COLOR00FFFF,NODRAW;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,0.1,0)COLOR00FF00;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),0,MACD,0.1,0)COLORRED;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0.1,0),COLORCYAN;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),0,MACD,0.1,0),COLOR00FFFF;
 



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

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

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

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