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

    正文概述    2024-04-13 16:31:19  

    SHORT:=7;LONG:=19;
    T:=PERIOD;
    D:=IF(T=0,30,{1F}
    IF(T=1,25,{5F}
    IF(T=8,25,{多分钟}
    IF(T=2,20,{15F}
    IF(T=3,20,{30F}
    IF(T=4,20,{60F}
    IF(T=5,10,{日}
    IF(T=6,10,{周}
    IF(T=7,10,{月}
    IF(T=9,10,{多日}
    IF(T=10,10{季},10{年})))))))))));
    RMA:=EMA(CLOSE,SHORT);
    NMA:=EMA(CLOSE,LONG);
    UP:=DRAWLINE(L=LLV(L,BArslAST(crOSS(NMA,RMA))+1) AND L=LLV(L,D)
    AND RMA<=NMA,L,H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1) AND H=HHV(H,D) AND RMA>=NMA,H,0);
    DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1) AND H=HHV(H,D)
    AND RMA>=NMA,H,L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1) AND L=LLV(L,D) AND RMA<=NMA,L,0);
    BUY:IF((UP>0 AND DOWN='-')=0,1,IF((DOWN>0 AND UP='-')=0,-1,0)),COLORSTICK,LINETHICK1;
    { _通达信股票指标公式}
    BTM:(H>REF(H,1) AND L>REF(L,1) AND REF(H,1)>REF(H,2) AND REF(L,1)>REF(L,2)
    AND REF(H,3)>REF(H,2)
    AND REF(L,3)>REF(L,2) AND C>=MAX(REF(H,1),REF(H,3)) AND BUY=0),LINETHICK0;
    DRAWICON((H>REF(H,1) AND L>REF(L,1) AND REF(H,1)>REF(H,2) AND REF(L,1)>REF(L,2)
    AND REF(H,3)>REF(H,2) AND REF(L,3)>REF(L,2) AND C>=MAX(REF(H,1),REF(H,3))
    AND BUY=0),1,11);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信趋势翻红指标公式 加入收藏