最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 同花顺买卖方案主图指标公式

    正文概述    2024-04-14 18:00:26  

    买线:=zig(3,10);
    卖线:=MA(买线,2);
    BU:=crOSS(买线,卖线);
    SEL:=CROSS(卖线,买线);
    DRAWTEXT(bu,L*0.95,'←进场'),LINETHICK2,COLOR00FFFF;
    DRAWTEXT(sel,H*1.05,'←清仓'),linethick1,color00FF00;
    DRAWTEXT("X09A.T">0,L*0.99,'B'),linethick1,colorFFffff;
    DRAWTEXT("X09A.T1">0,L*0.99,'B'),linethick1,color0000ff;
    STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),color00AAFF;
    STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,3,0),color00DD00;
    DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND
    (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.99,1);
    DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2)) AND
    (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),H,2);
    VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND
    (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
    VARD:=(ZIG(3,5)=REF(ZIG(3,5),2)) AND
    (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));
    V10:=PEAKBARS(3,15,1)<10;
    V12:=IF(V10=1,50,0);
    头部:= IF(V12=50,100,0);
    DRAWTEXT(IF(头部>REF(头部,1),H,0),H*1.02,'←减仓 '),Color007FFF,LINETHICK1;
    V9:=TROUGHBARS(3,15,1)<10;
    V11:=IF(V9=1,50,0);
    DRAWTEXT(IF( IF(V11=50,50,0)>REF(IF(V11=50,50,0),1),L,0),L*0.95,'↖抄底 '),colormagenta;
    VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
    VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
    ((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
    VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
    ((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
    VAR11:=VARFREF(VOL,1) AND CLOSE>REF(CLOSE,1);
    DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,L*0.99,'←短线进'),LINETHICK1,colorlimagenta;
    Var12:=(HIGH+LOW+CLOSE)/3;
    Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));
    Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));
    Var15:=IF(Var13>=150 AND Var13<200 AND Var14>=150 AND Var14<200,10,0);
    Var16:=IF(Var13<=-150 AND Var13>-200 AND Var14<=-150 AND Var14>-200,-10,Var15);
    Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
    Var18:=100-Abs(Var17);
    Var19:=IF(Var18<90,Var18,100);
    Var1A:=IF(VarE>0,VarE,0);
    Var1B:=IF(Var14>=200 AND Var13>=150,15,IF(Var14<=-200 AND Var13<=-150,-15,Var16))+60;
    Var1C:=Var1A>48 AND Var1B>60 AND Var19<100;
    DRAWTEXT(Var1C AND COUNT(Var1C,30)=1,H*1,'←短线出'),linethick1,Color0000FF;
    VARE:=REF(LOW,1)*0.9;
    VARF:=LOW*0.9;
    VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
    VAR11:=EMA(VAR10,30);
    VAR12:=CLOSE-REF(CLOSE,1);
    VAR13:=MAX(VAR12,0);
    VAR14:=ABS(VAR12);
    VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
    VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
    VAR17:=BARSCOUNT(CLOSE);
    VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
    VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
    VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
    VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
    VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
    VAR1D:=SMA(VAR1C,4,1);
    VAR1E:=SMA(VAR1D,3,1);
    VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
    VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
    VAR21:=(HIGH+LOW+CLOSE)/3;
    VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
    VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));
    VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);
    VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);
    DRAWTEXT(VAR20 AND COUNT(VAR20,1)=1,H*0.99,'') , colormagenta;
    DRAWTEXT(VAR24 AND COUNT(VAR24,1)=1,L*1.1,'') , color00FF00;
    A:=EMA(C,14),colorwhite,LINETHICK1;
    B:=(A-REF(A,1))/REF(A,1)*100,NODRAW;
    阻力:IF(B>=0,REF(EMA(C,14),BArslAST(CROSS(B,0))+1),DRAWNULL),colorblue,LINETHICK2;
    支撑:IF(B<0,REF(EMA(C,14),BARSLAST(CROSS(0,B))+1),DRAWNULL),colorgreen,LINETHICK2;
    生命线:MA(CLOSE,22),LINETHICK2,colorred;
    A:=(3*C+L+O+H)/6;
    X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
    14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
    +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
    REF(A,20))/210;
    S2:=SMA(C,3,1);
    S6:=SMA(C,5,1);
    DK:=2*(S2-S6);
    主力成本:EMA(X,13),COLORFF00FF,LINETHICK0;
    A1:=REF(C,10)=HHV(C,2*10+1);
    B1:=FILTER(A1,10);
    C1:=BacKSET(B1,10+1);
    HD:=FILTER(C1,10);
    前期高位:REF(C,BARSLAST(HD)),coloryellow,POINTDOT;
    STICKLINE(C,前期高位,前期高位,8,0),POINTDOT;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺买卖方案主图指标公式 加入收藏