• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票入门与技巧】【通达信】出手必赚主图指标公式

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

    PHD:=IF(LLV(L,3)>=REF(H,3),REF(H,3),
    IF((LLV(L,3)>=REF(C,3) AND REF(C,3)>REF(O,3)),REF(C,3),
    IF(LLV(L,3)>=REF(O,3) AND REF(C,3)>REF(O,3),REF(O,3),REF(L,3))));
    {画量柱标识:}
    {1.画倍量黄金柱标识}
    倍量黄金柱:=DRAWICON((LLV(L,3)>REF(L,3) OR LLV(L,3)=REF(L,3)) AND HHV(V,3)REF(O,3) AND REF(V,3)>=2*REF(V,4),H+0.2,17);
    {2.画梯量黄金柱标识}
    梯量黄金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)REF(V,6) AND REF(V,4)>REF(V,5) AND REF(V,3)>REF(V,4),H,17);
    {3.画平量黄金柱标识}
    平量黄金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)REF(O,3) AND ABS(REF(V,3)-REF(V,4))/REF(V,4)REF(V,1)*2.0 OR VOL=REF(V,1)*2.0) AND C>REF(C,1),H+0.2,26);
    STICKLINE(倍量,OPEN,CLOSE,-1,0),COLORYELLOW;
    倍量黄金线:STICKLINE(倍量黄金柱,PHD,PHD,28,0),COLORMAGENTA,LINETHICK5;
    DRAWICON(倍量黄金柱,PHD*1.008,12);
    DRAWTEXT(倍量黄金柱,PHD*1.008,”),COLORMAGENTA;
    HJZ:=(3*C+H+L+O)/6;
    HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36;
    HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;
    黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4,NODRAW;
    STICKLINE(黄金柱,O,C,3.3,0),COLORRED;
    STICKLINE(黄金柱,H,L,0.1,0),COLORRED;
    DRAWTEXT(黄金柱,H*0.98,”),COLORYELLOW;
    XG:=SUMBARS(FILTER(黄金柱,2),1);
    STICKLINE(XG,REF(C,XG-1),REF(C,XG-1),10,0),COLORGREEN;
    XG1:=SUMBARS(FILTER(黄金柱,2),1);
    STICKLINE(XG1,REF(L,XG1-1),REF(L,XG1-1),10,0),COLORAA00FF;
    平量黄金线:STICKLINE(平量黄金柱,PHD*1.002,PHD,28,0),COLORYELLOW;
    DRAWTEXT(平量黄金柱,PHD*1.015,’稳步’),COLORFFCC00 ;
    梯量黄金线:STICKLINE(梯量黄金柱,PHD*1.002,PHD,28,0),COLORYELLOW;
    DRAWTEXT(梯量黄金柱,PHD*1.015,”),COLORCYAN ;
    AA1:=MA(C,5);
    BB1:=MA(C,15);
    AF:=CROSS(AA1,BB1);
    STICKLINE(AF,LLV(L,4),LLV(L,4),50,1),COLORRED,LINETHICK3;
    DRAWTEXT(AF,LLV(L,4),’杀’),COLORYELLOW;
    VAR01:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
    VAR02:=HIGH-REF(HIGH,1);
    VAR03:=REF(LOW,1)-LOW;
    VAR04:=SUM(IF(VAR02>0 AND VAR02>VAR03,VAR02,0),25);
    VAR05:=SUM(IF(VAR03>0 AND VAR03>VAR02,VAR03,0),25);
    VAR06:=VAR04*100/VAR01;
    VAR07:=VAR05*100/VAR01;
    VAR08:=MA(ABS(VAR07-VAR06)/(VAR07+VAR06)*100,15);
    VAR09:=(VAR08+REF(VAR08,15))/2;
    A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
    A4:=SMA(A3,3,1);
    A5:=SMA(A4,3,1);
    A6:=3*A4-2*A5;
    A7:=C-REF(C,1);
    A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
    买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8=0;
    TJ2:=REF(VOL,3)-REF(VOL,1)>=0;
    TJ3:=REF(VOL,3)-VOL>=0;
    TJ4:=REF(CLOSE,1)-REF(OPEN,3)>=0;
    TJ5:=REF(CLOSE,2)-REF(OPEN,3)>=0;
    TJ6:=CLOSE-REF(OPEN,3)>=0;
    TJ7:=(REF(CLOSE ,3)>REF(CLOSE ,4));
    TJ:=TJ1+TJ2+TJ3+TJ4+TJ5+TJ6+TJ7=7;
    DRAWTEXT(TJ,REF(OPEN,3),’1′),COLORFFFFFF;
    DRAWTEXT((CLOSE>REF(OPEN ,1)AND(VOL>REF(VOL,1))),LOW*0.99,”),COLORYELLOW;
    DRAWTEXT((CLOSEREF(VOL ,1)AND(REF(CLOSE ,1)>REF(OPEN ,1)))),HIGH*1.01,’出’),COLOR00FF00;
    DRAWICON((CLOSE>REF(OPEN ,1)AND(VOL>REF(VOL ,1))AND(REF(CLOSE,1)REF(OPEN ,1))),HIGH*1.03,2);
    TJJJ:=BETWEEN(VOL/REF(VOL,1),1.8,2.5)AND(CLOSE>REF(CLOSE,1));
    DRAWTEXT(TJJJ,HIGH*1.035,”),COLORRED;
    高量:=(VOL=HHV(VOL,18));
    DRAWTEXT(高量,HIGH*1.03,’高’),COLOR00FF00;
    攻击:=(((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>4.45));
    DRAWTEXT(攻击,HIGH*1.02,’攻’),COLORWHITE;
    TT1:=REF(O>C,2) AND REF(C/OREF((L+(H-L)/2),2) AND HMA30 AND MA10>MA30 AND MA10>REF(MA10,1);
    DRAWTEXT(FB,L-0.58,’★小牛市’),COLORRED;
    V1:=EMA(CLOSE,5);
    V2:=EMA(EMA(CLOSE,90)*1.01,10);
    DRAWTEXT(CROSS(V1,V2),V1+0.05,’牛起步’),COLOR00FF00;
    VAR1:=LLV(LOW,21);
    VAR2:=HHV(HIGH,21);
    AK1:=EMA((((CLOSE – VAR1) / (VAR2 – VAR1)) * 100),5);
    AK:=EMA((((CLOSE – VAR1) / (VAR2 – VAR1)) * 50),13);
    AB:=CROSS(AK1,AK);
    DRAWTEXT((AB = 1),(LOW * 0.99),’窝’),COLORYELLOW;
    CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
    DD1:=L1.05) AND ((HIGH)/(CLOSE)0),91,0);
    DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),’★大胆搏 ‘),COLOR00FFFF;
    DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),’加仓’),COLOR00FFFF;
    A1AA:=9;
    A2AA:=(REF(CLOSE,A1AA+1)-0.5),84),(HIGH)*(1.05),”),COLORFFFFFF;
    VAR6:=REF(C,1);
    VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
    DRAWTEXT(CROSS(82,VAR7),H*1.01,’▼逃顶’),COLORYELLOW;

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

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

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

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