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

    正文概述    2024-04-14 08:08:35  

    九毛八公式指标

    公式模块:

    请老师将此公式改为通达信可用

    生命线:MA(CLOSE,26),COLORRED,LINETHICK2;STICKLINE(C>=生命线 AND

    C>=O,C,O,7,0),COLORRED;STICKLINE(C>=生命线 AND

    C>=O,H,L,0,0),COLORRED;DP:=IF(C=INDEXC,0,1);GJ:=AMOUNT/V/100

    ;

    多头线:EMA(C,1.5),COLORYELLOW;

    空头线:EMA(C,5),COLOR00FF00;

    均衡线:EMA(空头线,5),COLORWHITE;

    VARF1:=COUNT(crOSS(多头线,均衡线),2)=1;

    VARF2:=COUNT(CROSS(空头线,均衡线),2)=1;

    ZAI:=FILTER(VARF1

    AND VARF2,2);

    DRAWTEXT(ZAI,均衡线*0.98,

    主力拉升),COLOR00FF00;

    mtm:=CLOSE-REF(CLOSE,1);

    DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

    DY:=HHV(DX,2)=HHV(DX,7)

    AND COUNT(DX>50,2) AND

    CROSS(MA(DX,2),DX);

    LC:=REF(CLOSE,1);

    rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

    ZDF:=(C-REF(C,1))/REF(C,1)*100;

    STICKLINE(ZDF>9.8,O,C,6,0),COLORRED;

    STICKLINE(ZDF<-9.8,O,C,6,0),COLORBLUE;

    白买进:0,COLORWHITE,LINETHICK0;

    黄加仓:0,COLORYELLOW,LINETHICK0

    ;

    蓝跌:0,COLORBLUE,LINETHICK0;

    绿见顶:0,COLORGREEN,LINETHICK0;

    粗红强势:0,COLORRED,LINETHICK0;

    红蓝调整:0,COLORRED,LINETHICK0;

    VAR1:=(100

    - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR2:=(100 -

    ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR3:=(100 -

    MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) -

    LLV(LOW,6))),34));DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW *

    0.998),8);DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH *

    1.013),9);DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),买

    ),COLOR4440FF;DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),卖

    ),COLORFFFF34;

    VARE1:=EMA(C,3);VARE2:=EMA(C,5);VARE3:=EMA(C,10);VAR4:=EMA(C,20);VAR5:=EMA(C,30);VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;

    VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6,

    15)*100;VAR9:=EMA(VAR7,8);STICKLINE(VAR7<1*REF(VAR7,1),H,L,0.5,0),COLORBLUE;STICKLINE(VAR7<1*REF(VAR7,1),O,C,5,1),COLORBLUE;STICKLINE(VAR7>1*REF(VAR7,1),H,L,0.5,0),COLORRED;STICKLINE(VAR7>1*REF(VAR7,1),O,C,5,

    1),COLORRED;STICKLINE(VAR7<1*REF(VAR7,1) AND

    VAR9>1*REF(VAR9,1),H,L,0.5,0),COLORGREEN;STICKLINE(VAR7<1*REF(VAR7,1) AND

    VAR9>1*REF(VAR9,1),O,C,5,

    1),COLORGREEN;买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;买进条件:=CROSS(C,买进价) AND

    买进价>REF(买进价,1);STICKLINE(买进条件,H,L,0.5,1),COLORWHITE,LINETHICK2;STICKLINE(买进条件,O,C,6,0),COLORWHITE,LINETHICK2;加码价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;加码条件:=CROSS(C,加码价)

    AND

    加码价>REF(加码价,1);STICKLINE(加码条件,H,L,0.5,1),COLORYELLOW,LINETHICK2;STICKLINE(加码条件,O,C,6,0),COLORYELLOW,LINETHICK2;

    生命线:MA(CLOSE,26),COLORRED,LINETHICK2;
    STICKLINE(C>=生命线 AND C>=O,C,O,3,0),COLORRED;
    STICKLINE(C>=生命线 AND C>=O,H,L,0,0),COLORRED;
    DP:=IF(C=INDEXC,0,1);
    GJ:=AMOUNT/V/100;
    多头线:EMA(C,1.5),COLORYELLOW;
    空头线:EMA(C,5),COLOR00FF00;
    均衡线:EMA(空头线,5),COLORWHITE;
    VARF1:=COUNT(CROSS(多头线,均衡线),2)=1;
    VARF2:=COUNT(CROSS(空头线,均衡线),2)=1;
    ZAI:=FILTER(VARF1 AND VARF2,2);
    DRAWTEXT(ZAI,均衡线*0.98,'主力拉升'),COLOR00FF00;
    MTM:=CLOSE-REF(CLOSE,1);
    DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
    DY:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);
    LC:=REF(CLOSE,1);
    RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
    ZDF:=(C-REF(C,1))/REF(C,1)*100;
    STICKLINE(ZDF>9.8,O,C,2,0),COLORRED;
    STICKLINE(ZDF<-9.8,O,C,2,0),COLORBLUE;
    白买进:0,COLORWHITE,NODRAW;
    黄加仓:0,COLORYELLOW,NODRAW;
    蓝跌:0,COLORBLUE,NODRAW;
    绿见顶:0,COLORGREEN,NODRAW;
    粗红强势:0,COLORRED,NODRAW;
    红蓝调整:0,COLORRED,NODRAW;
    VAR1:=(100- ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
    VAR2:=(100 -((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
    VAR3:=(100 -MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) -LLV(LOW,6))),34));
    DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW *0.998),8);
    DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH *1.013),9);
    DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'买'),COLOR4440FF;
    DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),'卖'),COLORFFFF34;
    VARE1:=EMA(C,3);
    VARE2:=EMA(C,5);
    VARE3:=EMA(C,10);
    VAR4:=EMA(C,20);
    VAR5:=EMA(C,30);
    VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;
    VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;
    VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;
    VAR9:=EMA(VAR7,8);STICKLINE(VAR7<1*REF(VAR7,1),H,L,0.5,0),COLORBLUE;
    STICKLINE(VAR7<1*REF(VAR7,1),O,C,2,1),COLORBLUE;
    STICKLINE(VAR7>1*REF(VAR7,1),H,L,0,0),COLORRED;
    STICKLINE(VAR7>1*REF(VAR7,1),O,C,2,1),COLORRED;
    STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),H,L,0,0),COLORGREEN;
    STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),O,C,2,1),COLORGREEN;
    买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
    买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
    STICKLINE(买进条件,H,L,0,1),COLORWHITE;
    STICKLINE(买进条件,O,C,2,0),COLORWHITE;
    加码价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;
    加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);
    STICKLINE(加码条件,H,L,0,1),COLORYELLOW;
    STICKLINE(加码条件,O,C,2,0),COLORYELLOW;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 将(加码)公式改为通达信可用 加入收藏