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

    正文概述    2024-04-13 15:26:32  

    OK:=REF(CLOSE,1);
    鱼:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(Abs(CLOSE-OK),7,1)*100;
    rsi4:=SMA(鱼,7,1);
    HH:=BArslAST(鱼<=15)<5;
    白绿线:=SMA(鱼,7,1);
    深水鱼:=crOSS(鱼,RSI4) AND 白绿线>15 AND HH;
    BU:=深水鱼;
    BB2:=IF(C>REF((6*H+5*REF(H,1)+4*REF(H,2)+3*REF(H,3)+2*REF(H,4)+1*REF(H,5))/(6+5+4+3+2+1),1),1,IF(C DD2:=BARSLAST(NOT(BB2=0));
    B:=IF(BB2=0,REF(BB2,DD2),BB2);
    触发:BU,NODRAW,COLORRED;
    止损:C0)) AND COUNT(C0)),BARSLAST(BU>0))=1 AND IF(MA(CLOSE,1)>IF(B=-1,MA(HIGH,6),MA(LOW,6)) ,1,-1)>0,NODRAW, COLORGREEN;
    止盈:(H/REF(C,BARSLAST(BU>0))>=1.05 OR C/REF(C,BARSLAST(BU>0))>=1.05) AND COUNT(止损,BARSLAST(BU>0))=0 AND COUNT(CROSS(0,IF(MA(CLOSE,1)>IF(B=-1,MA(HIGH,6),MA(LOW,6)) ,1,-1)),BARSLAST(BU>0))=0,NODRAW, COLORBLUE;
    区间:COUNT(BU,BARSLAST(BU)+1)=1 AND COUNT(止损,BARSLAST(BU>0)+1)=0 AND COUNT(CROSS(0,IF(MA(CLOSE,1)>IF(B=-1,MA(HIGH,6),MA(LOW,6)) ,1,-1)), BARSLAST(BU>0)+1)=0,NODRAW,COLOR696960;
    结束:(COUNT(BU,BARSLAST(BU)+1)=1 AND COUNT(止损,BARSLAST(BU>0)+1)=0 AND COUNT(CROSS(0,IF(MA(CLOSE,1)>IF(B=-1,MA(HIGH,6),MA(LOW,6)) ,1,-1)), BARSLAST(BU>0)+1)=1 AND CROSS(0,IF(MA(CLOSE,1)>IF(B=-1,MA(HIGH,6),MA(LOW,6)) ,1,-1))) OR 止损,NODRAW, COLORGREEN;
    STICKLINE(触发>0,0,1,4,0),COLORRED;
    STICKLINE(止盈>0 ,0.3,0.6,4,0) COLORBLUE;
    STICKLINE(结束>0,0,1,4,0) COLORGREEN;
    TS:=BARSLASTCOUNT(止盈>0);
    DRAWTEXT(止盈>0,0.5,VAR2STR(TS,0));


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信深水鱼指标公式 加入收藏