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

    正文概述    2024-04-14 17:04:43  

    N:=10;
    M1:=11;
    M2:=9;
    UPPER:(1+M1/100)*MA(CLOSE,N);
    LOWER:(1-M2/100)*MA(CLOSE,N);
    ene:(UPPER+LOWER)/2;
    A1:=crOSS(H,UPPER);
    STICKLINE(A1,O,C,3,0),COLORGREEN;
    DRAWTEXT(A1,H*1.01,'卖'),COLORGREEN;
    X_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
    X_2:=EMA(CLOSE,89);
    X_3:=EMA(EMA(EMA(HIGH,13),13),13);
    X_4:=EMA(EMA(EMA(HIGH,5),5),5);
    X_5:=IF(CLOSE>OPEN,CLOSE,OPEN);
    X_6:=IF(CLOSE>OPEN,OPEN,CLOSE);
    X_7:=LLV(X_5,4);
    X_8:=HHV(X_6,4);
    X_9:=X_5>=X_7 AND X_6<=X_7 AND X_5>=X_8 AND X_6<=X_8;
    X_10:=REF(X_5,1)>=X_7 AND REF(X_6,1)<=X_7 AND REF(X_5,1)>=X_8 AND REF(X_6,1)<=X_8;
    X_11:=REF(X_5,2)>=X_7 AND REF(X_6,2)<=X_7 AND REF(X_5,2)>=X_8 AND REF(X_6,2)<=X_8;
    X_12:=REF(X_5,3)>=X_7 AND REF(X_6,3)<=X_7 AND REF(X_5,3)>=X_8 AND REF(X_6,3)<=X_8;
    X_13:=X_9 AND X_10 AND X_11 AND X_12;
    X_14:=REF(X_8,BArslAST(X_13));
    X_15:=(REF(OPEN,5)+REF(CLOSE,5))/2;
    X_16:=(HIGH+LOW+CLOSE+OPEN)/4;
    X_17:=MAX(X_15,MAX(X_16,HHV(HIGH,5)));
    X_18:=MIN(X_15,MIN(X_16,LLV(LOW,5)));
    X_19:=X_17=X_15;
    X_20:=X_19;
    X_21:=REF(X_17,BARSLAST(X_20));
    X_22:=EMA(CLOSE,5)>EMA(CLOSE,55);
    X_23:=EMA(X_22,10);
    X_24:=X_22-X_23;
    X_25:=X_17>X_21*0.98 AND CLOSE>X_4 AND CLOSE>X_3 AND CLOSE>X_2 AND X_4>=REF(X_4,1);
    VAR1:=1;
    VAR1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*VAR1;
    VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*VAR1;
    VAR1E:=EMA(VAR1D,30)*VAR1;
    VAR1F:=2*(VAR1D-VAR1E)*10*VAR1;
    VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2)*VAR1;
    VAR25:=IF(YEAR<9999 AND VAR1F>0.015,VAR20,0)/45*VAR1;
    YZ:=VAR25/10,COLORRED;
    VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);
    VAR27:=EMA(VAR26,100);
    VAR28:=2*(VAR26-VAR27);
    VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);
    ZL:=IF(YEAR<9999 AND VAR28>0.1,VAR29,0)*5/10;
    无红持币:=EMA((ZL+YZ),22),COLORYELLOW,LINETHICK1;
    渐红持股:=IF(无红持币>REF(无红持币,1),无红持币,DRAWNULL);
    XG1:=REF(渐红持股 >0,1)=0 OR REF(X_25,1)=0;
    XGZ:=XG1 AND 渐红持股 >0 AND X_25;
    AB1:=CLOWER;
    AB2:=UPPER>REF(UPPER,1) AND LOWER>REF(LOWER,1);
    XG2:=IF(XGZ,1,0) AND C/REF(C,1)-1>0.098 AND C=H AND AB1 AND AB2;
    STICKLINE(XG2,O,C,3,0),COLORRED;
    DRAWTEXT(XG2,H*1.01,'买'),COLORRED;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信尾盘擒龙主图指标公式 加入收藏