• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票知识干货】【通达信】霸王之剑指标公式

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

    百胜买点:MA(CLOSE,30)/REF(MA(CLOSE,30),8)>1.04 AND
    COUNT(CLOSE>MA(CLOSE,30),8)=8 AND
    HHV(HIGH,8)/MA(CLOSE,30)MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,30) AND
    COUNT(CROSS(MA(CLOSE,10),MA(CLOSE,30)),3)=1 AND
    CLOSE0.96,STICK,LINETHICK3,COLORYELLOW;
    A1AA:=OPEN1.005;
    A4AA:=BETWEEN ((CLOSE/MA(CLOSE,30)),1,1.05);
    A5AA:=VOL/REF(VOL,1)1.005;
    追涨屠牛:=A1AA AND A2AA AND A3AA AND A4AA AND A5AA AND A6AA,LINETHICK1,COLORLIBLUE;
    JJD:=(H+L+C)/3;
    强势线1:=HHV(MA((((LOW + HIGH) + CLOSE) / 3),8),60),COLORRED,LINETHICK2;
    强势线2:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.18),8),20),COLORWHITE,LINETHICK2;
    强势线3:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.258),8),10),COLORYELLOW,LINETHICK2;
    强势线4:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.08),80),13),COLORLIMAGENTA,LINETHICK2;
    开始走强1:=强势线1>REF(强势线1,1),;
    开始走强2:=强势线2>REF(强势线2,1),;
    开始走强3:=强势线3>REF(强势线3,1),;
    开始走强4:=强势线4>REF(强势线3,1),;
    双强1:=开始走强1 AND 开始走强2,;
    双强2:=开始走强2 AND 开始走强3,;
    双强3:=开始走强3 AND 开始走强4,;
    三强:=开始走强1 AND 开始走强2 AND 开始走强3,;
    四强:=开始走强1 AND 开始走强2 AND 开始走强3 AND 开始走强4,;
    强势为王:=双强1 OR 双强2 OR 双强3 OR 三强 OR 四强,;
    强势金叉1:=CROSS(强势线1,强势线3),;
    强势金叉2:=CROSS(强势线2,强势线4),;
    强势金叉3:=CROSS(强势线3,强势线4),;
    强势金叉4:=CROSS(强势线3,强势线1),;
    强势金叉5:=CROSS(强势线2,强势线1),;
    强势金叉6:=CROSS(强势线4,强势线1),;
    强势金叉:=强势金叉1 OR 强势金叉2 OR 强势金叉3 OR 强势金叉4 OR 强势金叉5 OR 强势金叉6,;
    三十:=MA(C,30),COLORRED,LINETHICK2;
    三十而立:=三十>REF(三十,1),;
    JUJ:=(HIGH+LOW+CLOSE)/3;
    QUJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
    QUJ1:=IF(CAPITAL=0,QUJ0*(JUJ-MIN(CLOSE,OPEN)),QUJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
    QUJ2:=IF(CAPITAL=0,QUJ0*(MIN(OPEN,CLOSE)-LOW),QUJ0*IF(HIGH=LOW,1,(JUJ-MIN(CLOSE,OPEN))));
    QUJ3:=IF(CAPITAL=0,QUJ0*(HIGH-MAX(OPEN,CLOSE)),QUJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
    QUJ4:=IF(CAPITAL=0,QUJ0*(MAX(CLOSE,OPEN)-JUJ),QUJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JUJ)));
    QUJ5:=QUJ1+QUJ2;
    QUJ6:=QUJ3+QUJ4;
    DD:=(QUJ5-QUJ6)/(QUJ5+QUJ6)*100;
    DDZ:=DD*17;
    DDX:=((QUJ1+QUJ2)-(QUJ3+QUJ4))/IF(CAPITAL=0,1000000,10000);
    DX:=MA(DDX,5)*20;
    DDX1:=SMA(DX,3,1);
    DDX2:=SMA(DDX1,3,1);
    DDX3:=EMA(DDX2,5);
    DDY:=((QUJ2+QUJ4)-(QUJ1+QUJ3))/IF(CAPITAL=0,1000000,10000);
    DY:=MA(DDY,5)*22;
    DDY1:=SMA(DY,3,1);
    DDY2:=SMA(DDY1,3,1);
    DDY3:=EMA(DDY2,5);
    CC:=ABS(REF(CLOSE,1)-CLOSE)/CLOSE*100;
    JJ:=CC>0 AND CCDDX2 AND DDX2>DDX3 AND DDX1>DDX3;
    BB:=DDY1>DDY2 AND DDY2>DDY3 AND DDY1>DDY3;
    HH:=AA>0 AND BB>0 AND DDZ>300 AND JJ>0;
    DDE多头:=HH>0,COLORRED;
    {成本多头}
    短线成本均线:=EMA(AMOUNT,25 ) /EMA(VOL,25 ) ;
    中线成本均线:=EMA(AMOUNT,65 ) /EMA(VOL,65 ) ;
    长线成本均线:=EMA(AMOUNT,170 ) /EMA(VOL,170 ) ;
    周成本多头:=短线成本均线>中线成本均线 AND 中线成本均线>长线成本均线,COLORYELLOW,LINETHICK3;
    {成本多头}
    C5:=EMA(AMOUNT,5 ) /EMA(VOL,5 ) ;
    C13:=EMA(AMOUNT,13 ) /EMA(VOL,13 ) ;
    C34:=EMA(AMOUNT,34 ) /EMA(VOL,34 ) ;
    成本线多头排列:=C5>C13 AND C13>C34;
    VV:=(C+L+H)/3;
    DSA:=SMA(XMA(VV,15),2,1)LINETHICK3;
    顶部1:=DSA*1.0888,COLORMAGENTA,LINETHICK1;
    顶部2:=DSA*1.158,COLORBROWN,LINETHICK1;
    顶部3:=DSA*1.218,COLORRED,LINETHICK1;
    底部1:=DSA*0.9518,COLORLICYAN,LINETHICK1;
    底部2:=DSA*0.888,COLORLIMAGENTA,LINETHICK1;
    底部3:=DSA*0.8,COLORGREEN,LINETHICK1;
    波段买:=LA4,4)>=4 AND COUNT(A2REF(低吸,1),;
    强通5:=满仓>REF(满仓,1),;
    上升通道:=强通1 AND 强通2 AND 强通3 AND 强通4 AND 强通5,;
    强势低买:=强势为王 AND C

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

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

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

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