• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票入门】通达信源码:牛气看盘趋势+洗不掉的筹码+操盘手必备主图

    发布时间: 2020-04-11 20:13 首页:股票一点通>股票公式>通达信公式> 阅读()
    牛气看盘趋势:

    {牛气看盘趋势}

    {趋势}
    主力:=(CLOSE*2+HIGH+LOW+O)/4;
    散户:=EMA(主力,11)-EMA(主力,20);
    量比:=EMA(散户,5);
    空:=(-2)*(散户-量比)*5;
    多:=2*(散户-量比)*5;
    QS:=MA(C,5);
    QS2:=MA(MA(C,5),6);
    趋势:=2*(QS-QS2);
    FFF:=趋势>REF(趋势,1) AND 趋势>0;
    {SKDJ2}
    DX:=EMA(CLOSE,30)-EMA(CLOSE,120);
    CX:=EMA(DX,10);
    MAMA:=2*(DX-CX);
    长线趋势:=MAMA>REF(MAMA,1) AND MAMA>0;
    AAA:=长线趋势;
    BBB:=NOT(长线趋势);
    DDD:=多>0;
    EEE:=空>0;
    YUWEI:=MA(CLOSE,1)-MA(CLOSE,5);
    GGG:=YUWEI>0 AND YUWEI>REF(YUWEI,1) AND FFF;
    NN:=120;
    最高2:=CONST(HHV(H,NN));
    最低2:=CONST(LLV(L,NN));
    PP:=IF((最高2*0.9-(最高2-最低2)*0.5)>CONST(LLV(L,20)),0.9,IF((最高2*0.9-(最高2-最低2)*0.5)>CONST(LLV(L,50)),0.7,0.6)),NODRAW;
    RCC1:=最高2*0.9-(最高2-最低2)*PP;
    最低3:=MIN(RCC1,最低2);
    AA1:=最低3;
    获利筹码:=MA(100*WINNER(C),1)<=15 AND MA(100*WINNER(C),1)>10;
    获利筹码2:=MA(100*WINNER(C),1)<=10 AND MA(100*WINNER(C),1)>5;
    获利筹码3:=MA(100*WINNER(C),1)<=5 AND MA(100*WINNER(C),1)>1;
    获利筹码4:=MA(100*WINNER(C),1)<=1;
    STICKLINE(AAA,AA1-0.000*AA1,AA1-0.040*AA1,4,0),COLORRED;
    STICKLINE(BBB,AA1-0.000*AA1,AA1-0.040*AA1,4,1),COLORLIGREEN;
    STICKLINE(EEE,AA1-0.050*AA1,AA1-0.090*AA1,4,1),COLORLIGREEN;
    STICKLINE(DDD,AA1-0.050*AA1,AA1-0.090*AA1,4,0),COLORRED;
    DRAWTEXT(FFF,AA1-0.058*AA1,'★'),COLORYELLOW;
    DRAWTEXT(GGG,AA1-0.083*AA1,'★'),COLORYELLOW;
    DRAWTEXT(获利筹码,AA1-0.020*AA1,'15'),COLORCYAN;
    DRAWTEXT(获利筹码2,AA1-0.020*AA1,'10'),COLORGREEN;
    DRAWTEXT(获利筹码3,AA1-0.020*AA1,'5'),COLORYELLOW;
    DRAWTEXT(获利筹码4,AA1-0.020*AA1,'1'),COLORYELLOW;




    洗不掉的筹码:

    公式使用方法:
    公式的目的是:用它来判断什么时候庄家发动行情和收集筹码,震仓。
    具体是:
    凡是红线和绿线金叉(红上穿绿)处进货是最好的。最安全的进货是在仓位线和收益线底下的金叉。主力仓位在80%(数字有显示)以上时候要注意逃顶了(个股有差异的不是一定的)。
    25%左右时候主力发动行情(每个个股是不同的)。

    源码

    VAR1:=(IF(WINNER(1.1*CLOSE)<0,0,WINNER(1.1*CLOSE))-IF(WINNER(0.9*CLOSE)<0,0,WINNER(0.9*CLOSE)))*100;
    洗不掉的筹码: IF(DATE<1090501,IF(VAR1<0,0,VAR1),0);
    VAR2:=EMA(洗不掉的筹码,7);
    VAR3:=EMA(洗不掉的筹码,44);
    主力收益: ABS((CLOSE-LLV(LOW,265))/LLV(LOW,265))*100;
    VAR4:=MA(CLOSE,20);
    VAR5:=(CLOSE-VAR4)/STD(CLOSE,20)*100;
    EMA(VAR5,3),COLORGREEN;
    VAR5,COLORRED;




    操盘手必备主图:

    操盘手必备主图,有未来,大量实战总结而成,加密(顶尖财经 股票学院: )

    本人通过大量实战不断完善的操盘主图,最终形成自己的模型主图指标。
    自带财务指标,记得更新你的通达信财务数据。稳健者多看ROE,利润同比,短线操盘者多关注换手Z。
    指标中自带多个信号指标。所有的信号支撑120均线由走平到上扬的多头走势,这些信号是可信度高,并参与操作。
    否则,在120均线向下移动的信号指标,可信度不高。
    关于指标的用法,留言,本人会做出解释。
    如主图的FB战法,底指标战法,结合量价看盘。这套指标只是个人系统里的冰山一角,愿意慢慢分享给大家。
    公式要用新版本的通达信,才可以正常显示,老版本的通达信,没任何显示。

    {操盘王主图}

    MA5:MA(CLOSE,5),COLORWHITE;
    MA10:MA(CLOSE,10),COLORYELLOW;
    MA20:MA(CLOSE,20),COLORMAGENTA,LINETHICK2;
    VAR1:=MA(CLOSE,31);
    MA60:MA(CLOSE,60),COLORGREEN;
    MA120:MA(CLOSE,120),COLOR0080FF;
    VAR2:=MA(CLOSE,250);
    VAR3:=SUM(AMOUNT,1)/SUM(VOL,1)/100;
    VAR4:=0.01*AMOUNT/VOL;
    VAR5:=EMA(VAR4,5);
    DRAWICON(CROSS(MA(CLOSE,18),MA(CLOSE,31)),HIGH*1.02,42);
    DRAWICON(CROSS(EMA(CLOSE,20),EMA(CLOSE,89)),LOW*0.98,9);
    VAR6:=STRCAT(CON2STR(100*FINANCE(30)/FINANCE(19),2),14);
    VAR7:=STRCAT(CON2STR(FINANCE(34),2),1);
    VAR8:=STRCAT(CON2STR(FINANCE(43),2),14);
    DRAWTEXT_FIX(1,0.22,0,0,15),COLORFF8080;
    DRAWTEXT_FIX(1,0.26,0,0,VAR7),COLORFF8080;
    DRAWTEXT_FIX(1,0.31,0,0,16),COLORFF8080;
    DRAWTEXT_FIX(1,0.36,0,0,VAR6),COLORFF8080;
    DRAWTEXT_FIX(1,0.43,0,0,17),COLORFF8080;
    DRAWTEXT_FIX(1,0.51,0,0,VAR8),COLORFF8080;
    VAR9:=STRCAT(CON2STR(VOL*10000/FINANCE(46),2),1);
    DRAWTEXT_FIX(1,0.6,0,0,18),COLORFF8080;
    DRAWTEXT_FIX(1,0.66,0,0,VAR9),COLORFF8080;
    VAR10:=CLOSE/REF(CLOSE,1)>1.097;

    STICKLINE(VAR10,OPEN,CLOSE,0.8,0),COLORMAGENTA;
    VAR11:=HIGH/REF(CLOSE,1)>1.097 AND CLOSESTICKLINE(VAR11,OPEN,CLOSE,0.8,0),COLOR0080FF;
    涨停:REF(CLOSE,1)*1.1,NODRAW,COLORRED;

    DRAWTEXT(涨停 AND CURRBARSCOUNT<=1,涨停,24),COLORRED;
    VAR12:=OPEN>REF(CLOSE,1) AND CLOSE>OPEN AND LOW>REF(CLOSE,1);
    STICKLINE(VAR12,OPEN,OPEN+(CLOSE-OPEN)/3,(-1),0),COLORWHITE;
    VAR13:=OPEN>REF(CLOSE,1) AND CLOSE>OPEN AND LOW<=REF(CLOSE,1);
    STICKLINE(VAR13,OPEN,OPEN+(CLOSE-OPEN)/3,(-1),0),COLORD32CC7;
    STICKLINE(CROSS(MA20,MA60),OPEN,CLOSE,(-1),0),COLORYELLOW;
    STICKLINE(CROSS(MA60,MA20),OPEN,CLOSE,(-1),0),COLORGREEN;
    STICKLINE(CROSS(MA5,MA20),IF(CLOSE>OPEN,OPEN,CLOSE)+(IF(CLOSE>OPEN,CLOSE,OPEN)-IF(CLOSE>OPEN,OPEN,CLOSE))*1/5,IF(CLOSE>OPEN,OPEN,CLOSE)+(IF(CLOSE>OPEN,CLOSE,OPEN)-IF(CLOSE>OPEN,OPEN,CLOSE))*2/3,(-1),0),COLORRED;
    STICKLINE(CROSS(MA20,MA5),IF(CLOSE>OPEN,OPEN,CLOSE)+(IF(CLOSE>OPEN,CLOSE,OPEN)-IF(CLOSE>OPEN,OPEN,CLOSE))*1/5,IF(CLOSE>OPEN,OPEN,CLOSE)+(IF(CLOSE>OPEN,CLOSE,OPEN)-IF(CLOSE>OPEN,OPEN,CLOSE))*2/3,(-1),0),COLOR008000;
    VAR14:=HHV(VOL,100)=VOL;
    VAR15:=BARSLAST(VAR14) AND CURRBARSCOUNT<240;
    DRAWLINE(REFX(VAR15=0,0),IF(CLOSE>OPEN,CLOSE,OPEN),REF(REFX(VAR15=0,0),1),REF(IF(CLOSE>OPEN,CLOSE,OPEN),1),1),COLORRED;
    VAR16:=IF(CURRBARSCOUNT>1,VOL,(-1));
    VAR17:=BARSLAST(VAR16=HHV(VAR16,20));
    VAR18:=IF(REF(CLOSE,VAR17)>REF(OPEN,VAR17),REF(CLOSE,VAR17),REF(OPEN,VAR17));
    DRAWLINE(CURRBARSCOUNT=CONST(VAR17)+1,VAR18,ISLASTBAR,REF(VAR18,VAR17),0),COLORWHITE;
    VAR19:=90;
    VAR20:=3;
    VAR21:=REF(LLV(LOW,VAR19),VAR20);
    VAR22:=REFDATE(VAR21,DATE);
    VAR23:=VAR22=LOW AND (CLOSE-LOW>0-CLOSE OR OPEN-LOW>CLOSE-OPEN);
    DRAWTEXT(VAR23,HIGH*1.015,30),COLORBLUE;
    VAR24:=EMA(CLOSE,5);
    VAR25:=EMA(CLOSE,10);
    VAR26:=EMA(CLOSE,21);
    VAR27:=EMA(CLOSE,34);
    VAR28:=EMA(CLOSE,55);
    VAR29:=EMA(CLOSE,89);
    VAR30:=VAR24>VAR25 AND VAR25>VAR26;
    VAR31:=VAR24>REF(VAR24,1) AND VAR25>REF(VAR25,1) AND VAR26>REF(VAR26,1);
    VAR32:=CLOSE>MAX(VAR24,VAR29) AND VAR30 AND VAR31;
    VAR33:=VOL/MA(VOL,5)>1.47 AND KDJ.K>REF(KDJ.K,1);
    DRAWICON(VAR32 AND VAR33,LOW,7);

    VAR34:=EMA(VOL,5);
    VAR35:=EMA(VOL,20);
    VAR36:=CROSS(VAR34,VAR35) AND CLOSE>REF(CLOSE,1) AND EMA(CLOSE,20)>REF(EMA(CLOSE,20),1);
    DRAWTEXT(VAR36,HIGH*1.01,21),COLORBLUE;


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

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

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

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