最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 大智慧金箍棒副图指标

    正文概述    2024-04-13 00:07:44  

    源码

    {星期显示}
    yy1:=WEEKDAY;
    IF BARSTATUS=2 and (yy1=5) THEN BEGIN DRAWTEXTREL(10,950,'■星期五■'),LINETHICK2,Color0048EE;end;
    IF BARSTATUS=2 and (yy1=4) THEN BEGIN DRAWTEXTREL(10,950,'■星期四■'),LINETHICK2,Color3056FF;end;
    IF BARSTATUS=2 and (yy1=3) THEN BEGIN DRAWTEXTREL(10,950,'■星期三■'),LINETHICK2,Color7156FF;end;
    IF BARSTATUS=2 and (yy1=2) THEN BEGIN DRAWTEXTREL(10,950,'■星期二■'),LINETHICK2,Color936AFF;end;
    IF BARSTATUS=2 and (yy1=1) THEN BEGIN DRAWTEXTREL(10,950,'■星期一■'),LINETHICK2,ColorD4A3FF;end;
    IF BARSTATUS=2 and (yy1=6) THEN BEGIN DRAWTEXTREL(10,950,'■星期六■'),LINETHICK2,Color05FF00;end;
    IF BARSTATUS=2 and (yy1=0) THEN BEGIN DRAWTEXTREL(10,950,'■星期日■'),LINETHICK2,Color0000FF;end;

    ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE M1:=EMA(ABV,12);
    M2:=EMA(ABV,26);
    MTM:=CLOSE-REF(CLOSE,1);
    MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
    MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
    MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
    MMA:=C-REF(C,1);
    MMB:=100*EMA(EMA(MMA,9),9)/EMA(EMA(ABS(MMA),9),9);
    MMC:=MA(MMB,5);
    V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);
    V2:=REF(V1,1);
    V3:=MAX(V1-V2,0);
    V4:=ABS(V1-V2);
    V5:=SMA(V3,10,1);
    V6:=SMA(V4,10,1);
    V8:=COUNT(((V5)/(V6)<0.2),5);
    V9:=COUNT((LLV(V1,10)=V1),10);
    庄进:IF((MMS>REF(MMS,1) AND MMB>REF(MMB,1) AND CROSS(ABV,M2) AND ABV>REF(ABV,1) AND M1>REF(M1,1) AND M2>REF(M2,1)),65,0),colorwhite,POINTDOT;
    主进主轨:=ABV>M2 AND CROSS(ABV,M1) AND CROSS(MMB,MMC);STICKLINE(庄进 OR 主进主轨,65,0,4,1),colorwhite;
    精准买卖:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND MMS>MML AND CROSS(ABV,M2);
    短线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND CROSS(MMS,MML) AND ABV>REF(ABV,1);
    中线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND ABV>REF(ABV,1) AND MMS>MML AND CROSS(MMM,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);
    主进主买:=ABV>M2 AND MMB>MMC AND CROSS(MMS,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);
    短中精:=精准买卖 OR 短线买点 OR 中线买点 OR 主进主买;
    如意:IF(短中精,60,0),ColorFF00FF,POINTDOT;STICKLINE(如意,60,0,4,1),ColorFF00FF;
    庄增:IF(ABV>M2 AND MMS>MML AND CROSS(MMB,MMC) AND MMB>REF(MMB,1) AND MMC>REF(MMC,1),55,0),COLORFFCC66,POINTDOT; STICKLINE(庄增,55,0,4,1),COLORFFCC66;
    Var1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);
    Var2:=SMA(Var1,3,1);
    波:=SMA(Var2,3,1);
    段:=SMA(波,3,1);
    Var9:=CROSS(段,波) AND 波>80;
    AA:=LLV(LOW,36);
    BB:=HHV(HIGH,30);
    风险:80,Color00FF00;
    天险:89,ColorFF00FF;
    太空:100,COLORFFCC66;
    王:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
    散户:=EMA( (CLOSE-MA(CLOSE,8))/MA(CLOSE,8),7);
    金箍:IF(CROSS(散户,0),王,0),COLORYELLOW,POINTDOT;STICKLINE(金箍,40,0,4,1),COLORYELLOW;
    QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
    QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
    QVAR1C:=SMA(QVAR1B,13,8);
    QVAR1D:=SMA(QVAR1A,21,8);
    生意上门:=SMA(QVAR1C,13,8);
    AAS:=FILTER((COUNT((生意上门-QVAR1D<(-65)),3)=3),34);
    庄亏:IF(AAS,60,0),colorred,STICK,linethick4;
    买卖顺意:=MA((((-100))*(HHV(HIGH,34)-CLOSE))/(HHV(HIGH,34)-LLV(LOW,34))+100,5);
    走势:(生意上门+买卖顺意)/2,colorccffff;
    趋势:(王+波+段)/3,COLOR0099FF;
    STICKLINE(Var1>20 AND Var1<80,Var1,Var1,10,1),colorred;
    STICKLINE(Var1 STICKLINE(Var1>80,Var1,Var1,8,1),color0099ff;
    STICKLINE(Var1<20,Var1,Var1,8,1),coloryellow;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧金箍棒副图指标 加入收藏