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

    正文概述    2024-04-13 07:28:23  

    {机构操盘趋势}


    VAR1:=EMA(CLOSE,7);

    VAR2:=EMA(CLOSE,13);

    L3:EMA(CLOSE,18);

    VAR3:=EMA(CLOSE,34);

    M1:EMA(EMA(EMA(L3,1),1),1),COLORGREEN,LINETHICK3;

    IF(M1 =REF(M1,1),M1,DRAWNULL),COLORRED,LINETHICK3;

    VAR4:=MAX(VAR1,VAR2);

    VAR5:=MAX(VAR4,L3);

    VAR6:=MAX(VAR5,VAR3);

    VAR7:=MIN(VAR1,VAR2);

    VAR8:=MIN(VAR7,L3);

    VAR9:=MIN(VAR8,VAR3);

    VAR10:=EMA(CLOSE,12)-EMA(CLOSE,26);

    VAR11:=MA(VAR10,9);

    VAR12:=IF(CROSS(VAR10,VAR11),1,0);

    VAR13:=IF(REF(VAR10,1) REF(VAR11,1) AND REF(VAR10,2) REF(VAR11,2) AND REF(VAR10,3) REF(VAR11,3) AND REF(VAR10,4) REF(VAR11,4) AND REF(VAR10,5) REF(VAR11,5) AND REF(VAR10,6) REF(VAR11,6) AND REF(VAR10,7) REF(VAR11,7) AND REF(VAR10,8) REF(VAR11,8) AND REF(VAR10,8) REF(VAR11,8) AND REF(VAR10,9) REF(VAR11,9) AND REF(VAR10,10) REF(VAR11,10),1,0);

    VAR14:=IF(REF(VAR10,1) 0 AND REF(VAR10,2) 0 AND REF(VAR10,3) 0 AND REF(VAR10,4) 0 AND REF(VAR10,5) 0 AND REF(VAR10,6) 0 AND REF(VAR10,7) 0 AND REF(VAR10,8) 0 AND REF(VAR10,9) 0 AND REF(VAR10,10) 0,1,0);

    VAR15:=IF((REF(VAR6,1)-REF(VAR9,1))/((REF(CLOSE,1)+REF(OPEN,1))/2) 0.1 AND (REF(VAR6,2)-REF(VAR9,2))/((REF(CLOSE,2)+REF(OPEN,2))/2) 0.1 AND (REF(VAR6,3)-REF(VAR9,3))/((REF(CLOSE,3)+REF(OPEN,3))/2) 0.1,1,0);

    VAR16:=IF(VAR12+VAR13+VAR14+VAR15=4,1,0);

    VAR17:=IF(DATE =1991230,1,0);

    VAR18:=VAR16=1 AND VAR17=1;

    VAR19:=IF(FINANCE(7) 2000000000,1,0);

    DRAWICON(CLOSE OPEN AND CLOSE VAR6 AND LOW VAR9 AND DATE =1991230 AND FILTER(CLOSE OPEN AND CLOSE VAR6 AND LOW VAR9 AND DATE =1991230,20),LOW,1),COLORWHITE;

    DRAWICON(VAR16=1 AND VAR17=1,LOW,1);

    DRAWICON(CLOSE OPEN AND HIGH VAR6 AND LOW VAR9 AND VAR10 VAR11 AND DATE =1991230,LOW,1);

    DRAWICON(CLOSE!=OPEN AND CLOSE OPEN AND REF(CLOSE,1) REF(OPEN,1) AND OPEN REF(CLOSE,1) AND CLOSE REF(HIGH,1) AND CLOSE REF(HIGH,2) AND CLOSE REF(HIGH,3) AND CLOSE REF(HIGH,4) AND CLOSE REF(HIGH,5) AND (CLOSE+OPEN)*0.5 REF(HIGH,1) AND OPEN-REF(CLOSE,1) 0.3*(REF(HIGH,1)-REF(LOW,1)) AND FILTER(CLOSE!=OPEN AND OPEN REF(CLOSE,1) AND CLOSE REF(HIGH,1) AND CLOSE REF(HIGH,2) AND CLOSE REF(HIGH,3) AND CLOSE REF(HIGH,4) AND CLOSE REF(HIGH,5) AND (CLOSE+OPEN)*0.5 REF(HIGH,1) AND OPEN-REF(CLOSE,1) 0.3*(REF(HIGH,1)-REF(LOW,1)),10) AND DATE =1991230,OPEN,7);

    VAR20:=BACKSET(REF(CLOSE,7)=HHV(CLOSE,13),8);

    VAR21:=CROSS(VAR20,0.9);

    VAR22:=BACKSET(REF(CLOSE,7)=LLV(CLOSE,13),8);

    VAR23:=CROSS(VAR22,0.9);

    压力:REF(CLOSE,BARSLAST(VAR21)),POINTDOT,COLORWHITE;

    STICKLINE(CLOSE,REF(CLOSE,BARSLAST(VAR21)),REF(CLOSE,BARSLAST(VAR21)),5,0),COLORWHITE;

    支撑:REF(CLOSE,BARSLAST(VAR23)),POINTDOT,COLORYELLOW;

    STICKLINE(CLOSE,REF(CLOSE,BARSLAST(VAR23)),REF(CLOSE,BARSLAST(VAR23)),5,0),COLORYELLOW;

    DRAWICON(CLOSE OPEN AND CLOSE 压力 AND LOW 压力,LOW,1);

    通达信机构操盘趋势源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信机构操盘趋势源码 加入收藏