設(shè)為首頁(yè)加入收藏

微信關(guān)注
官方微信號(hào):南方財(cái)富網(wǎng)
加關(guān)注獲取每日精選資訊
搜公眾號(hào)“南方財(cái)富網(wǎng)”即可,歡迎加入!
廣告服務(wù)聯(lián)系我們網(wǎng)站地圖

通達(dá)信BBD動(dòng)能操盤指標(biāo)公式介紹

2018-01-03 09:44 南方財(cái)富網(wǎng)

  AL:=(C+L+H)/3;

  AO:=SMA(AL,5,1)-SMA(AL,13,1);

  BBD:(AO-SMA(AO, 3,1))*100,COLORFFCCFF,NODRAW;

  {動(dòng)能線定義}

  動(dòng)能線:AO*10,COLORRED;

  動(dòng)能輔線:EMA(AO,5)*10,COLOR00FF00;

  {動(dòng)能線強(qiáng)弱分界帶} {}

  DRAWBAND(動(dòng)能輔線,RGB(115,95,95),0,RGB(95,95,115));

  {動(dòng)能彩帶}

  DRAWBAND(動(dòng)能線,RGB(175,0,55),動(dòng)能輔線,RGB(55,175,0));

  {BBD支撐線定義} {}

  BBD支撐線:SMA(BBD,5,2),COLOR0033FF,LINETHICK2;

  RSV1:=BBD;

  RSV2:=BBD支撐線;

  弱:IF(BACKSET(RSV2《REF(RSV2,1),1),RSV2,DRAWNULL),LINETHICK2,COLORFF3300;

  {BBD彩色柱體}

  BBD1:=IF(BBD》=REF(BBD,1),BBD,DRAWNULL);

  BBD2:=IF(BBD《REF(BBD,1),BBD,DRAWNULL);

  STICKLINE(BBD1,0,BBD,1.5,0),COLOR885588;

  STICKLINE(BBD1,0,BBD,1,0),COLORAA77AA;

  STICKLINE(BBD1,0,BBD,0.5,0),COLORBB99BB;

  STICKLINE(BBD1,0,BBD,0.1,0),COLORDDAADD;

  STICKLINE(BBD2,0,BBD,1.5,0),COLOR757500;

  STICKLINE(BBD2,0,BBD,1,0),COLORAAAA00;

  STICKLINE(BBD2,0,BBD,0.5,0),COLORBBBB00;

  STICKLINE(BBD2,0,BBD,0.1,0),COLORDDDD00;

  {BBD支撐線金叉死叉頂?shù)妆畴x}

  BBD金叉:IF(CROSS(RSV1,RSV2),RSV2,DRAWNULL),CIRCLEDOT,COLORFF33FF;

  BBD死叉:IF(CROSS(RSV2,RSV1),RSV2,DRAWNULL),CIRCLEDOT,COLORFFFF00;

  SV1:=BARSLAST(REF(CROSS(RSV1,RSV2),1));

  SV1A:=REF(CLOSE,SV1+1)》CLOSE AND RSV1》REF(RSV1,SV1+1) AND

  CROSS(RSV1,RSV2); {}

  B底背:IF(SV1A,RSV2,DRAWNULL),COLOR3366FF;

  DRAWTEXT(SV1A,RSV2,‘─B底背’),COLOR0033FF;

  SV2:=BARSLAST(REF(CROSS(RSV2,RSV1),1));

  SV2A:=REF(CLOSE,SV2+1)《CLOSE AND REF(RSV1,SV2+1)》RSV1 AND CROSS(RSV2,RSV1);

  B頂背:IF(SV2A,RSV2,DRAWNULL),COLORFFFF00;

  DRAWTEXT(SV2A,RSV2,‘─B頂背’),COLORFFFF00;

  {動(dòng)能線金叉死叉頂?shù)妆畴x}

  RSV3:=動(dòng)能線;

  RSV4:=動(dòng)能輔線;

  動(dòng)能金叉:IF(CROSS(RSV3,RSV4),RSV3,DRAWNULL),CIRCLEDOT,COLOR0000FF;

  動(dòng)能死叉:IF(CROSS(RSV4,RSV3),RSV3,DRAWNULL),CIRCLEDOT,COLOR00FF00;

  SV3:=BARSLAST(REF(CROSS(RSV3,RSV4),1));

  SV3A:=REF(CLOSE,SV3+1)》CLOSE AND RSV3》REF(RSV3,SV3+1) AND

  CROSS(RSV3,RSV4);

  動(dòng)底背:IF(SV3A,RSV3,DRAWNULL),COLOR0000FF;

  DRAWTEXT(SV3A,RSV3,‘─動(dòng)底背’),COLOR0000FF;

  SV4:=BARSLAST(REF(CROSS(RSV4,RSV3),1));

  SV4A:=REF(CLOSE,SV4+1)《CLOSE AND REF(RSV3,SV4+1)》RSV3 AND CROSS(RSV4,RSV3);

  動(dòng)頂背:IF(SV4A,RSV3,DRAWNULL),COLOR00FF00;

  DRAWTEXT(SV4A,RSV3,‘─動(dòng)頂背’),COLOR00FF00;

聲明:文章帶有聯(lián)系方式及網(wǎng)站鏈接的已經(jīng)被過(guò)濾,請(qǐng)到相關(guān)網(wǎng)站去查詢。如帶有聯(lián)系方式,請(qǐng)勿直接聯(lián)系,本站不對(duì)真實(shí)性進(jìn)行核驗(yàn)(如涉及資金、財(cái)產(chǎn)等需謹(jǐn)慎),請(qǐng)到相關(guān)網(wǎng)站核實(shí),如有不便,敬請(qǐng)諒解。