最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信山人看盘指标公式

    正文概述    2024-04-13 15:31:25  

    DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:EMA(DIF,9);
    macd:(DIF-DEA)*2,COLORSTICK;
    MacD2:=EMA(MACD,2);
    MM1:=IF(MACD< 0,MACD,0);
    JJ1:=MM1> REF(MM1,1);
    ZZ1:=REF(JJ1,1)=1;
    抄底区:(JJ1 AND ZZ1)*DEA,POINTDOT,COLORRED;{MACD蓝柱缩短---指今日比昨天短}
    STICKLINE(抄底区=DEA,DEA,DIF,3,0),COLORRED;
    DIFF:=EMA(CLOSE,26) - EMA(CLOSE,12);
    DEAF:=EMA(DIFF,9);
    MACDF:=2*(DIFF-DEAF), COLORSTICK,COLOR5454FF;
    MM:=IF(MACDF< 0,MACDF,0);
    JJ:=MM> REF(MM,1);
    ZZ:=REF(JJ,1)=1;
    逃顶区:(JJ AND ZZ)*DEAF,POINTDOT,COLORRED;{MACD蓝柱缩短---指今日比昨天短}
    STICKLINE(逃顶区=DEAF,DEA,DIF,3,0),COLORGREEN;
    STICKLINE(MACD>MACD2 AND MACD>0,0,MACD,0.1,0),COLORRED;
    STICKLINE(MACD>MACD2 AND MACD<0,0,MACD,0.1,0),COLORLIGRAY;
    STICKLINE(MACD STICKLINE(MACD>=0 OR MACD<=0,0,0,50,1),COLORGREEN;
    VARX1:=LLV(DEA,25);
    VARX3:=DEA-(DIF-DEA);
    压力线:REF(HHV(DIF,25),1),COLORGREEN;
    支撑线:IF(DIF A2:=BArslAST(REF(crOSS(DEA,DIF),1));
    A11:=BARSLAST(REF(CROSS(DIF,DEA),1));
    M底背:=REF(CLOSE,A11+1)>CLOSE AND DIF>REF(DIF,A11+1) AND CROSS(DIF,DEA),COLORLIGRAY;
    STICKLINE(M底背,DIF,支撑线,2,0),COLORYELLOW;
    DRAWTEXT(M底背,DIF,' M底背'),COLORYELLOW;
    GJ:=MAX(C,O);
    H4:=HHV(GJ,4);
    GT2:=DEAREF(DEA,2);
    A2T:=BARSLAST(REF(GT2,1));
    顶背离:=REF(H4,A2T+1)

    STICKLINE(顶背离,压力线,DIF,2,0),COLORGREEN;
    DRAWTEXT(顶背离,REF(DEA,A2)*0.5,' 顶背离'),COLORGREEN;
    XGS:=CROSS(压力线,DIF);
    DRAWICON(XGS,压力线,2);
    XGD:=CROSS(DIF,支撑线);
    DRAWICON(XGD,支撑线,1);
    XG1:=CROSS(DIF,DEA);
    DRAWICON(XG1,DEA,11);
    XG3:=CROSS(DEA,DIF);
    DRAWICON(XG3,DIF,12);
    抄底:=XGS AND XG1;
    DRAWTEXT(抄底,DIF,' 底'),COLORWHITE;
    获利%:WINNER(CLOSE)*100,NODRAW,COLORWHITE;
    N1:=STRCAT(CON2STR(YEAR,0),' 年 ');
    Y1:=STRCAT(CON2STR(MONTH,0),' 月 ');
    R:=STRCAT(CON2STR(DAY,0),' 日 ');
    SJ:=STRCAT(STRCAT(N1,Y1), R);
    DRAWTEXT_FIX(C>0,0.05,0,0,SJ);
    DRAWTEXT_FIX(C>0,0.15,0,0,'作者 云顶山人'),COLORYELLOW;
    Vvol:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
    VOLUME1:=CURRBARSCOUNT=1 AND PERIOD=5,VVOL;
    VOLUME:=VOL;
    V3:=VOLUME1>=REF(VOLUME,1)*1.5;
    XGY:=C>OPEN AND VOLUME1 AND VOLUME AND V3;
    虚拟成交量:=XGY=1;
    即时虚拟量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL/FROMOPEN*240,DRAWNULL);
    成交量:=IF(CURRBARSCOUNT>1,VOL,即时虚拟量);
    五日均量:=MA(VOL,5);
    预警:=虚拟成交量 OR (成交量>=五日均量*2 AND (L-O)/O*100>=-1);
    STICKLINE(预警,XGY*0.3,0,-1,-1),COLOR00C0C0;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信山人看盘指标公式 加入收藏