• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【 】【通达信】3背离主图指标公式

    发布时间: 2020-02-20 14:53首页:股票一点通 > 股票公式 > 通达信公式 > 阅读()

    A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
    B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
    分水岭:IF(MA(CLOSE,17)REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;
    IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED;
    IF(PM操作线);
    DD:=分水岭C AND REF(“MACD.DIF”,A1+1)0,L-0.02,’★M’),COLOR00FFFF;{MACD底背离}
    A2:=BARSLAST(REF(CROSS(“KDJ.K”,”KDJ.D”),1));
    B2:=REF(C,A2+1)>C AND REF(“KDJ.K”,A2+1)C AND REF(“RSI.RSI1”,A3+1)0,L-0.18,’◆R’),COLOR0000FF;{RSI底背离}
    C1:=BARSLAST(REF(CROSS(“MACD.DEA”,”MACD.DIF”),1));
    D1:=REF(C,C1+1)“MACD.DIF” AND CROSS(“MACD.DEA”,”MACD.DIF”);
    DRAWTEXT(D1>0,H+0.16,’★M’),COLOR00FF00;{MACD顶背离}
    C2:=BARSLAST(REF(CROSS(“KDJ.D”,”KDJ.K”),1));
    D2:=REF(C,C2+1)“KDJ.K” AND CROSS(“KDJ.D”,”KDJ.K”);
    DRAWTEXT(D2>0,H+0.08,’◎K’),COLORFFFFCC;{KDJ顶背离}
    C3:=BARSLAST(REF(CROSS(“RSI.RSI2″,”RSI.RSI1”),1));
    D3:=REF(C,C3+1)“RSI.RSI1” AND CROSS(“RSI.RSI2″,”RSI.RSI1”);
    DRAWTEXT(D3>0,H+0.04,’◆R’),COLORFF9900;{RSI顶背离};
    A1A:=EMA(CLOSE, 9);
    A1B:=((A1A – EMA(CLOSE, 5)) < 0);
    A1C:=((A1A – EMA(CLOSE, 5)) > 0);
    A1D:=BARSLAST(A1B);
    A1E:=BARSLAST(A1C);
    A1F:=IF((A1E > 0),(CLOSE – REF(CLOSE, 1)) / REF(CLOSE, 1) * 100,0);
    A20:=SUM(A1F,0);
    A21:=IF((A1D > 0),(0 – 2),0);
    A25:=EMA(EMA(EMA(CLOSE, 3), 3), 3);
    多方:=((A25 – REF(A25, 1)) + A25)COLOR0000FF,LINETHICK2;
    空方:=MA(多方, 15)COLORFF49FF;
    DRAWTEXT(CROSS(多方,空方),空方 * 0.99,’↑买’)COLOR0000FF;
    DRAWICON(((REF(A21, 1) = (0 – 2)) AND (A21 = 0)),LOW, 5);
    AAA:=(3*C+H+L+O)/6;
    短线:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36,COLORRED,LINETHICK2;
    中线:=MA(MA(C,18),5),LINETHICK1;
    DRAWICON(REF(C,1)中线,L*0.98,5);
    EMA13:=EMA(C,13),COLORWHITE;
    EMA21:=EMA(C,21),COLORYELLOW;
    EMA34:=EMA(C,34),COLORFF00FF;
    EMA60:=MA(C,60),COLORFFCC66;
    VAR200:=(2*CLOSE+HIGH+LOW)/4;
    VAR300:=IF(YEAR>=2099 AND MONTH>2,0,1);
    VAR400:=LLV(LOW,5); VAR500:=HHV(HIGH,4);
    散户:=EMA((VAR200-VAR400)/(VAR500-VAR400)*100,4)*VAR300;
    庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR300;
    DRAWTEXT(VOL=HHV(VOL,20),C ,’————————————————————‘),COLOR808080;
    DRAWTEXT(CROSS(散户,庄家) AND 散户70,H+0.05,’←高抛’),COLORGREEN;
    DRAWICON(CROSS(散户,庄家) AND 散户70,H+0.05,2);
    VAR900:=CLOSE-REF(CLOSE,5);
    VARA00:=EMA(EMA(VAR900,5),5)/EMA(EMA(ABS(VAR900),5),5);
    VARC00:=EMA(EMA(VAR900,20),20)/EMA(EMA(ABS(VAR900),20),20);
    卖出:=IF(VARA00>0 AND CROSS(VARC00,VARA00),90,100);
    { 概念股网_最新股票指标公式}
    DRAWICON(卖出20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN;
    VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR2:=REF(VAR1,1) AND CLOSE=REF(CLOSE,2);
    VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE

    特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。

    网站首页 - 股票知识 - - 股票公式 - 散户炒股 - 问答百科 - - 缠中说禅 - 概念股

    未经本站书面特别授权,请勿转载或建立镜像

    Copyright @ 2020 All Rights Reserved.版权所有 XMl地图
    Baidu
    map