最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 强弱K线和看庄定势(综合千钧和红树林老师的公式)

    正文概述    2024-04-07 23:00:05  
    可作成一不影响K线原来形象的主图,既看到对比大盘强弱K线也看到对个股解盘的看庄定势
    DZH2原码如下:
    MA5:MA(C,5),PRECIS2;
    MA10:MA(C,10),PRECIS2;
    MA18:MA(C,18),PRECIS2;
    MA27:MA(C,27),PRECIS2;
    MA60:MA(C,60),PRECIS2;
    MA125:MA(C,125),PRECIS2;
    MA250:MA(C,250),PRECIS2;
    BBIBOLL:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,LINETHICK2,COLORRED,PRECIS2;
    UPR:BBIBOLL+6*STD(BBIBOLL,11),LINETHICK2,COLORGRAY,PRECIS2;
    DWN:BBIBOLL-6*STD(BBIBOLL,11),LINETHICK2,COLORGRAY,PRECIS2;
    CPJ:0.35*(HHV(C,0)+LLV(C,0)),LINETHICK2;
    DIF:=1.8*(EMA(CLOSE,12)-EMA(CLOSE,26));
    DIFF:=CPJ+DIF{,LINETHICK2};
    DEA:=CPJ+EMA(DIF,9);
    MACD:=2*(DIFF-DEA);
    STICKLINE(MACD 0,CPJ,CPJ+2*MACD,1,1),COLORRED;
    STICKLINE(MACD =0,CPJ,CPJ+2*MACD,1,1),COLORGREEN;
    CPJJ:=0.0382*(HHV(C,0)+LLV(C,0));
    RSV:=(C-LLV(LOW,9))/(HHV(H,9)-LLV(L,9))*100-CPJJ;
    K:0.035*SMA(RSV,3,1);
    D:SMA(K,3,1);
    J:3*K-2*D;{};
    pv:=INDEXV;
    lb1:=v/ref(ma(v,5),1);
    lb2:=pv/ref(ma(pv,5),1);
    a1:=lb1 a2:=lb1
    a3:=lb1 1.3*lb2 and lb1 =2*lb2;a4:=lb1 2*lb2;
    a5:=lb2 1.3*lb1 and lb2 =2*lb1;a6:=lb2 2*lb1;
    DRAWTEXT(a2,0.94*DWN,'低'),COLORDDDD00;
    DRAWTEXT(a5,0.95*DWN,'弱'),COLORGREEN;
    DRAWTEXT(a6,0.96*DWN,'疲'),COLORFF0000;
    DRAWTEXT(a1,0.97*DWN,'先'),COLORFF00FF;
    DRAWTEXT(a3,0.98*DWN,'强'),COLOR0000FF;
    DRAWTEXT(a4,0.99*DWN,'超'),COLOR00FFFF;
    VAR6:=(( ABS((OPEN-CLOSE))/(HIGH-LOW))*VOL);
    VAR7:=(( (HIGH-IF((CLOSE OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL);
    VAR8:=(( (IF((CLOSE OPEN),OPEN,CLOSE)-LOW)/(HIGH-LOW))*VOL);
    VAR9:=IF(((VOL/CAPITAL) 0.001),1,EXP(ABS(LOG(((VOL/CAPITAL)*100)))));
    加仓:=VAR6 =VAR7 AND VAR6 =VAR8 AND CLOSE OPEN;
    减仓:=VAR6 =VAR7 AND VAR6 =VAR8 AND CLOSE OPEN;
    洗盘:=VAR8 VAR6 AND VAR8 VAR7;
    高抛:=VAR7 VAR6 AND VAR7 VAR8;
    地量:=VAR9 2 AND VOL MA(VOL,5)/2;
    倍量柱:=V/REF(V,1) 1.89;
    DRAWTEXT(加仓,0.80*DWN,'加'),COLORYELLOW;
    DRAWTEXT(洗盘,0.80*DWN,'洗'),COLORWHITE;
    DRAWTEXT(减仓,0.80*DWN,'减'),COLORBLUE;
    DRAWTEXT(高抛,0.80*DWN,'抛'),COLORMAGENTA;
    DRAWTEXT(地量,0.80*DWN,'地'),COLORBROWN;
    DRAWTEXT(倍量柱 AND C O,1.06*UPR,'倍'),COLORYELLOW;
    主图如下:


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 强弱K线和看庄定势(综合千钧和红树林老师的公式) 加入收藏