• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票入门】【通达信】顶底先知2指标公式

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

    RSVA1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    RSVA2:=100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9));
    VAR21:=SMA(RSVA2,9,1)+100;
    VAR11:=SMA(RSVA1,3,1);
    VAR51:=SMA(VAR11,3,1)+100;
    顶底线:=VAR51-VAR21+50;
    VAR2:=LLV(LOW,33);
    VAR3:=HHV(HIGH,21);
    VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,10)*-1+100;
    趋势:=100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1);
    底线:10,COLORWHITE;
    顶线:90,COLORWHITE;
    趋势线:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),LINETHICK2,COLORBLUE;
    当前安全度:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),CIRCLEDOT,LINETHICK2,COLORRED;
    DRAWTEXT(CURRBARSCOUNT=6,5,’高安区’),COLORWHITE;
    DRAWTEXT(CURRBARSCOUNT=6,15,’安区’),COLORWHITE;
    DRAWTEXT(CURRBARSCOUNT=6,50,'(投资区)’),COLORWHITE;
    DRAWTEXT(CURRBARSCOUNT=6,85,’风险区’),COLORWHITE;
    DRAWTEXT(CURRBARSCOUNT=6,95,’高险区’),COLORWHITE;
    {强拉升}
    Y1:=LLV(L,17);
    Y2:=SMA(ABS(L-REF(L,1)),17,1);
    Y3:=SMA(MAX(L-REF(L,1),0),17,2);
    Q:=-(EMA(IF(L天 AND 地天 AND 地45,VAR6B-45,0),COLOR00FFFF,LINETHICK2;
    VAR2Q:=REF(LOW,1);
    VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
    VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
    VAR5Q:=LLV(LOW,30);
    VAR6Q:=HHV(VAR4Q,30);
    VAR7Q:=IF(MA(CLOSE,58),1,0);
    VAR8Q:=EMA(IF(LOW 趋势1, 趋势1,REF(趋势1,1),3.5,0),COLOR003300;
    STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),2.8,0),COLOR005500;
    STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),2.0,0),COLOR007700;
    STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),1.2,0),COLOR009900;
    STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),0.4,0),COLOR00DD00;
    逃顶:=CROSS(82,RSI);
    STICKLINE( 逃顶,逃顶,10,3.5,0),COLORFF5500;
    STICKLINE( 逃顶,逃顶,15,2.5,0),COLORFF8800;
    STICKLINE( 逃顶,逃顶,20,1.5,0),COLORFFAA00;
    STICKLINE( 逃顶,逃顶,25,0.5,0),COLORFFCC00;
    STICKLINE( 逃顶,逃顶,30,0.1,0),COLORFFFF00;
    D1:=(C+L+H)/3;
    D2:=EMA(D1,6);
    D3:=EMA(D2,5);
    BBUY:=CROSS(D2,D3);
    强弱线:50,COLORGREEN,POINTDOT;
    DRAWICON(BBUY,20,1);
    VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
    DRAWICON(CROSS(82,VARR1),10,15);
    DRAWTEXT(CROSS(82,VARR1),35,’逃’),COLORYELLOW;
    LC:=REF(CLOSE,1);
    RSI:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORGREEN;
    A1:20;
    A2:85;
    A3:90;
    AA:=RSI80;
    CC:=RSI>90;
    STICKLINE(AA,A1,A1*0.9,3,0),COLORYELLOW;
    DRAWTEXT(AA,A1*0.92,’底’);
    STICKLINE(BB,A2,A2*1.03,3,0),COLORGREEN;
    DRAWTEXT(BB,A2,’大顶’);
    STICKLINE(CC,A3,A3*1.05,3,0),COLORFFFFFF;
    DRAWTEXT(CC,A3*1.03,’绝顶’),COLORFFFF00;
    DRAWICON(CC,A3*1.09,6);
    SG:=EMA(HHV(HIGH,1),8);
    XA1:=EMA(CLOSE,8);
    X30:=((XA1 < REF(XA1,1)) AND (CLOSE < XA1));
    X31:=IF(((SG < REF(SG,1)) OR X30),1,0);
    全仓出击:=((((COUNT((X31 = 1),4) = 3) AND (X31 = 0)) AND (((CLOSE – REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 89);
    STICKLINE(全仓出击,40,0,3,0),COLORFF00FF;
    DRAWICON((全仓出击 >= 40),41,1);
    DRAWTEXT((全仓出击 >= 48),48,’大胆杀入’);
    {分时价格原码}
    JJ:=DYNAINFO(11);
    {波段买卖原码}
    P:=55;S:=8;M1:=3;
    财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2;
    神:=EMA(财,M1),COLORGREEN,LINETHICK1;
    DRAWBAND(财,RGB(255,0,0),神,RGB(0,100,50));

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

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

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

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