• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票知识干货】通达信源码:黄块快买,复合顶底,散户黑马操盘副图

    发布时间: 2020-04-11 16:17 首页:股票一点通>股票公式>通达信公式> 阅读()
    黄块快买:

    MA5:=EMA(C,5);
    MA13:=EMA(C,6);
    持有:0,COLOR0066CC;
    快走:10,COLOR003300;
    不要操作:0,COLOR666666;
    快买:0,COLORYELLOW;
    快走2:0,COLORBLUE;
    UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
    (MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
    (MA5,MA13))+1),0),COLOR0000FF;
    DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
    (MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
    (MA13,MA5))+1),0),COLOR00FF00;
    STICKLINE(持有+快走,0,10,5,0),COLOR666666;
    STICKLINE(UP,0,10,5,0),COLOR0066CC;
    STICKLINE(DOWN,0,10,5,0),COLOR003300;
    A7:=(2*C+H+L)/4;
    VARR:=LLV(A7,21);
    VAR11:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    VAR22:=REF(VAR11,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    VAR33:=REF(VAR22,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR44:=REF(VAR33,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    VAR55:=REF(VAR44,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR66:=REF(VAR55,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    VAR77:=REF(VAR66,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR88:=REF(VAR77,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    VAR99:=REF(VAR88,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VARAA:=REF(VAR99,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    VARBB:=REF(VARAA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VARCC:=REF(VARBB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    VARDD:=CLOSEVAREE:=REF(VARDD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VARFF:=REF(VAREE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    VAR100:=REF(VARFF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR110:=REF(VAR100,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    VAR120:=REF(VAR110,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR130:=REF(VAR120,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    VAR140:=REF(VAR130,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR150:=REF(VAR140,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    VAR160:=REF(VAR150,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR170:=REF(VAR160,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    VAR180:=REF(VAR170,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VAR190:=REF(VARDD OR VAREE OR VARFF OR VAR100 OR VAR110 OR VAR120 OR VAR130 OR
    VAR140 OR VAR150 OR VAR160 OR VAR170 OR VAR180,1) AND VAR11;
    VAR1A:=REF(VAR11 OR VAR22 OR VAR33 OR VAR44 OR VAR55 OR VAR66 OR VAR77 OR
    VAR88 OR VAR99 OR VARAA OR VARBB OR VARCC,1) AND VARDD;
    A1:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*10;
    K:=MA(3*SMA(A1,6,1)-2*SMA(SMA(A1,5,1),5,1),3),LINETHICK1,COLORF00FF0;
    D:=MA(K,3),COLORFF0000,LINETHICK1;
    J:=3*K-2*D,LINETHICK1,COLORF00FF0;
    DRAWBAND(J,RGB(128,1,1),D,RGB(12,124,0));
    STICKLINE(VAR190,-0.5,-1,3,0),COLORYELLOW;
    STICKLINE(VAR1A,10.5,11,3,0),COLORBLUE;




    复合顶底:

    指标使用说明及源码:
    1此副图指标简明、清晰,有利于股友们初步判断股价的趋势及顶底的初步位置。
    2指标的上边3条彩条分别显示VOL,MACD,KDJ指标的金叉死叉情况。(顶尖财经 股票学院: )
    3底部的两色箭头分别是根据指标显示应作出的持股和减仓操作的信号。

    关注:20,POINTDOT;
    警戒:80,POINTDOT;
    VAR1:=LLV(LOW,10);
    VAR2:=HHV(HIGH,25);
    趋势:= EMA((CLOSE-VAR1)/(VAR2-VAR1)*110,10),COLORFF00FF,LINETHICK5;
    IF(趋势>=REF(趋势,1),趋势,DRAWNULL),COLORFF00FF,LINETHICK2;
    IF(趋势< REF(趋势,1),趋势,DRAWNULL),COLOR00FFFF,LINETHICK2;
    STICKLINE(趋势>=REF(趋势,1) ,趋势 ,REF(趋势,1),3 ,1),COLORRED,LINETHICK3;
    STICKLINE(趋势< REF(趋势,1) ,趋势 ,REF(趋势,1),3 ,1),COLOR00FF00,LINETHICK3;
    IF(趋势>=REF(趋势,1),0,13),COLORFF00FF,LINETHICK2;
    DRAWICON(趋势>=REF(趋势,1),8,1);
    DRAWICON(趋势< REF(趋势,1),2,2);
    VOLUME:=VOL,VOLSTICK;
    MAVOL1:=MA(VOLUME,5);
    MAVOL2:=MA(VOLUME,10);
    STICKLINE(MAVOL1>=MAVOL2,122,116,3,0),COLORFF00FF;
    STICKLINE (MAVOL1成交量叉:MAVOL1>MAVOL2,POINTDOT;
    DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIF,9);
    MACD:=(DIF-DEA)*2,COLORSTICK;
    STICKLINE (DIF>=DEA,114,108,3,0),COLORFF00FF;
    STICKLINE (DIFMACD叉:DIF>DEA,POINTDOT;
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:=SMA(RSV,3,1);
    D:=SMA(K,3,1);
    J:=3*K-2*D;
    STICKLINE (K>=D,106,100,3,0),COLORFF00FF;
    STICKLINE (KKDJ叉:K>D POINTDOT;
    DRAWTEXT(CURRBARSCOUNT=3,119,'VOL'),COLORFF0000;
    DRAWTEXT(CURRBARSCOUNT=3,111,'MACD'),COLORFF0000;
    DRAWTEXT(CURRBARSCOUNT=3,103,'KDJ'),COLORFF0000;




    散户黑马操盘副图:

    {散户线+黑马出现}

    LC:=REF(CLOSE,1);
    RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
    TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
    HD:=(HIGH - REF(HIGH,1));
    LD:=(REF(LOW,1) - LOW);
    DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
    DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
    PDI:=((DMP * 100) / TR1);
    MDI:=((DMM * 100) / TR1);
    ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
    AV:=(RSI5 + ADX);
    DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
    0,COLORFF00FF;
    WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
    NEWVOL:=(RSI5 - WR10);
    阶段底部:=(AV + NEWVOL);
    STICKLINE((阶段底部 < 0),0,-10,0.8,1),LINETHICK6,COLORYELLOW;
    趋势线:=LLV(阶段底部,1),COLORWHITE,LINETHICK0;
    STICKLINE(CROSS(阶段底部,0),0,-10,0.8,1),LINETHICK6,COLORRED;
    STICKLINE((趋势线 >230 ),100,90,0.3,1),LINETHICK6,COLORGREEN;
    LOWV:=LLV(LOW,9);
    HIGHV:=HHV(HIGH,9);
    RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
    K:EMA(RSV,3);
    D:MA(K,3);
    STICKLINE(K>D , K,D ,2.5,0),COLORRED,LINETHICK2;
    STICKLINE(D>K,K,D,2.5,0),COLORGREEN,LINETHICK2;
    逃顶线:90,COLORGREEN;
    中轴线: 50,COLORRED;
    抄底线:10,COLORGREEN;
    DRAWICON(CROSS(K,D),12,1)COLORRED;
    DRAWICON(CROSS(D,K),88,2)COLORGREEN;
    警戒:阶段底部 < 0,LINETHICK0,COLORYELLOW;
    出击:CROSS(阶段底部,0),LINETHICK0,COLORRED;
    AA1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*200-100;
    AA2:=SMA(AA1,3,1);
    AA3:=SMA(AA2,3,1);
    AA4:=(3*AA2-2*AA3)/5+50;
    AA5:=DRAWLINE(AA4REF(AA4,1),AA4,0);
    AA6:=AA4>REF(AA4,1);
    AA7:=DRAWLINE(AA6,AA4,AA4AA8:=(EMA(CLOSE,12) - EMA(CLOSE,26));
    AA9:=EMA(AA8,9);
    AA0:=HHV(MAX(AA2,MAX(AA3,AA4)),250);
    BB1:=HHV(MAX(AA8,AA9),250);
    BB2:=INTPART(AA0/BB1)/2;
    BB3:=BB2*AA8+50;
    BB4:=BB2*AA9+50;
    BB5:=1.5*(BB3-BB4)>REF(1.5*(BB3-BB4),1);
    STICKLINE(BB5,0,AA5,0,-1),COLOR77FFFF;
    STICKLINE(AA4STICKLINE(AA6,0,AA7,0,1),COLOR00FF00;
    STICKLINE(CLOSE>0,4,-1,5,0),COLORBBBBBB;
    MAC:AA5,COLOR0000FF,LINETHICK5;

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

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

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

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