设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

同花顺主图公式源码 同花顺神奇布林主图公式源码

2014-12-11 13:05:16 股票入门 http://rumen.southmoney.com

  南方财富网带来同花顺主图公式源码 同花顺神奇布林主图公式源码:

  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《ZD_MA,ZD_EMA,ZD_MA,0,-1),COLORMAGENTA;

  RD_4P:=(-REF(C,3)-0.382*REF(C,2)+0.382*REF(C,1)+2*C);

  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;

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。