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

    正文概述    2024-04-13 15:51:50  

    MA5:MA(C,5),COLORWHITE;
    MA10:MA(C,10),COLORBLUE;
    MA30:MA(C,21),COLORRED;
    VAR1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
    VAR2:=MA(VAR1,5);
    VAR3:=MA(VAR1,10);
    股海明灯: DRAWTEXT(FILTER(MA(VAR1,10) 空方敌机: DRAWTEXT(FILTER(MA(VAR1,10)>=VAR1,1),VAR3,'~'),COLORGREEN ;
    X1:=(C+L+H)/3;
    X2:=EMA(X1,6);
    X3:=EMA(X2,5);
    STICKLINE(X2>=X3,LOW,HIGH,0.1,1),COLORRED;
    STICKLINE(X2>=X3,CLOSE,OPEN,3,1),COLORRED;
    STICKLINE(X2 STICKLINE(X2 STICKLINE(crOSS(X2,X3),OPEN,CLOSE,4,0),COLORYELLOW;
    STICKLINE(CROSS(X3,X2),OPEN,CLOSE,4,0),COLORBLUE;
    VAR1A:=REF(CLOSE,1);
    VAR2A:=SUM(vol,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
    VAR3A:=(CLOSE-VAR1A)*VAR2A;
    VAR4:=SUM(VAR3A,0);
    VAR5:=SMA(VAR4,5,1);
    VAR6:=SMA(VAR4,8,1);
    OSC:=VAR5-VAR6;
    OSCMA:=MA(OSC,4);
    VD:=SUM(IF(OSC>0,OSC*1.003,OSC*1.003>0),34)/34;
    VE:=SUM(IF(OSC<=0,OSC*0.97,OSC*0.97<0),34)/34;
    VARW:=(C/REF(C,1)-1)*100<=4;
    DRAWTEXT(CROSS(OSC,VD) AND VARW,L-0.1,'∧/N加仓'),COLORRED;
    KOH:=L>REF(H,1);
    KOL:=H HIF:=L>REF(H,BArslAST(KOH)+1);
    NHIF:=L<=REF(H,BARSLAST(KOH)+1);
    LIF:=H NLIF:=H>=REF(L,BARSLAST(KOL)+1);
    DRAWICON(HIF AND BARSLAST(KOH) DRAWICON(LIF AND BARSLAST(KOL)


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信红绿交战K线指标公式 加入收藏