有什么股票指标公式?同花顺神奇布林主图公式源码 小编为您提供
?
NNN:=36;
ZD_MA:=MA(C,NNN);
ZD_EMA:=EMA(C,NNN);
STICKLINE(ZD_EMA>ZD_MA,ZD_EMA,ZD_MA,0,-1),COLORMAGENTA;
STICKLINE(ZD_EMA
BD:=STD(C,NNN);
RD:=STD(RD_4P,NNN);
BZC:=POW(BD*BD+RD*RD,1/2);
A11:=ZD_MA+(1.618)*BZC;
B11:=ZD_MA-(1.618)*BZC;
DRAWBAND(A11,RGB(5400,100,0),B11,RGB(0,0,0));
A1:ZD_MA+(1.618)*BZC;
A2:ZD_MA+(1.000)*BZC;
A3:ZD_MA+(0.618)*BZC;
中道:ZD_MA,COLORMAGENTA,LINETHICK2;
快道:ZD_EMA;
B3:ZD_MA-(0.618)*BZC;
B2:ZD_MA-(1.000)*BZC;
B1:ZD_MA-(1.618)*BZC;
N:=12;M:=26;
DIFF:=EMA(CLOSE,N)-EMA(CLOSE,M);
DEA:=EMA(DIFF,9);
STICKLINE(DIFF>DEA,C,O,3.2,0),COLOR000045;
STICKLINE(DIFF>DEA,O,O,2.7,0),COLOR000065;
STICKLINE(DIFF>DEA,C,O,2.2,0),COLOR000085;
STICKLINE(DIFF>DEA,C,O,1.7,0),COLOR0000A5;
STICKLINE(DIFF>DEA,C,O,1.2,0),COLOR0000C5;
STICKLINE(DIFF>DEA,H,L,0.5,0),COLOR0000F5;
STICKLINE(DIFF<=DEA,C,O,3.2,0),COLOR555555;
STICKLINE(DIFF<=DEA,C,O,2.7,0),COLOR777777;
STICKLINE(DIFF<=DEA,C,O,2.2,0),COLOR999999;
STICKLINE(DIFF<=DEA,C,O,1.7,0),COLORBBBBBB;
STICKLINE(DIFF<=DEA,C,O,1.2,0),COLORDDDDDD;
STICKLINE(DIFF<=DEA,H,L,0.5,0),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,B1,'---------B1'),COLORWHITE;
DRAWTEXT(ISLASTBAR,B2,'---------B2'),COLORWHITE;
?
?
更多股票公式相关资讯请关注
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!