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

    正文概述    2024-05-04 04:41:27  

    以下是同花顺超准公式源码


    同花顺超准买卖公式源码:

       DRAWGBK(C,STRIP(RGB(80,90,0),RGB(0,90,0),0));

       CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

       YJD:(EMA(CS,3)-50)*2;

       买入点:IF(yjd -80,35,0),LINETHICK2,colorwhite;

       极弱:-80,colorff00ff;

       强势:60,color00ff00;

       风险:80,color00ffff;

       弱势:-60,COLORFFFF00;

       YJD,LINETHICK1,COLORSTICK;

       YJD1,colorwhite;

       STICKLINE(YJD REF(YJD,1)ANDYJD 0,0,YJD,4,0),COLOR00AAFF;

       STICKLINE(YJD REF(YJD,1)ANDYJD 0,0,YJD,4.4,0),COLOR00CCFF;

       STICKLINE(YJD =REF(YJD,1)ANDYJD 0,0,YJD,4,0),COLOR0000AA;

       STICKLINE(YJD =REF(YJD,1)ANDYJD 0,0,YJD,4.4,0),COLOr0022CC;

       STICKLINE(YJD REF(YJD,1)ANDYJD 0,0,YJD,4,0),COLORAA00BB;

       STICKLINE(YJD REF(YJD,1)ANDYJD 0,0,YJD,4.4,0),COLORCC22BB;

       STICKLINE(YJD =REF(YJD,1)ANDYJD 0,0,YJD,4,0),COLORFF7700;

       STICKLINE(YJD =REF(YJD,1)ANDYJD 0,0,YJD,4.4,0),COLORFFAA22;

       VAR18:=(HIGH+LOW+CLOSE)/3;

       VAR19:=(VAR18-MA(VAR18,14))/(0.015*AVEDEV(VAR18,14));

       VAR1A:=(VAR18-MA(VAR18,70))/(0.015*AVEDEV(VAR18,70));

       VAR1B:=IF(VAR19 =150ANDVAR19 200ANDVAR1A =150ANDVAR1A 200,-10,0);

       VAR1C:=IF(VAR19 =-150ANDVAR19 -200ANDVAR1A =-150ANDVAR1A -200,10,0);

       VAR1D:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

       VAR1E:=100-ABS(VAR1D);

       卖出:IF(BARSCOUNT(CLOSE) 70,80,IF(VAR1A =200ANDVAR19 =150,-15,VAR1B)+80),LINETHICK2,colorgreen;

       买入:IF(BARSCOUNT(CLOSE) 70,-80,IF(VAR1A =-200ANDVAR19 =-150,15,VAR1C)-80),coloryellow,LINETHICK2;

       LOWV:=LLV(LOW,N);

       HIGHV:=HHV(HIGH,N);

       RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);

       K:EMA(RSV,M);

       D:MA(K,M);

       V10:=PEAKBARS(3,15,1) V12:=IF(V10=1,50,0);

       头部:=IF(V12=50,100,0);

       卖:IF(头部 REF(头部,1),90,0),colorgreen,LINETHICK2;DRAWTEXT(卖,90,'卖'),coloryellow;

       V9:=TROUGHBARS(3,15,1) V11:=IF(V9=1,50,0);

       底部:=IF(V11=50,50,0);

       买:IF(底部 REF(底部,1),50,0),colorred,LINETHICK2;DRAWTEXT(买,50,'买'),coloryellow;

       VAR8:=VOL 2*MA(VOL,30);

       VARB:=CLOSE MA(CLOSE,30)ANDCLOSE MA(CLOSE,30)*1.04;

       VARC:=MA(CLOSE,30) REF(MA(CLOSE,30),1);

       VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))) BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));

       VARE:=0-"MACD.DIFF"(7,21,3);

       VARF:=TROUGHBARS(3,15,1)

       VAR10:=EMA(CLOSE,30) REF(EMA(CLOSE,30),2);

       VAR11:=IF(VARF=1,50,0);

       DRAWTEXT(FILTER(VARF=1,3),45,'▲买1'),colorred;

       VAR2:=REF(LOW,1);

       VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;

       VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);

       VAR5:=LLV(LOW,30);

       VAR6:=HHV(VAR4,30);

       VAR7:=IF(MA(CLOSE,58),1,0);

       VAR8:=EMA(IF(LOW =VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;

       VAR9:=IF(VAR8 100,100,VAR8);

       VAR3:=PEAKBARS(3,15,1)

       VAR5:=IF(VAR3=1,2,0);

       顶:=IF(VAR5=2,2,0);

       顶A:=IF(顶 REF(顶,1),50,0),colorgreen;

       DRAWTEXT(顶A=50,85,'▼卖1'),COLOR00FF00;

       顶线:90,colorgreen,Linethick2;

       :50,colorred;

       底线:10,colorwhite;

       VAR10:=IF(TROUGHBARS(3,16,1)=0ANDHIGH LOW+0.04,4,0);

       VAR11:=ZIG(3,6) REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1) =REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2) =REF(ZIG(3,6),3);

       VAR12:=ZIG(3,6) REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1) =REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2) =REF(ZIG(3,6),3);

       VAR13:=ZIG(3,22) REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1) =REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2) =REF(ZIG(3,22),3);

       VAR14:=ZIG(3,22) REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1) =REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2) =REF(ZIG(3,22),3);

       VAR15:=ZIG(3,51) REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1) =REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2) =REF(ZIG(3,51),3);

       VAR16:=ZIG(3,51) REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1) =REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2) =REF(ZIG(3,51),3);

       VAR17:=ZIG(3,72) REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1) =REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2) =REF(ZIG(3,72),3);

       VAR18:=ZIG(3,72) REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1) =REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2) =REF(ZIG(3,72),3);

       VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);

       VAR1A:=EMA(VAR19,100);

       VAR1B:=2*(VAR19-VAR1A);

       VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);

       买点:VAR10,coloryellow;

       DRAWTEXT(VAR13,6.6,'买'),colorred;

       DRAWICON(选股买点 0,4.2,1);

       DRAWTEXT(VAR17,1.3,'发现'),COLORFF6600;

       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),1))AND(REF(ZIG(3,5),1) =REF(ZIG(3,5),2))AND(REF(ZIG

       (3,5),2) =REF(ZIG(3,5),3));

       DRAWTEXT((VARC=1),(4),'*买2'),Color0000FF;

       DRAWTEXT((VARD=1),80,'*卖2'),Color00FF00;

       v0:=VOL*(O+C+H+L)/4;

       A:EMA(v0,21)/EMA(VOL,21),coloryellow,linethick2;

       stickline(A =ref(A,1),A,ref(A,1),6,1),linethick3,coloryellow;

       stickline(A ref(A,1),A,ref(A,1),6,1),linethick3,colorff0099;

       B:6*HHV(A,2)-5*A;

       D:2*A-B;

       STICKLINE(CLOSE A,OPEN,CLOSE,6,1),colorred;

       STICKLINE(CLOSE=A,OPEN,CLOSE,6,1),colorred;

       STICKLINE(CLOSE A,LOW,OPEN,0.8,1),colorred;

       STICKLINE(CLOSE=A,LOW,OPEN,0.8,1),colorred;

       STICKLINE(CLOSE A,CLOSE,HIGH,0.8,1),colorred;

       STICKLINE(CLOSE=A,CLOSE,HIGH,0.8,1),colorred;

       {超短买卖}

       var1:=CLOSE REF(CLOSE,1)ANDCLOSE REF(CLOSE,2);

       Var2:=REF(Var1,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var3:=REF(Var2,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var4:=REF(Var3,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var5:=REF(Var4,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var6:=REF(Var5,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var7:=REF(Var6,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var8:=REF(Var7,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var9:=REF(Var8,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       VarA:=REF(Var9,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       VarB:=REF(VarA,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       VarC:=REF(VarB,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       VarD:=CLOSE REF(CLOSE,1)ANDCLOSE REF(CLOSE,2);

       VarE:=REF(VarD,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       VarF:=REF(VarE,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var10:=REF(VarF,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var11:=REF(Var10,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var12:=REF(Var11,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var13:=REF(Var12,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var14:=REF(Var13,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var15:=REF(Var14,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var16:=REF(Var15,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var17:=REF(Var16,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var18:=REF(Var17,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       Var19:=REF(VarDORVarEORVarFORVar10ORVar11ORVar12ORVar13OR

       Var14ORVar15ORVar16ORVar17ORVar18,1)ANDVar1;

       drawtext(Var19,l,'B'),colorwhite;

       Var1A:=REF(Var1ORVar2ORVar3ORVar4ORVar5ORVar6ORVar7OR

       Var8ORVar9ORVarAORVarBORVarC,1)ANDVarD;

       drawtext(Var1A,h*1.02,'S'),coloryellow;




    同花顺超准买卖公式截图

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