最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 将“macd买卖”改为大智慧的公式

    正文概述    2024-04-14 08:11:49  

    九毛八公式指标

    公式模块:

    VAR1:=(2*CLOSE+HIGH+LOW)/4;
    VAR2:=expma(EXPMA(EXPMA(VAR1,4),4),4);
    J: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
    D: MA(J,3);
    K: MA(J,1);
    DRAWICON(J>=REF(J,1),J,1);
    DRAWICON(J<=REF(J,1),D,2);
    VC:=(REF(C,2)*REF(V,2)+REF(C,1)*REF(V,1)+C*V)/(V+REF(V,1)+REF(V,2)),NODRAW;
    SQX:=(VC-MA(VC,13))*100;
    DIF:MA(SQX,5),COLORWHITE;
    DEA:EMA(DIF,5),COLORYELLOW;
    macd:(DIF-DEA)*2,COLORSTICK;
    低金:IF(crOSS(DIF,DEA) AND DIF<-0.1,15,DRAWNULL),COLORYELLOW,LINETHICK4,CROSSDOT;
    JCCOUNT:=COUNT(CROSS(DIF,DEA),BArslAST(DEA>=0));
    二金:IF(CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,28,DRAWNULL),COLORFF00FF,LINETHICK4,CROSSDOT;
    A1:=BARSLAST(REF(CROSS(DIF,DEA),1)),NODRAW;
    底背:IF(REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA),40,DRAWNULL),COLORRED,LINETHICK4,CROSSDOT;
    势:DRAWLINE(A1=0,DEA,底背,DEA,0),COLORGREEN;{,COLORRED;}
    A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
    顶背:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF),COLORWHITE;
    顶背_:IF(REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF
    AND CROSS(DEA,DIF),66,DRAWNULL),COLORF08000,LINETHICK4,CROSSDOT;
    压:DRAWLINE(A2=0,DEA,顶背,DEA,0),COLORFFBB99;
    A3:=CROSS(DIF,DEA) AND DEA<0;
    零下二金_:IF(FILTER(COUNT(A3,21)=2,10),53,DRAWNULL),COLORWHITE,LINETHICK4,CROSSDOT;
    DRAWICON(J>=REF(J,1),J,1);
    DRAWICON(J<=REF(J,1),D,2);( VAR1:=(2*CLOSE+HIGH+LOW)/4;
    VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
    J: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
    D: MA(J,3);
    K: MA(J,1);
    DRAWICON(J>=REF(J,1),J,7);
    DRAWICON(J<=REF(J,1),D,8);
    VC:(REF(C,2)*REF(V,2)+REF(C,1)*REF(V,1)+C*V)/(V+REF(V,1)+REF(V,2)),LINETHICK0;
    SQX:=(VC-MA(VC,13))*100;
    DIF:MA(SQX,5),COLORWHITE;
    DEA:EMA(DIF,5),COLORYELLOW;
    MacD:(DIF-DEA)*2,COLORSTICK;
    PARTLINE(15,CROSS(DIF,DEA) AND DIF<-0.1,RGB(235,235,0)),LINETHICK4,CROSSDOT;
    JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
    PARTLINE(28,CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,RGB(150,0,90)),LINETHICK4,CROSSDOT;
    A1:BARSLAST(REF(CROSS(DIF,DEA),1)),LINETHICK0;
    底背:REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA);
    PARTLINE(40,REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA),RGB(250,0,0)),LINETHICK4,CROSSDOT;
    势:DRAWLINE(A1=0,DEA,底背,DEA,0),COLORGREEN;{,COLORRED;}
    A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
    顶背:REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF),COLORWHITE;
    顶背_:IF(REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF
    AND CROSS(DEA,DIF),66,0),COLORF08000,LINETHICK4,CROSSDOT;
    压:DRAWLINE(A2=0,DEA,顶背,DEA,0),COLORFFBB99;
    A3:=CROSS(DIF,DEA) AND DEA<0;
    零下二金_:IF(FILTER(COUNT(A3,21)=2,10),53,0),COLORWHITE,LINETHICK4,CROSSDOT;
    DRAWICON(J>=REF(J,1),J,7);
    DRAWICON(J<=REF(J,1),D,8);

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 将“macd买卖”改为大智慧的公式 加入收藏