最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信明均低买主图指标(源码)

    正文概述    2024-04-07 08:09:47  
    DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;
    DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;
    MA05:=MA(C,5);
    MA10:=MA(C,10);
    MA30:=MA(C,30);
    五日乖离率:=(C-MA05)/MA05*100;
    BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;
    BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
    三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;
    清仓:=FILTER(COUNT(CROSS(30,BB05),5) =1 AND (C MA30 OR O MA30) AND MA05 REF(MA05,1) AND 三拾日乖离率 REF(三拾日乖离率,1) AND MA10 REF(MA10,1),10);
    JC:=CROSS(0,五日乖离率) AND 三拾日乖离率 REF(三拾日乖离率,1) AND MA10 REF(MA10,1) ;
    减仓:=FILTER(JC,10);
    DRAWTEXT(减仓,HIGH*1.02,'风险'),COLORCYAN;
    DRAWTEXT(清仓 ,HIGH*1.00,'清仓'),COLORGREEN;
    DRAWTEXT(CROSS(-6,(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100),(LOW * 0.96),'明均低买'),COLORRED;
    A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
    D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
    +13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
    +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
    REF(A,20))/211;
    D2:=EMA(D1,2);
    D3:=EMA(D2,2);
    K1:=EMA(D3,2);
    DRAWTEXT(CROSS(D1,K1),L,'★'),COLOR0099FF;
    多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
    -3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
    -SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
    ,3,1),2,1);
    天线:=78.89;
    STICKLINE(CROSS(天线,多方趋势),H*1.02,H*1.00,6,0),COLOR00FF00;
    DRAWTEXT(CROSS(天线,多方趋势),H*1.04,'逃顶'),COLOR00FF00;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信明均低买主图指标(源码) 加入收藏