最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 把公式改为分时预警公式,条件是出现笑脸预警

    正文概述    2024-04-14 08:00:36  

    九毛八公式指标

    公式模块:

    公式源码如下:
    A1:=AMOUNT/vol/100;
    A2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
    A3:=SUM(AMOUNT,40)/A1/100;
    A4:=SUM(AMOUNT,80)/A1/100;
    B1:=DMA(A2,VOL/A3);
    B2:=DMA(A2,VOL/A4);
    B3:=(CLOSE-B1)/B1*100;
    B4:=(CLOSE-B2)/B2*100;
    控盘:1,COLORYELLOW,LINETHICK1;
    高点:5,,COLORFF6600;
    风险:-1,COLORGREEN,LINETHICK2;
    低点:-4,COLORCCFF33;
    现价:C,NODRAW;
    分时确认:MA(REF(HHV(C,60),1),2),NODRAW;
    均价:SUM(现价*V,240)/SUM(V,240),COLORYELLOW,NODRAW;
    回调认同:EMA(expma(C,20),13),NODRAW;
    分时压力:MA(REF(HHV(C,30),1),2),NODRAW;
    分时支撑:MA(REF(LLV(C,30),1),2),NODRAW;
    STICKLINE(FILTER(C,60)>0,高点,低点,0.5,0),COLORRED;
    STICKLINE(B4>0,0,B4,1,0),COLORYELLOW;
    STICKLINE(B3>0,0,B3,1,0),COLORRED;
    STICKLINE(B3<=0,0,B3,1,0),COLORGREEN;
    Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95);
    Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));
    DRAWICON(crOSS((C/Q2),1.03),0.02,6);
    STICKLINE(CROSS((C/Q2),1.03),0.02,0,4,0), , COLORYELLOW;
    RSV:=(CLOSE-LLV(LOW,Q))/(HHV(HIGH,Q)-LLV(LOW,Q))*100;
    K:=SMA(RSV,5,1);
    D:=SMA(K,3,1);
    J:=3*K-2*D;
    VAR2:=EMA(J,6);
    VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
    VAR4:=SMA(VAR3,13,8);
    VAR5:=CEILING(SMA(VAR4,13,8));
    VAR6:="SSRP.MA1";
    VAR7:="SSRP.MA2";
    SIGNAL1:=CROSS(VAR5,VAR2) AND C>=均价;
    SIGNAL2:=(CROSS(VAR5,VAR2) AND B3>0.6 AND C>=均价);
    SIGNAL3:=(CROSS(VAR6,VAR7) AND B3>0.6 AND C>=均价);
    Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95);
    Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));
    CROSS((C/Q2),1.03);

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 把公式改为分时预警公式,条件是出现笑脸预警 加入收藏