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

    正文概述    2024-05-04 04:18:54  

       image.png


       同花顺公式指标

    公式解读:

    image.png



       同花顺公式指标大全


        19.{短线MACD}

        VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);

        VAR2:=EMA(VAR1,50);

        VAR3:=2*(VAR1-VAR2);

        STICKLINE(VAR3 REF(VAR3,1) NBSP;AND NBSP;VAR3 0,0,VAR3,4,1),coloryellow;

        STICKLINE(VAR3 =REF(VAR3,1)ANDVAR3 0,0,VAR3,4,1),colorred;

        STICKLINE(VAR3 REF(VAR3,1)ANDVAR3 0,0,VAR3,4,1),COLORFFC8FF;

        STICKLINE(VAR3 =REF(VAR3,1)ANDVAR3 0,0,VAR3,4,1),COLORFFCC66;

        趋势一:EMA(CLOSE,12)-EMA(CLOSE,26),colorred;

        趋势二:EMA(VAR1,50),colorgreen;

        20.选马趋势------

        个股:EMA(100*(C-LLV(LOW,36))/(HHV(H,36)-LLV(LOW,36)),3),colorred;

        DRAWTEXT(个股 85,95, *

        大盘:EMA(100*(INDEXC-LLV(INDEXL,36))/(HHV(INDEXH,36)-LLV(INDEXL,36)),3),colorblue;

        STICKLINE(个股 =大盘,个股,大盘,1,0),colorred;

        STICKLINE(个股 大盘,个股,大盘,1,0),colorblue;

        出现:IF(CROSS(个股,9),35,0),STICK,linethick3,color00ff00;

        DRAWTEXT(CROSS(个股,9),30, -马 ),color00ff00;

        21.买卖提示---------

        VARb:=LLV(LOW,27);

        VARc:=HHV(HIGH,34);

        VARd:EMA((CLOSE-VARb)/(VARc-VARb)*4,4)*25,colorred;

        建仓:IF((VARd 12),25,0),colorgreen;

        Va:=REF(CLOSE,1);

        Vb:=((SMA(MAX((CLOSE-Va),0),6,1)/SMA(ABS((CLOSE-Va)),6,1))*100);

        卖出:IF(CROSS(80,Vb),60,0),colorcyan,linethick2;

        DRAWTEXT(CROSS(80,Vb),40, =出 ),coloryellow;

        22.建仓区域------

        VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA

        (SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

        VAR2:=EMA(VAR1,8);

        VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA

        (SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

        趋势:EMA(VAR3,3)-10,COLORFF0000;

        A1:IF(趋势 76,趋势,80),coloryellow;

        DRAWICON(CROSS(趋势,0),0,1);

        建仓:=0,COLORFFFF00;

        VAR4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;

        STICKLINE(趋势 =4,0,20,5,0),COLORCC9900;

        DRAWTEXT(FILTER(趋势 =4,15),30, 建仓区 ),colorwhite;

        STICKLINE(趋势 =90ANDVAR4,0,30,5,0),colorgray;

        VAR5:=MA(趋势,8);

        A2:IF(CROSS(VAR2,VAR5)ANDVAR2 15,10,0),colorred;

        23.趋势-------

        Va1:=(2*CLOSE+HIGH+LOW)/4;

        Va2:=LLV(LOW,34);

        VarB:=HHV(HIGH,34);

        VarC:=EMA((Va1-Va2)/(VarB-Va2)*100,13);

        VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2);

        生命:EMA(VarD,5),colorcyan;

        VAR1:=((2)*(CLOSE)+HIGH+LOW)/(4);

        VAR2:=LLV(LOW,34);

        VAR3:=HHV(HIGH,34);

        b1:=EMA(((VAR1-VAR2)/(VAR3-VAR2))*(100),8);

        b2:=EMA(b1,5);

        STICKLINE(b1-b2 0,b1,b2,4,0),colorred;

        STICKLINE(b1-b2 0,b1,b2,4,0),colorgreen;

        24..强弱分界----------

        Var1:=(HIGH+3*LOW+CLOSE)/5;

        Var2:=EMA(Var1,13)-EMA(Var1,34);

        Var3:=EMA(Var2,5);

        Var4:=(Var2-Var3)*5;

        Var5:=IF(Var4 =1000,1000,IF(Var4 =Var1,Var1,Var4));

        Var6:=FORCAST(FORCAST(Var5,60),5,);

        上涨:IF(Var5 Var6,Var5,Var6),colorred;

        下跌:IF(Var5 VAR6,VAR5,VAR6),COLORCYAN;

        分界:FORCAST(FORCAST(VAR5,60),5),colormagenta,LINETHICK2;

        25.出入平安--------

        出:ZIG(3,10) REF(ZIG(3,10),1) NBSP;AND NBSP;REF(ZIG(3,10),1) REF(ZIG(3,10),2),colorcyan;

        入:ZIG(3,10) REF(ZIG(3,10),1)ANDREF(ZIG(3,10),1) REF(ZIG(3,10),2),COLORRED;

        带有未来函数

        26.精MACD-----

        VAR1:=EMA(CLOSE,9)-EMA(CLOSE,29);

        VAR2:=EMA(VAR1,5);

        VAR3:=2*(VAR1-VAR2);

        STICKLINE(VAR3 REF(VAR3,1) NBSP;AND NBSP;VAR3 0,0,VAR3,4,1),colorgreen;

        STICKLINE(VAR3 =REF(VAR3,1)ANDVAR3 0,0,VAR3,4,1),colorred;

        STICKLINE(VAR3 REF(VAR3,1)ANDVAR3 0,0,VAR3,4,1),COLORFFC8FF;

        STICKLINE(VAR3 =REF(VAR3,1)ANDVAR3 0,0,VAR3,4,1),COLORFFCC66;

        低位红线上穿黄线买入:EMA(CLOSE,9)-EMA(CLOSE,29),colorred;

        高位红线下穿黄线买出:EMA(VAR1,5),coloryellow;

        27.安全通道------

        Var2:=LLV(LOW,33);

        Var3:=HHV(HIGH,21);

        Var4:=EMA((CLOSE-Var2)/(Var3-Var2)*100,20)*0.998;

        通道:27,colorred;

        短线:=EMA(0.667*REF(Var4,1)+0.333*Var4,1);

        STICKLINE(短线 =REF(短线,1),短线+0.5,短线-1,6,0),colorred,linethick3;

        STICKLINE(短线 REF(短线,1),短线+0.5,短线-1,6,0),COLORWHITE,LINETHICK2;

        VARa:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA

        (SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

        趋势:=EMA(VARa,3)-10;

        A1:IF(趋势 75,趋势,80),coloryellow;

        28.出击-------------

        VARa:=(2*CLOSE+HIGH+LOW)/4;

        VARb:=LLV(LOW,34);

        VARc:=HHV(HIGH,34);

        VARd:=EMA((VARa-VARb)/(VARc-VARb)*100,13);

        VARe:=EMA(0.667*REF(VARd,1)+0.333*VARd,2);

        STICKLINE(VARd-VARe 0,VARd,VARe,8,0),colorred;

        STICKLINE(VARd-VARe 0,VARd,VARe,8,0),COLOR00FF0F;

        生命:EMA(VARe,5),colorgray;

        出击:IF(CROSS(VARd,VARe)ANDVARd VAReANDVARd 18,20,0),STICK,colorred;

        DRAWICON(出击 0,5,1);

        卖

        出:IF(CROSS(VARe,VARd)ANDVARd VARE NBSP;AND NBSP;VARD 60,VARe,88),POINTDOT,colorwhite

        ;

        STICKLINE((CROSS(VARe,VARd)ANDVARd VARE NBSP;AND NBSP;VARD 60),VARe,88,2,1),colorblue;

        DRAWICON(卖出 88,卖出,4);

        逃顶:90;

        29.彩色成交量

        量:IF(C 200,VOL/1000000,VOL/100);

        亿:MONEY/100000000;

        :VOL/CAPITAL*100;

        振幅:((H-L)/L)*100;

        流通:CAPITAL/1000000;

        业绩:MGSY(33);

        净资产;MGJZC;

        var1:=HIGH-LOW;

        var2:=ABS(OPEN-CLOSE);

        var3:=HIGH-IF(CLOSE OPEN,CLOSE,O);

        var4:=IF(CLOSE OPEN,O,CLOSE)-LOW;

        var5:=(var2/var1)*VOL;

        var6:=(var3/var1)*VOL;

        var7:=(var4/var1)*VOL;

        var8:=IF(VOL/CAPITAL 0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100))));

        var9:=(C-MA(C,5))/MA(C,5)*100;

        var10:=MA(C,5) MA(C,10)ANDMA(C,10) MA(C,30)ANDMA(C,30) MA(C,60);

        var11:=MA(C,5) MA(C,10) NBSP;AND NBSP;MA(C,10) MA(C,30) NBSP;;

        var12:=100*(1-WINNER(C));

        var13:=100*WINNER(C);

        多头:STICKLINE(C MA(C,30),0,VOL,8,1),colorred;

        空头:STICKLINE(C MA(C,30),0,VOL,8,1),COLORGREEN;

        上攻:STICKLINE(var5 =var6ANDvar5 =var7ANDC O,0,var5,8,0),colorred;

        下攻:STICKLINE(var5 =var6ANDvar5 =var7ANDC O,0,VAR5,8,0),COLORGREEN;

        上探:STICKLINE(var6 VAR5ANDvar6 var7,0,var6,8,0),colorcyan;

        下探:STICKLINE(var7 var5ANDvar7 var6,0,var7,8,0),colorff6600;

        相对地量:=STICKLINE(var8 2ANDVOL

        DRAWTEXT(var8 2ANDV

        放量:STICKLINE(VOL MA(VOL,5)*1.5,VOL,VOL+VOL*0.03,8,0),colorwhite;

        V1:=H-L;

        V2:=ABS(O-C);

        V3:=H-IF(C O,C,O);

        V4:=IF(C O,O,C)-L;

        V5:=V2/V1*V;

        V6:=V3/V1*V;

        V7:=V4/V1*V;

        M5:=MA(V,5),colorwhite;

        M10:=MA(V,10),coloryellow;

        V8:=IF(V/CAPITAL 0.001,1,EXP(ABS(LOG(V/CAPITAL*100))));

        M5,colorwhite;

        M10,coloryellow;

        金指:EMA(IF(L =LLV(L,30),1,0),3)*2*V,colorwhite,Linethick2;

        RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;

        K1:=SMA(RSV1,3,1);

        D1:=SMA(K1,3,1);

        J1:=3*K1-2*D1;

        RSV:=(C-LLV(L,26))/(HHV(H,26)-LLV(L,26))*100;

        K:=SMA(RSV,6,1);

        D:=SMA(K,3,1);

        J:=3*K-2*D;

        LC:=REF(C,1);

        XA:=IF(CROSS(J1,J)ANDJ 20,-1,0)+IF(CROSS(J,J1)ANDJ 80,1,0);

        TYP:=(H+L+C)/3;

        CCJ:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))/2;

        RSI1:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100;

        K2:=EMA((C-LLV(L,36))/(HHV(H,36)-LLV(L,36))*100,9);

        XB:=IF(CCJ 100ANDK2 50ANDC O,0.5,0)+IF(RSI1 80ANDK2 50ANDC O,0.5,0);

        RSV3:=(C-LLV(L,100))/(HHV(H,100)-LLV(L,100))*100;

        K13:=SMA(RSV3,21,1);

        D13:=SMA(K1,3,1);

        J13:=3*K13-2*D13;

        XC:=IF(J13 80ANDRSI1 85,0.5,0);

        警戒:V*(XA+XB+XC 0),Color009000,linethick2;

        DRAWICON(CROSS(M5,M10),100,1);

        DRAWICON(CROSS(M10,M5),100,2);

        DRAWICON(CROSS(4000,金指),100,4);

        DRAWICON(CROSS(M5,警戒),100,5);

        DRAWTEXT(V7 V5ANDV7 V6ANDC MA(C,30) NBSP;AND NBSP;V7 MA(V,10),VOL*2,?逢低跟

        进?),colormagenta;

        DRAWTEXT(FILTER(V5 MA(V,5)*2ANDV5 =V6ANDV5 =V7ANDC OORV MA(VOL,5)*3,2),1.2*V

        , 强势参与 ),colorred;

        DRAWTEXT(V5 =V6ANDV5 =V7ANDC O NBSP;AND NBSP;V5

        VOL 0.7ANDV5 MA(V,5),HHV(V,5), 空头释放 ),colorwhite;

        DRAWTEXT(V6 V5ANDV6 V7ANDC MA(C,5)ANDC MA(C,34)ANDH MA(C,55)ANDV M5ANDV

        6 MA(V,5),V, 逢高出货 ),colorgreen;

        //drawtext(var6 var5andvar6 var7andc ma(c,5)andc ma(c,30)andh ma(c,60)andv ma(v,5)

        andvar6 =ma(v,5),vol, 逢高出货 ),colorred;{逢高出货}

        30.智能黄金线主图

        mms:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),

        5,1)*100,1)+50;

        g1:=IF(-mms 95,0,20);

        uoo:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100) 0ANDg1)+1);

        {明日:=REF(C,2)*2-REF(C,5),LINETHICK0,color550055;

        后日均线:=REF(C,1)*2-REF(C,4),LINETHICK0,color008800;

        大后天均线:=C*2-REF(C,3),LINETHICK0,color008888;}

        KS:=(((CLOSE-EMA(CLOSE,13))/EMA(CLOSE,13))*(0-100));

        KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);

        趋势线:=EMA(((KS/10)+EMA(CLOSE,10)),3);

        AA:=-100*(趋势线-CLOSE)/趋势线;

        AC:=(EMA(AA,5));

        SSL:=EMA(CLOSE,3);

        MMV:=EMA(((SLOPE(CLOSE,22)*20)+CLOSE),55);

        MM:=MMV;

        STICKLINE(((SSL MM)),SSL,MM,0.1,0),colorred;

        SA:=(MM*0.985);

        SS:=(MA(CLOSE,5));

        DD:=(MA(CLOSE,13));

        GG:=(MA(CLOSE,21));

        捞钱手:IF(((SSL MM)),MM,SA),LINETHICK2,colorwhite;

        VAR2Y:=(((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))*100);

        VAR3Y:=(((CLOSE-REF(OPEN,29))/REF(OPEN,29))*100);

        VAR4Y:=REF(CLOSE,1);

        VAR5Y:=((SMA(MAX((CLOSE-VAR4Y),0),6,1)/SMA(ABS((CLOSE-VAR4Y)),6,1))*100);

        VAR6Y:=((SMA(MAX((CLOSE-VAR4Y),0),12,1)/SMA(ABS((CLOSE-VAR4Y)),12,1))*100);

        VAR7Y:=((SMA(MAX((CLOSE-VAR4Y),0),24,1)/SMA(ABS((CLOSE-VAR4Y)),24,1))*100);

        VAR8Y:=(((CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45)))*100);

        VAR9Y:=SMA(VAR8Y,3,1);

        VARAY:=SMA(VAR9Y,3,1);

        VARBY:=((3*VAR9Y)-(2*VARAY));

        VARCY:=(CROSS(VAR5Y,10)AND(VAR3Y (0-(28*20))));

        VARDY:=((100-CROSS(76,VAR5Y))AND(VAR3Y (5*20)));

        DRAWICON(((CROSS(76,VAR5Y)AND(VAR3Y 5))),(HIGH*1.01),5),colorFFFFFF;

        VAREY:=((((CROSS(VAR9Y,VARAY)AND(VARAY 10))AND(VAR3Y (0-30)))AND(VAR2Y 3))*3

        0);

        VARFY:=-((((VARAY 11)AND(VAR5Y 15))AND(VAR3Y (0-26)))*10);

        DRAWICON((CROSS(VARFY,(0-9))),(LOW*0.998),4);

        能量线:=DMA(((CLOSE+OPEN)/2),(VOL/(SMA(VOL,4,1)*4)));

        上开:=O;

        上收:=C;

        上高:=H;

        上低:=L;

        JJ:=(上开+上高+上低)/3;

        A:=EMA(JJ,4);

        B:REF(A,1),POINTDOT,coloryellow;

        智能黄金线:A,coloryellow,LINETHICK1;

        STICKLINE(((SSL MM)),捞钱手,智能黄金线,0.1,0),COLOrffbbff;

        VA1:=EMA(上收,8);

        VA2:=EMA(上收,20);

        DRAWTEXT(CROSS(VA2,VA1),VA1*1.10, 止损 ),coloryellow;

        DRAWTEXT(CROSS(VA1,VA2)AND(C =O)AND智能黄金线 REF(智能黄金线,1),VA1*0.98, ★买入

        ),COLOR00FF00;

        选手A:=MA(上收,3);

        箱顶A:=MA(REF(HHV(上收,6),1),3);

        箱底A:=MA(REF(LLV(上收,3),1),3);

        t1:=MA(上收,20) =REF(MA(上收,20),1);

        t2:=CROSS(选手A,箱底A)AND箱顶A/箱底A 100/100ANDt1;

        t3:=CROSS(箱顶A,选手A)AND箱顶A/箱底A 100/100;

        选手:=MA(上收,2);

        箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;

        箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;

        t4:=CROSS(选手,箱底)AND箱顶/箱底 110/100;

        t5:=CROSS(箱顶,选手)AND箱顶/箱底 110/100;

        Var1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;

        Var2:=SMA(Var1,3,1);

        Var3:=SMA(Var2,3,1);

        Var4:=SMA(Var3,3,1);

        DRAWTEXT(CROSS(Var3,Var4)AND(C =O)ANDVar3 40ANDuoo 0,箱底, ★ ),COLORf00ff0;

        DRAWTEXT(CROSS(Var4,Var3)ANDVar4 75,箱顶*1.03, ★减磅 ),COLORf0f000;

        STICKLINE(C =O,C,O,7,0),colorred;

        STICKLINE(C =O,C,O,4,0),COLORB0B0FF;

        STICKLINE(C =O,C,O,2,0),coloryellow;

        STICKLINE(C =O,H,L,0,0),coloryellow;

        STICKLINE(C =O,C,O,7,0),colorFFAA00;

        STICKLINE(C =O,C,O,4,0),COLORffbbff;

        STICKLINE(C =O,C,O,2,0),COLORffbbff;

        STICKLINE(C =O,H,L,0,0),COLORffbbff;

        hs:=VOL/CAPITAL*100;

        hsl:=hs;

        STICKLINE(C OPEN,C,O,hsl,1),colorred;

        STICKLINE(C OPEN,C,O,HSL NBSP;,1),COLORWHITE;

        STICKLINE(C=OPENANDC REF(C,1),C,O,hsl,1),colorred;

        STICKLINE(C=OPENANDC REF(C,1),C,O,HSL NBSP;,1),COLORWHITE;

        STICKLINE(C O,H,L,0.1,0),colorred;

        STICKLINE(C O,H,L,0.1,0),COLORGREEN;

        Qc0:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(

        LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

        STICKLINE(Qc0 =91AND(CLOSE-LLV(CLOSE,5))/(HHV(CLOSE,5)-LLV(CLOSE,5))*100 99.9,OPEN,CLO

        SE,3,0),COLOR3366FF;

        STICKLINE(Qc0 =91AND(CLOSE-LLV(CLOSE,5))/(HHV(CLOSE,5)-LLV(CLOSE,5))*100 99.9,H,L,0.5,0),

        COLOR3366FF;

        SQ1:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;

        SQ2:=SMA(MAX(C-REF(C,1),0),7,1)/SMA(ABS(C-REF(C,1)),7,1)*100;

        CM1:=IF(SQ1 12,30,0);

        CM2:=IF(SQ2 12,30,0);

        mms1:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)

        ),5,1)*100,1)+50;

        Zb1:=(CLOSE-LLV(CLOSE,10))/(HHV(CLOSE,10)-LLV(CLOSE,10))*100;

        www:=Zb1

        w:=IF(WWW,-20,0);

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

        A02:=EMA(IF(CLOSE*1.3,A01*10,A01/10),3);

        A03:=LLV(LOW,30);

        A04:=HHV(A02,30);

        A05:=EMA(IF((LOW =A03),(A02+A04*2)/2,0),3)/6180*2.5;

        A06:=IF((A05 15),15,A05);

        Kx:=IF(A06 =1.7,-20,0);

        Zy:=MA(((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+2*(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100+3*(

        CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100)/6,3);

        Zy1:=IF(Zy -6,-20,0);

        KS11:=(((CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1))*(0-100));

        RKS:=REF(KS11,1);

        MLS:=((((RKS/KS11) 1.23)AND(RKS 13))AND((CLOSE/REF(CLOSE,1)) 1.03));

        STICKLINE(CM1ANDIF(KxANDwANDZy1,-16,10) 0,L,L*0.998,7,0),Color0089FF;

        STICKLINE(IF(KxANDwANDZy1,-16,10) 0ANDCM1,L*0.998,L*0.996,7,0),colorgreen;

        STICKLINE(CM1ANDIF(KxANDwANDZy1,-16,10) 0AND(KS 13),L*0.996,L*0.994,7,0),coloryellow;

        STICKLINE((MLS=1),L,L*0.998,7,0),ColorFFFF00;

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

        VarD:=CLOSE REF(CLOSE,1) NBSP;AND NBSP;CLOSE 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(VarDORVarEORVarFORVar10ORVar11ORVar12ORVar13ORVar14ORVar15ORVar

        16ORVar17ORVar18,1)ANDVar1;

        趋势线1:=FORCAST(CLOSE,7);

        Fk:=100*(C-REF(C,1))/REF(C,1);

        pk1:=IF(C REF(O,1) NBSP;AND NBSP;FK 0,1,0);

        pk2:=IF(C REF(O,2) NBSP;AND NBSP;FK 0,1,0);

        STICKLINE((Pk1=0ANDREF(Pk1,1)=1ANDPk2=0ANDREF(Pk2,1)=1)AND(趋势线1 REF(趋势线

        1,1)OR智能黄金线 REF(智能黄金线,1)),OPEN,CLOSE,3,0),colorred;

        STICKLINE((Pk1=0ANDREF(Pk1,1)=1ANDPk2=0ANDREF(Pk2,1)=1)AND(趋势线1 REF(趋势线

        1,1)OR智能黄金线 REF(智能黄金线,1)),H,L,0.5,0),colorred;

        pk3:=(((CLOSE/OPEN) 1.04)AND(CLOSE (SMA(HIGH,21,2)*1.05)))AND((CLOSE-REF(CLOSE,1

        ))

        STICKLINE(pk3AND(趋势线1 REF(趋势线1,1)OR智能黄金线 REF(智能黄金

        线,1)),CLOSE,OPEN,3,0),colorred;

        STICKLINE(pk3AND(趋势线1 REF(趋势线1,1)OR智能黄金线 REF(智能黄金线,1)),H,L,0.5,0),colorred;

        STICKLINE(Var19AND(趋势线 REF(趋势线1,1)OR智能黄金线 REF(智能黄金

        线,1)),CLOSE,OPEN,3,0),colorred;

        STICKLINE(Var19AND(趋势线 REF(趋势线1,1)OR智能黄金线 REF(智能黄金线,1)),H,L,0.5,0),colorred;

        买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;

        买进条件:=CROSS(C,买进价)AND买进价 REF(买进价,1);

        STICKLINE(买进条件AND捞钱手 智能黄金线AND智能黄金线 REF(智能黄金线,1),L,L*0.998,7,0),colorwhite;

        买线:=EMA(C,2);

        卖线:=EMA(SLOPE(C,21)*20+C,42);

        DRAWTEXT(CROSS(买线,卖线)AND箱顶 =REF(箱顶,1),箱底, ★ ),color00ffff;

        STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),color00ffff;

        STICKLINE(CROSS(买线,卖线),H,L,0.5,0),color00ffff;

        31.买卖点指标公式

        var1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);

        var2:=HIGH-REF(HIGH,1);

        var3:=REF(LOW,1)-LOW;

        var4:=SUM(IF(var2 0ANDvar2 var3,var2,0),25);

        var5:=SUM(IF(var3 0ANDvar3 var2,var3,0),25);

        var6:=var4*100/var1;

        var7:=var5*100/var1;

        var8:=MA(ABS(var7-var6)/(var7+var6)*100,15);

        var9:=(var8+REF(var8,15))/2;

        A:=(var7 var6ANDvar7 25ANDvar6

        B:ZIG(3,50/5)*100,colorwhite;

        g:MA(B,2),coloryellow;

        D:=CROSS(B,g)*1000,colorred;

        W:=cross(g,B)*1000,colorblue;

        E:=REF(INDEXC,1);

        F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);

        var10:=FANDF

        var11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

        var12:=SMA(var11,3,1);

        var13:=SMA(var12,3,1);

        var14:=var13ANDvar13

        mm:=AANDDANDvar10ANDvar14;

        DRAWTEXT(W=1000,b*1.05, 卖 ),COLOR00ff00;

        DRAWTEXT(D=1000,b*1.05, 买 ),COLORred;

        32.买入点

        q2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;

        q3:=SMA(q2,9,1);

        q4:=SMA(q3,3,1);

        长趋势:3*q3-2*q4,colorwhite,linethick3;

        趋势线:EMA(q3,3),colorred,linethick3;

        DRAWTEXT(CROSS(趋势线,长趋势)ANDREF(长趋势,1) 80,REF(长趋势,3), ▼逢高派发

        ),Color00ff00,linethick5;

        ▲逢低买入:DRAWTEXT(REF(CROSS(趋势线,长趋势),82)AND趋势线 1.3*长趋势,长趋势, ▲逢低买入

        ),Color00Ffff,linethick1;

        ▲低买:DRAWTEXT(REF(CROSS(长趋势,趋势线),1)AND长趋势 1.3*趋势线,趋势线, ▲低买

        ),colorblue,linethick1;

        var3:=PEAKBARS(3,15,1)

        var5:=IF(var3=1,2,0);

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

        顶a:IF(顶 REF(顶,1),50,0),colorgreen,linethick2;

        DRAWTEXT(顶a=50,45, 顶部 ),color00ff00;

        33.逃顶炒低

        :EMA(CLOSE,60)+EMA(CLOSE,90)/2,LINETHICK2,COLORCC33FF;

        短线:EMA(CLOSE,21)-1+EMA(VOL,5)/EMA(VOL,40),colorgray;

        中线:ZIG(3,19),LINETHICK1,colorgreen;

        DRAWTEXT(CROSS(REF(ZIG(3,19),1),ZIG(3,19)),HIGH*1.01, 逃 ),coloryellow;

        DRAWTEXT(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),LOW*0.99, 进 ),colorred;

        IF(CROSS(REF(ZIG(3,19),1),ZIG(3,19)),HIGH*1.01,0);

        IF(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),LOW*0.99,0);

        Var3:=HHVBARS(ZIG(3,19) REF(ZIG(3,19),1)ANDREF(ZIG(3,19),1) REF(ZIG(3,19), NBSP;2),0);

        时间之窗:STICKLINE(Var3=2,L*0.95,L*0.98,12,0),COLOR0000FF;

        STICKLINE(Var3=4,H*1.05,H*1.02,12,0),COLOR9966FF;

        STICKLINE(Var3=7,L*0.95,L*0.98,12,0),COLOR00FFFF;

        STICKLINE(Var3=12,H*1.05,H*1.02,12,0),COLORFF33FF;

        STICKLINE(Var3=20,L*0.95,L*0.98,12,0),COLOR0066FF;

        STICKLINE(Var3=33,H*1.05,H*1.02,12,0),COLORFFFF00;

        STICKLINE(Var3=54,L*0.95,L*0.98,12,0),COLOR006600;

        STICKLINE(Var3=88,H*1.05,H*1.02,12,0),COLOR00FF00;

        STICKLINE(Var3=143,L*0.95,L*0.98,12,0),COLORCCFFFF;

        STICKLINE(Var3=232,H*1.05,H*1.02,12,0),COLORFF0033;

        STICKLINE(Var3=376,L*0.95,L*0.98,12,0),COLORFF9966;

        34.短线狙击手

        来势线:EMA(CLOSE,7)-EMA(CLOSE,21),coloryellow;

        福星:EMA(来势线,7),COLORSTICK,colorred;

        VAR1:=CLOSE/REF(LLV(LOW,35),5)

        决策:IF(VAR1,0.5,0),STICK,coloryellow;

        必买:IF(TROUGHBARS(3,15,1)=0ANDHIGH LOW+0.01,1,-1),coloryellow,LINETHICK1;

        必卖:IF(PEAKBARS(3,15,1)=1,1,2),colorwhite,LINETHICK1;

        趋势线:(EMA(WINNER(CLOSE),7)-EMA(WINNER(CLOSE),35))*5,colorred;

        逃顶线:EMA(CLOSE/REF(HHV(CLOSE,7),50),1),COLOR00FF00,LINETHICK1;

        35.傻瓜选股

        VAR1:=HHV(HIGH,25);

        VAR2:=LLV(LOW,25);

        VAR3:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20)/2,COLORF0F000,LINETHICK2;

        VAR4:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);

        持股线:VAR4/2,COLORRED,LINETHICK2;

        STICKLINE(持股线 REF(持股线,1),0,持股线,3,1),COLORRED;

        STICKLINE(持股线 REF(持股线,1),0,持股线,3,1),COLORGREEN;

        VAR5:=C HHV(C,60)*0.6 NBSP;OR NBSP;C HHV(C,10)*0.8 NBSP;OR NBSP;C HHV(C,3)*0.9 NBS

        P;AND NBSP;(H-L)REF(C,1) 0.04OR(REF(H,1)-REF(L,1))/REF(C,2) 0.08ANDV MA(V,5)AND持股线

        10AND持股线 REF(持股线,1);

        DRAWICON(VAR5=1,LOW*0.38,9);绿卖

        36.波段操作绝品

        A:=(3*CLOSE+LOW+OPEN+HIGH)/6;

        HJX21:=(21*A+20*REF(A,1)+19*REF(A,2)+18*REF(A,3)+17*REF(A,4)+16*REF(A,5)+

        15*REF(A,6)+14*REF(A,7)+13*REF(A,8)+12*REF(A,9)+11*REF(A,10)+

        10*REF(A,11)+9*REF(A,12)+8*REF(A,13)+7*REF(A,14)+6*REF(A,15)+

        5*REF(A,16)+4*REF(A,17)+3*REF(A,18)+2*REF(A,19)+

        REF(A,21))/231;

        HJX3:=(3*A+2*REF(A,1)+REF(A,2))/6;

        DC1:EMA(HJX3,4),COLOR00FF00;

        DC2:EMA(DC1,3),COLORRED;

        DC3:EMA(DC1,7),COLORRED;

        K1:=BACKSET(DC1 REF(DC1,1),2);

        K2:=BACKSET(DC2 REF(DC2,1),2);

        K3:=BACKSET(DC3 REF(DC3,1),2);

        DC4:EMA(HJX21,6),COLORYELLOW;

        DC5:EMA(HJX21,16),COLORYELLOW;

        DC6:EMA(HJX21,34),COLORYELLOW;

        RSV:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;

        K:=SMA(RSV,3,1);

        D:=SMA(K,3,1);

        J:=3*K-2*D;

        YX2:=D REF(D,1);

        YX3:=DC4 DC6AND nb

        37.中短线

        Var3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

        Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

        Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*10


       引用:

     

       


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