设为首页加入收藏

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

飞狐股票公式 长短布林飞狐公式

2014-10-21 10:00:42 股票入门 http://rumen.southmoney.com

  南方财富网带来飞狐股票公式:长短布林飞狐公式。

  BOLL2:=MA(CLOSE,20);

  UP:BOLL2+2*STD(CLOSE,20),COLOR008888,LINETHICK2;

  DW:BOLL2-2*STD(CLOSE,20),COLOR008888,LINETHICK2;

  FILLRGN(DW》UP,DW,UP),COLOR9595DA;FILLRGN(DW《UP,DW,UP),COLOR9595DA;//E08794;

  FILLRGN(DW》BOLL2,DW,BOLL2),COLORDA9595;FILLRGN(DW《BOLL2,DW,BOLL2),COLORDA9595;

  BOLL:=MA(CLOSE,65);

  顶:BOLL+2*STD(CLOSE,65),COLOR889900,LINETHICK2;

  底:BOLL-2*STD(CLOSE,65),COLOR889900,LINETHICK2;

  MA13:MA(CLOSE,13),COLORBLUE,LINETHICK1;

  MA34:MA(CLOSE,34),COLORRED;

  MA55:MA(CLOSE,55),COLOR008000;

  {IF(MA13《REF(MA13,1),MA13,DRAWNULL),COLOR008000,LINETHICK1;};

  Y:(MA13-MA55)/MA13,LINETHICK0;

  STICKLINE(Y》0.2,MA13,MA55,8,-1),COLORBLUE;

  上下差:顶-底,LINETHICK0;

  年:=1+(BARSLAST(YEAR 《》 REF(YEAR,1) {OR DATETODAY(DATE)=1}));

  天S:=PARTLINE(DATATYPE=7,年);

  高1:=HHV(H,DATATYPE=7);

  低1:=LLV(L,DATATYPE=7);

  高低:(C-低1)/(高1-低1)*100,LINETHICK0,COLORFFFF00;

  振幅:(高1-低1)/低1*100,LINETHICK0,COLORBLACK;

  天:COST(高1),LINETHICK0,COLORBLUE;

  地:COST(低1),LINETHICK0,COLOR00FF00;

  强:COST(高1-(高1-低1)*1/3),LINETHICK0,COLORRED;

  中:COST(高1-(高1-低1)*1/2),LINETHICK0,COLORBLACK;

  弱:COST(高1-(高1-低1)*2/3),LINETHICK0,COLORBLUE;

  STICKLINE(C》0,COST(高1-(高1-低1)*1/4),COST(高1-(高1-低1)*1/4),2,0),COLORFF00FF;

  STICKLINE(C》0,COST(高1-(高1-低1)*3/4),COST(高1-(高1-低1)*3/4),2,0),COLORFF00FF;

  STICKLINE(C》0,天,天,2,0),COLORBLUE;

  STICKLINE(C》0,地,地,2,0),COLOR00FF00;

  STICKLINE(C》0,强,强,2,0),COLORRED;

  STICKLINE(C》0,中,中,2,0),COLORBLACK;

  STICKLINE(C》0,弱,弱,2,0),COLORBLUE;

  RC:=地;

  STICKLINE(c》=o,c,o,9,1),colorred;

  STICKLINE(c》=o,l,o,0.3,0),colorred;

  STICKLINE(c》=o,c,h,0.3,0),colorred;

  STICKLINE(c《o,c,o,9,0),colorffff00;

  STICKLINE(c《o,h,l,0.3,0),colorffff00;

  【量H】:=IF((AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100》100,100,(AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100);

  STICKLINE(【量H】=100 AND C》=O,C,O,8,0),COLOR00C8FE;

  STICKLINE(【量H】=100 AND C《O,C,O,8,0),COLOR00C8FE;

  ZDF:=(C-REF(C,1))/REF(C,1)*100;

  STICKLINE(ZDF》9.8,O,C,2,0),COLORRED;

  STICKLINE(ZDF《-9.8,O,C,2,0),COLORBLUE;

  Q43:COST(高1-(高1-低1)*1/4),LINETHICK0;

  Q41:COST(高1-(高1-低1)*3/4),LINETHICK0;

  RD:=Q41;

  {MACD}

  DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26),COLORBLACK;

  DIFFA:(RC+DIFF*3);

  DEA:=EMA(DIFF,9),COLORMAGENTA;

  DEAA:(RC+DEA*3);

  {DRAWBAND(DEAA,RGB(164,195,195),DIFFA,RGB(225,195,195));}

  FILLRGN(DEAA》DIFFA,DEAA,DIFFA),COLOR5FDC2F;

  FILLRGN(DEAA《DIFFA,DEAA,DIFFA),COLOR323298;

  MACD:=(DIFF-DEA)*4;

  STICKLINE(MACD》0,RC,RC+MACD,1,0),COLORRED;

  STICKLINE(MACD《0,RC,RC+MACD,1,1),COLOR008000;

  STICKLINE(MACD》0 AND MACD《REF(MACD,1),RC,RC+MACD,1,1),COLORFF00AA;

  STICKLINE(MACD《0 AND MACD》REF(MACD,1),RC,RC+MACD,1,0),COLOR889900;

  {BIAS}

  BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

  BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;

  BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

  短跌BIAS:IF(BIAS1《=-6,0.6+RC,RC),COLORBLACK,LINETHICK2;

  中跌BIAS:IF(BIAS2《=-10,0.6+RC,RC),COLORBLUE,LINETHICK2;

  长跌BIAS:IF(BIAS3《=-16,0.6+RC,RC),COLORRED,LINETHICK2;

  短涨BIAS:IF(BIAS1》=6,天,天+0.6),COLORBLACK,LINETHICK2;

  中涨BIAS:IF(BIAS2》=10,天,天+0.6),COLORBLUE,LINETHICK2;

  长涨BIAS:IF(BIAS3》=16,天,天+0.6),COLORRED,LINETHICK2;

  更多飞狐股票公式,请关注南方财富网。

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