最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信老鸭头选股+主图+副图公式源码

    正文概述    2024-04-13 11:26:29  

    {选股公式源码}

    MA5 := MA(CLOSE,5);
    MA10 := MA(CLOSE,10);
    MA60 := MA(CLOSE,60);
    PDAY1 := BARSLAST(CROSS(MA5,MA60));
    PDAY2 := BARSLAST(CROSS(MA10,MA60));
    PDAY3 := BARSLAST(HIGH=HHV(HIGH,PDAY2));
    PDAY4 := BARSLAST(CROSS(MA10,MA5));
    PDAY5 := BARSLAST(CROSS(MA5,MA10));
    A1:= PDAY1 PDAY2 AND PDAY2 PDAY3 AND PDAY3 PDAY4 AND PDAY4 PDAY5 AND PDAY5
    A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;
    A1 AND A2;
    通达信老鸭头选股+主图+副图公式源码
    {主图公式源码}
    MA5:MA(CLOSE,5),COLOR00FFFF;
    MA10:MA(CLOSE,10),COLORFF00FF;
    MA60:MA(CLOSE,60),COLOR00FF00;
    PDAY1:=BARSLAST(CROSS(MA5,MA60));
    PDAY2:=BARSLAST(CROSS(MA10,MA60));
    PDAY3:=BARSLAST((HIGH=HHV(HIGH,PDAY2)));
    PDAY4:=BARSLAST(CROSS(MA10,MA5));
    PDAY5:=BARSLAST(CROSS(MA5,MA10));
    A1:=(PDAY1 PDAY2) AND (PDAY2 PDAY3) AND (PDAY3 PDAY4) AND (PDAY4 PDAY5) AND (PDAY5
    A2:=(COUNT(CROSS(MA10,MA5),PDAY2)=1);
    AA:=IF(A1 AND A2 AND (MA(CLOSE,5) =MA(CLOSE,10)) AND (MA(CLOSE,10) MA(CLOSE,60)),10,0);
    BB:=FILTER(A1 AND A2 AND (MA(CLOSE,5) =MA(CLOSE,10)) AND (MA(CLOSE,10) MA(CLOSE,60)),5);
    老鸭头:=IF(AA AND BB,1,0),COLOR00FF00;
    DRAWICON(AA AND BB,LOW,1),COLORFFFF00;
    DRAWTEXT(AA AND BB,(LOW)*(0.98),'老鸭头'),COLOR00FFFF;
    通达信老鸭头选股+主图+副图公式源码
    {副图公式源码}
    VAR1:=MA(CLOSE,5);
    VAR2:=MA(CLOSE,10);
    VAR3:=MA(CLOSE,60);
    VAR4:=BARSLAST(CROSS(VAR1,VAR3));
    VAR5:=BARSLAST(CROSS(VAR2,VAR3));
    VAR6:=BARSLAST(HIGH=HHV(HIGH,VAR5));
    VAR7:=BARSLAST(CROSS(VAR2,VAR1));
    VAR8:=BARSLAST(CROSS(VAR1,VAR2));
    VAR9:=VAR4 VAR5 AND VAR5 VAR6 AND VAR6 VAR7 AND VAR7 VAR8 AND VAR8
    VARA:=COUNT(CROSS(VAR2,VAR1),VAR5)=1;
    老鸭头:VAR9 AND VARA AND VAR3 REF(VAR3,1);
    DRAWICON( VAR9 AND VARA AND VAR3 REF(VAR3,1),1.1,1);

    通达信老鸭头选股+主图+副图公式源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信老鸭头选股+主图+副图公式源码 加入收藏