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

    正文概述    2024-04-13 16:18:06  

    MA5 := MA(CLOSE,5);
    MA10 := MA(CLOSE,10);
    MA60 := MA(CLOSE,60);
    PDAY1 := BArslAST(crOSS(MA60,MA5));{5日均线下穿60日均线}
    PDAY2 := BARSLAST(CROSS(MA60,MA10));{10日均线下穿60日均线,至此形成鸭颈部}
    PDAY3 := BARSLAST(LOW=LLV(LOW,PDAY2));{形成头部,要反弹}
    PDAY4 := BARSLAST(CROSS(MA5,MA10));{反弹后,5日均线和10日均线金叉}
    PDAY5 := BARSLAST(CROSS(MA10,MA5));{反弹不久,5日均线和10日均线形成死叉,形成嘴部}
    A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;
    A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;
    买点1:A1 AND A2,COLORFFFF00;
    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<5;
    VARA:=COUNT(CROSS(VAR2,VAR1),VAR5)=1;
    买点:VAR9 AND VARA AND VAR3>REF(VAR3,1),COLORFF00FF;
    NA1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10));
    NA2:=MIN(MA(C,5),MA(C,10))/MA(C,60)<1.05;
    NA3:=COUNT(V6;
    VAR201:=CLOSE-REF(CLOSE,1);
    VAR202:=IF(CLOSE-REF(CLOSE,1)>=0,VAR201,0);
    VAR203:=REF(CLOSE,1)-CLOSE;
    VAR204:=IF(CLOSE-REF(CLOSE,1)<=0,VAR203,0);
    VAR205:=SUM(VAR202,8)/SUM(VAR204,8);
    VAR206:=1-1/(1+VAR205);
    短线: EMA(VAR206,3),COLORYELLOW;
    VAR207:=LLV(LOW,50);
    VAR208:=HHV(HIGH,50);
    VAR209:=EMA(CLOSE,2);
    中线: EMA((VAR209-VAR207)/(VAR208-VAR207),8),COLOR00FF00;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信战赢分析指标公式 加入收藏