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

    正文概述    2024-05-04 04:20:43  

         同花顺公式源码    买卖点    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)*100;    VAR6:=(VAR3+VAR4+VAR5)/3;    VAR7:=EMA(VAR6,5);    指标:EMA(EMA(VAR3,5),5)*3,COLORSTICK;    VAR8:=IF(VAR6 =-20,10,0);    VAR9:=HHV(VAR8,10);    STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF;    VARA:=IF(VAR9ANDCROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);    K:EMA(VAR7,5)*2,,COLORFF00FF;    D:EMA(K,5),,colorwhite;    J:K*3-D*2,,coloryellow;    VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5))ANDJ     换手:=VOL/CAPITAL*100,,coloryellow;    DRAWTEXT(VARA=20,15, 底部 ),LINETHICK1,colorwhite;    STICKLINE((VARA=20),0,10,5,0),colorwhite;    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));    STICKLINE((VARC=1),(-14),0,4,0),COLOR0000FF;    DRAWTEXT((VARC=1),(-14), B ),COLOR0000FF;    STICKLINE((VARD=1),14,0,4,0),COLOR00FF00;    DRAWTEXT((VARD=1),18, S ),COLOR00FF00;    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)ANDCLOSE REF(CLOSE,1);    DRAWTEXT(VAR11ANDCOUNT(VAR11,30)=1,15, 大资金活动 ),LINETHICK1,COLORFF00FF;    {STICKLINE(VAR11ANDCOUNT(VAR11,30)=1,1,10,5,0),COLORFF00FF;}    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 =150ANDVAR13=150ANDVAR14 200,10,0);    VAR16:=IF(VAR13-200ANDVAR14-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 =200ANDVAR13 =150,15,IF(VAR14 =-200ANDVAR13 =-150,-15,VAR16))+60;    VAR1C:=VAR1A 48ANDVAR1B 60ANDVAR19     DRAWTEXT(VAR1CANDCOUNT(VAR1C,30)=1,15, 大笔出货 ),LINETHICK1,COLORFFCC66;    STICKLINE(VAR1CANDCOUNT(VAR1C,30)=1,0,10,5,0),COLORFFCC66;    波段买卖点    VAR1:=MA(CLOSE,5);    VAR2:=MA(CLOSE,10);    VAR3:=MA(CLOSE,20);    VAR4:=MA(CLOSE,30);    VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;    VAR6:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500;    VAR7:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500;    VAR8:=EMA(VAR6,8);    VAR9:=TROUGHBARS(3,15,1)     VAR10:=PEAKBARS(3,15,1)     VAR11:=IF(VAR9=1,50,0);    VAR12:=IF(VAR10=1,50,0);    底部勇于介入:=IF(VAR11=50,50,0);    头部果断出局:=IF(VAR12=50,100,0);    买入:IF(底部勇于介入 REF(底部勇于介入,1),50,0),colorred;    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),    *顶 ),colorred,LINETHICK5;    ★逢低筹钱:DRAWTEXT(REF(CROSS(趋势线,短趋势),82)AND    趋势线 1.3*短趋势,短趋势, ★ -逢低筹钱 ),LINETHICK1;    ★低买:DRAWTEXT(REF(CROSS(短趋势,趋势线),0.7)AND    短趋势 0.95*趋势线,趋势线, ★低买 ),colorred,LINETHICK1;    VAR13:=PEAKBARS(3,15,1)     VAR15:=IF(VAR13=1,2,0);    顶:=IF(VAR15=2,2,0);    顶A:IF(顶 REF(顶,1),50,0),colorgreen;    DRAWTEXT(顶A=50,45, 快跑 ),COLOR00FF00;    波段确定    q1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;    q2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;    q3:=SMA(q2,9,1);    q4:=SMA(q3,3,1);    aa:3*q3-2*q4,,color1010FF;    q5:=aa 1*REF(aa,1);    q6:=LLVBARS(LOW,50);    q7:=SUM(VOL,q6);    q8:=HHVBARS(HIGH,50);    q9:=SUM(VOL,q8);    q10:=(CLOSE-REF(OPEN,q8))/REF(OPEN,q8)*100;    q11:=HHV(aa,5);    A1:EMA(q3,3),COLORFFDDCC;    A2:EMA(a1,3),COLORFFBBCC;    A3:EMA(a2,3),COLORFF99CC;    A4:EMA(a3,3),COLORFF55CC;    A5:EMA(a4,3),COLORFF33CC;    A6:EMA(a5,3),COLORFF11CC;    a:EMA(a4,3),,COLORFF00CC;    DRAWTEXT(CROSS(aa,20)ANDq10 -13,10, *大底 ),color00ff00;    DRAWTEXT(CROSS(aa,a5)ANDREF(aa,1) 34,REF(aa,1), 小 ),color00ff00;    DRAWTEXT(CROSS(A1,aa)ANDREF(aa,1) 80,REF(aa,3), *顶 ),COLOR00ff00;    DRAWTEXT(CROSS(aa,A1)ANDq5ANDa19ORa1 1*REF(a1,1)    ANDq1 4ANDa1 60,30, 拉 ),COLORFFFFCC;    买卖点2    买线:EMA(C,2),COLOR000999;    卖线:EMA(SLOPE(C,21)*20+C,42),POINTDOT,coloryellow;    BU:=CROSS(买线,卖线);    SEL:=CROSS(卖线,买线);    DRAWTEXT(BU,LOW-0.06, 买进 ),coloryellow;    DRAWTEXT(SEL,HIGH+0.2, 卖出 ),colorgreen,LINETHICK7;    DRAWICON(BU,LOW-0.02,5);    DRAWICON(sel,HIGH+0.1,2);    STICKLINE(CROSS(买线,卖线)ORCROSS(卖线,买线),OPEN,CLOSE,6,0),colorblue;    出货点超级波段王    出货点:ZIG(3,10)REF(ZIG(3,10),2),COLORF0F000;    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;    Var7:=Var5*100;    Var8:=MA(ABS(Var7-Var6)/(Var7+Var6)*100,15);    Var9:=(Var8+REF(Var8,15))/2;    A:=(Var7 Var6ANDVar7 25ANDVar6     B:ZIG(3,10)*100,colorff00ff;    g:MA(B,2),colorffff00;    D:CROSS(B,g)*1000,colorred;    W:CROSS(g,B)*1000,colorgreen;    Var11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;    Var12:=SMA(Var11,3,1);    Var13:=SMA(Var12,3,1);    Var14:=Var13ANDVar13     DRAWTEXT(W=1000,b*1.05, 卖 ),COLOR00ff00;    DRAWTEXT(D=1000,b*1.05, 买 ),colorred;    庄家抄底王    周期:=15;过滤:=8;    选股1:=-26;抄底:=-40;红鸟庄家抄底王:0,ColorFF00FF,POINTDOT;    VAR2:=MA(CLOSE,5);    VAR3:=MA(CLOSE,10);    VAR4:=MA(CLOSE,20);    VAR5:=MA(CLOSE,30);    VAR6:=(VAR2+VAR3+VAR4+VAR5)/(4);    VAR7:=((VAR6-REF(VAR6,周期))/(REF(VAR6,周期)))*(100);    VAR8:=((VAR6-REF(VAR6,周期))/(REF(VAR6,周期)))*(100);    VAR9:=EMA(VAR7,过滤);    红包:IF((TROUGHBARS(3,15,1)=0)AND(HIGH LOW+0.01),10,(-5)),Color00FF00;    反转:STICKLINE(Var9 1*REF(Var9,1),Var7,0,5,0),COLOREE00EE;    持股:STICKLINE(Var7 1*REF(Var7,1),Var7,Var9,5,0),colorred;    持币:STICKLINE(Var7 1*REF(Var7,1),Var7,Var9,5,1),colorgreen;    洗盘:STICKLINE(Var71*REF(Var9,1),Var7,Var9,10,0),COLOR00EEFF;    VAR10:=((CLOSE-MA(CLOSE,58))/(MA(CLOSE,58)))*(100);    VAR11:=((VAR10 (1)*(REF(VAR10,1)))AND(VAR10抄底))*(1.5);    VAR12:=((VOL)/(CAPITAL))*(100);    VAR13:=LLVBARS(LOW,50);    VAR14:=SUM(VOL,VAR13);    VAR15:=HHVBARS(HIGH,50);    VAR16:=SUM(VOL,VAR15);    VAR17:=((CLOSE-REF(OPEN,VAR15))/(REF(OPEN,VAR15)))*(100);    VAR18:=((VAR16)/(CAPITAL))*(100);    VAR19:=((CLOSE-REF(OPEN,VAR13))/(REF(OPEN,VAR13)))*(100);    VAR20:=((VAR14)/(CAPITAL))*(100);    VAR21:=MA(CLOSE,3);    VAR22:=(REF(CLOSE,2))*(0.86500001);    VAR23:=(REF(CLOSE,13))*(0.77200001);    VAR24:=MIN(VAR22,VAR23);    VAR25:=MA(CLOSE,13);    抄底王:(IF(((CLOSE-VAR24)/(CLOSE) 0.02999999)AND(VAR17 (-35))AND    ((SUM(VAR12,5))/(5) 1.8),1,0))*(10),ColorFFFFFF;    DRAWTEXT(抄底王,抄底王, 成功率90追 ),COLORFFAA00;    VAR26:=((CLOSE-REF(CLOSE,1))/(REF(CLOSE,1)))*(100);    VAR27:=(EMA(CLOSE,12)-EMA(CLOSE,26))*(100);    VAR28:=EMA(VAR27,9);    VAR29:=(2)*(VAR27-VAR28);    DRAWTEXT(Var277ANDVar27 Var28,(-10), 底 ),colorwhite;    DRAWTEXT(Var277ANDVar27 =Var28,5, 追 ),colorwhite;    STICKLINE(Var277,0,(-10),5,0),COLORFFFF66;     同花顺最厉害的指标公式源码    超级主力买入启动    VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;    VAR2:=SUMBARS(VOL,CAPITAL);    VAR3:=HHV(VAR1,VAR2);    VAR4:=LLV(VAR1,VAR2);    VAR5:=(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4);    VAR6:=(VAR1-VAR4)/(VAR3-VAR4);    VAR7:=IF(VAR1 =VAR4,VAR5*60,VAR6*60);    VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);    VAR9:=EMA(VAR8,7);    VARA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;    VARB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;    VARC:=HHV(HIGH,9)-LLV(LOW,9);    VARD:=HHV(HIGH,9)-CLOSE;    VARE:=CLOSE-LLV(LOW,9);    VARF:=VARD/VARC*100-70;    VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;    VAR11:=(2*CLOSE+HIGH+LOW)/4;    VAR12:=SMA(VARE/VARC*100,3,1);    VAR13:=LLV(LOW,34);    VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1);    VAR15:=IF(VAR14 100,VAR14-100,0);    VAR16:=HHV(HIGH,34);    VAR17:=EMA((VAR11-VAR13)/(VAR16-VAR13)*100,8);    VAR18:=EMA(VAR17,5);    STICKLINE(VAR17-VAR18 0,VAR17,VAR18,8,1),,colorred;    STICKLINE(VAR17-VAR18 0,VAR17,VAR18,8,1),,colorgreen;    Q1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;    Q2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;    Q3:=SMA(Q2,9,1);    Q4:=SMA(Q3,3,1);    AA:3*Q3-2*Q4,,coloryellow;    Q5:=AA 1*REF(AA,1);    Q6:=LLVBARS(LOW,50);    Q7:=SUM(VOL,Q6);    Q8:=HHVBARS(HIGH,50);    Q9:=SUM(VOL,Q8);    Q10:=(CLOSE-REF(OPEN,Q8))/REF(OPEN,Q8)*100;    Q11:=HHV(AA,5);    A1:EMA(Q3,3),COLORFFDDCC;    A2:EMA(A1,3),COLORFFBBCC;    A3:EMA(A2,3),COLORFF99CC;    A4:EMA(A3,3),COLORFF55CC;    A5:EMA(A4,3),COLORFF33CC;    A6:EMA(A5,3),COLORFF11CC;    A:EMA(A4,3),,COLORFF00CC;    DRAWTEXT(CROSS(AA,20)ANDQ10 -13,10, ☆大底 ),COLOR00FF00;    DRAWTEXT(CROSS(AA,A5)ANDREF(AA,1) 34,REF(AA,1), ☆发财了 ),colorred    ;    DRAWTEXT(CROSS(A1,AA)ANDREF(AA,1) 80,REF(AA,3), ☆闪人 ),COLORCFB53B    ;    DRAWTEXT(CROSS(AA,A1)ANDQ5ANDA19ORA1 1*REF(A1,1)    ANDQ1 4ANDA1 60,30, 拉 ),COLORFFFFCC;    DQ:=CROSS(AA,A1)ANDCROSS(A1,A2)ANDAA     STICKLINE(DQ,30,80,1.2,0);    捉黑马    {DRAWGBK(DATE 900103,STRIP(RGB(90,120,255),RGB(140,140,255),1));}    A2:(100*(CLOSE-(MA(CLOSE,18))))/(MA(CLOSE,18));    A3:=100-((90*((HHV(HIGH,9))-CLOSE))/((HHV(HIGH,9))-(LLV(LOW,9))));    A4:=100-(MA(((100*((HHV(HIGH,6))-CLOSE))/((HHV(HIGH,6))-(LLV(LOW,6)))),28));    A5:=MA(A4,4);    A6:=(3*(SMA((((CLOSE-(LLV(LOW,18)))/((HHV(HIGH,18))-(LLV(LOW,18))))*100),5,1)))-(2*    (SMA((SMA((((CLOSE-(LLV(LOW,18)))/((HHV(HIGH,18))-(LLV(LOW,18))))*100),5,1)),3,1)));    A7:=(4);    见底:((CROSS(A6,A7))*18),LINETHICK2,colorcyan;    A8:=(REF(CLOSE,1))/CLOSE;    A9:=MIN((MA(((AMOUNT/VOL)/100),15)),(EMA(((AMOUNT/VOL)/100),15)));    A10:=((1-((SMA(((LOW*A8)-(A8/10)),6,1))/(EMA(((AMOUNT/VOL)/100),15))))*100)-(100/10);    A11:=((((1-((MA((LOW-(A8/10)),6))/A9))*(DMA(CLOSE,(VOL/CAPITAL))))/(MA(LOW,6)))*100)-(100    /10);    A12:=(A10+(A11/10)) 0AND((COUNT((((1-(CLOSE/(REF(CLOSE,1)))) 0.099)AND((1-((REF(CLOSE,1))    /(REF(CLOSE,2)))) 0.099)),20))     A13:=(((((A10+(A11/10)) -3.688)AND((CLOSE/(REF(CLOSE,1))) 1.02))AND((COUNT((((1-(CLOSE/    (REF(CLOSE,1)))) 0.099)AND((1-((REF(CLOSE,1))/(REF(CLOSE,2)))) 0.099)),20)) 3))AND(((REF(CLOSE,1))    /(REF(CLOSE,2))) 0.95))AND((CLOSE/(HHV(HIGH,20))) 0.855);    黑马:((IF(((1000)),(A12=1),(A13=1)))*18),LINETHICK2,colorred;    A14:=EMA(CLOSE,6);    A15:=EMA(A14,18);    A16:=CROSS(A14,A15);    A17:=A14 (EMA(CLOSE,120));    起步:((A16ANDA17)*18),LINETHICK2,colormagenta;    让机构.游资.大户.散户现形的私幕机构    A:=IF((CLOSE 126.32),(AMOUNT/100000),VOL);    主力:MA(A,4),LINETHICK0,color00FFFF;    游资:MA(A,8),LINETHICK0,color00FF00;    大户:MA(A,16),LINETHICK0,color0000FF;    散户:MA(A,32),LINETHICK0,colorFFFF00;    主力参与比例:CEILING(((主力/(((主力+游资)+大户)+散户))*100)),LINETHICK0,color00FFFF;    游资参与比例:CEILING(((游资/(((主力+游资)+大户)+散户))*100)),LINETHICK0,color00FF00;    大户参与比例:CEILING(((大户/(((主力+游资)+大户)+散户))*100)),LINETHICK0,color0000FF;    散户参与比例:CEILING(((散户/(((主力+游资)+大户)+散户))*100)),LINETHICK0,colorFFFF00;    警戒线:MA(A,180),colorFF00FF;    STICKLINE((主力 0),0,主力,8,0),color0000FF;    STICKLINE((主力 0),0,主力,7.8,0),color0018FF;    STICKLINE((主力 0),0,主力,7.5,0),color001BFF;    STICKLINE((主力 0),0,主力,7.3,0),color0022FF;    STICKLINE((主力 0),0,主力,7,0),color0035FF;    STICKLINE((主力 0),0,主力,6.8,0),color0041FF;    STICKLINE((主力 0),0,主力,6.5,0),color0050FF;    STICKLINE((主力 0),0,主力,6.3,0),color0059FF;    STICKLINE((主力 0),0,主力,6,0),color0062FF;    STICKLINE((主力 0),0,主力,5.7,0),color006CFF;    STICKLINE((主力 0),0,主力,5.5,0),color007AFF;    STICKLINE((主力 0),0,主力,5.3,0),color0080FF;    STICKLINE((主力 0),0,主力,5,0),color0089FF;    STICKLINE((主力 0),0,主力,4.5,0),color0095FF;    STICKLINE((主力 0),0,主力,3.5,0),color009CFF;    STICKLINE((主力 0),0,主力,3,0),color00ABFF;    STICKLINE((主力 0),0,主力,2.5,0),color00C0FF;    STICKLINE((主力 0),0,主力,1.5,0),color00D1FF;    STICKLINE((主力 0),0,主力,1,0),color00EAFF;    STICKLINE((主力 0),0,主力,0.7,0),color00FFFF;    STICKLINE((游资 0),0,游资,8,0),color006800;    STICKLINE((游资 0),0,游资,7.8,0),color007F00;    STICKLINE((游资 0),0,游资,7,5),color008B00;    STICKLINE((游资 0),0,游资,7,3),color008B00;    STICKLINE((游资 0),0,游资,7,0),color009000;    STICKLINE((游资 0),0,游资,6.8,0),color009500;    STICKLINE((游资 0),0,游资,6.5,0),color009C00;    STICKLINE((游资 0),0,游资,6.3,0),color00A300;    STICKLINE((游资 0),0,游资,6,0),color00AB00;    STICKLINE((游资 0),0,游资,5.7,0),color00AF00;    STICKLINE((游资 0),0,游资,5.5,0),color00B900;    STICKLINE((游资 0),0,游资,5.3,0),color00C000;    STICKLINE((游资 0),0,游资,5,0),color00C100;    STICKLINE((游资 0),0,游资,4.5,0),color00CA00;    STICKLINE((游资 0),0,游资,3.5,0),color00D300;    STICKLINE((游资 0),0,游资,3,0),color00DB00;    STICKLINE((游资 0),0,游资,2.5,0),color00EA00;    STICKLINE((游资 0),0,游资,1.5,0),color00FF00;    STICKLINE((大户 0),0,大户,8,0),color102088;    STICKLINE((大户 0),0,大户,7,0),color102099;    STICKLINE((大户 0),0,大户,6,0),color1020AA;    STICKLINE((大户 0),0,大户,5,0),color1020BB;    STICKLINE((大户 0),0,大户,4,0),color1020CC;    STICKLINE((大户 0),0,大户,3,0),color1020DD;    STICKLINE((大户 0),0,大户,2,0),color1020EE;    STICKLINE((大户 0),0,大户,1,0),color1020FF;    STICKLINE((大户 0),0,大户,8,0),color102088;    STICKLINE((大户 0),0,大户,7,0),color102099;    STICKLINE((大户 0),0,大户,6,0),color1020AA;    STICKLINE((大户 0),0,大户,5,0),color1020BB;    STICKLINE((大户 0),0,大户,4,0),color1020CC;    STICKLINE((大户 0),0,大户,3,0),color1020DD;    STICKLINE((大户 0),0,大户,2,0),color1020EE;    STICKLINE((大户 0),0,大户,1,0),color1020FF;    STICKLINE((散户 0),0,散户,8,0),colorFF7700;    STICKLINE((散户 0),0,散户,7,0),colorFF8800;    STICKLINE((散户 0),0,散户,6,0),colorFF9900;    STICKLINE((散户 0),0,散户,5,0),colorFFAA00;    STICKLINE((散户 0),0,散户,4,0),colorFFBB00;    STICKLINE((散户 0),0,散户,3,0),colorFFCC00;    STICKLINE((散户 0),0,散户,2,0),colorFFDD00;    STICKLINE((散户 0),0,散户,1,0),colorFFEE00;    STICKLINE((散户 0),0,散户,8,0),colorFF7700;    STICKLINE((散户 0),0,散户,7,0),colorFF8800;    STICKLINE((散户 0),0,散户,6,0),colorFF9900;    STICKLINE((散户 0),0,散户,5,0),colorFFAA00;    STICKLINE((散户 0),0,散户,4,0),colorFFBB00;    STICKLINE((散户 0),0,散户,3,0),colorFFCC00;    STICKLINE((散户 0),0,散户,2,0),colorFFDD00;    STICKLINE((散户 0),0,散户,1,0),colorFFEE00;    主力散户    Var1:=1;    Var2:=1/WINNER(CLOSE);    Var3:=MA(CLOSE,13);    Var4:=100-ABS((CLOSE-Var3)/Var3*100);    Var5:=LLV(LOW,75);    Var6:=HHV(HIGH,75);    Var7:=(Var6-Var5)/100;    Var8:=SMA((CLOSE-Var5)/Var7,20,1);    Var9:=SMA((OPEN-Var5)/Var7,20,1);    VarA:=3*Var8-2*SMA(Var8,15,1);    VarB:=3*Var9-2*SMA(Var9,15,1);    VarC:=100-VarB;    散户:(100-VarA)*Var1,color0099ff;    主力:MA(WINNER(CLOSE*0.95)*100,3)*Var1,coloryellow;    新庄:(100-IF(Var2 5,IF(Var2 100,Var2,Var4-10),0))*Var1,colorgreen,linethick2,POINTDOT;    VarD:=主力 Var4;    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:=Var1820ANDVar1B=-0.25ANDVar15 22    ANDVar1650;    STICKLINE(VarD,Var4,主力,5,0),colorwhite;    STICKLINE(1,新庄,100,1,0),colorgreen;    STICKLINE(Var20,0,80,5,0),colorred,linethick3;    100,colorgreen,linethick2;    0,coloryellow,linethick2;    中线:15,colorblue,linethick2;    黑马初现    个股:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),color1010FF;    大盘:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),colorE67010,linethick2;    STICKLINE(个股 =大盘,个股,大盘,1,0),colorred;    STICKLINE(个股 大盘,个股,大盘,1,0),colorblue;    STICKLINE(个股 =大盘,0,大盘,6,0),coloryellow;    STICKLINE(个股 大盘,0,个股,6,0),coloryellow;    黑马初现:IF(CROSS(个股,9),50,0),STICK,linethick3,color00ff00;    DRAWTEXT(CROSS(个股,9),40, 黑马初现! ),color00ff00;    Var1:=EMA(CLOSE,3);    Var2:=EMA(CLOSE,21);    Var3:=BARSLAST(CROSS(Var2,Var1))     Var4:=VOL MA(VOL,5)*2ANDVOL MA(VOL,5)*5;    Var5:=CROSS(Var1,Var2)ANDVar4ANDVar3;    黑马:IF(Var5,80,0),STICK,linethick4,colorf00ff0;    DRAWTEXT(Var5,70, 黑马! ),colorf00ff0;    资金    DX:=ZJLR-ZJLC;    DDX    DDX1:SMA(DX,60,1),COLORFFFFFF;    DDX2:SMA(DDX1,5,1),COLOR00FFFF;    DDX3:EMA(DDX2,10),COLORFF00FF;    超跌    反弹    KS:=(C-MA(C,13))/MA(C,13)*(-100);    RKS:=REF(KS,1);    MLS:=RKS/KS =1.23ANDRKS =8ANDC/REF(C,1) =1.02;    超跌:STICKLINE(KS =8,H,L,0,1),colorwhite,LINETHICK2;    反弹:STICKLINE(MLS=1,H,L,0,1),colormagenta,LINETHICK2;    STICKLINE(C =O,C,O,8,0),colorred;    STICKLINE(C =O,C,O,8,0),colorgreen;    STICKLINE(KS =8,O,C,8,1),colorwhite,LINETHICK2;    STICKLINE(MLS=1,O,C,8,1),colormagenta,LINETHICK2;    EMA(C,10),colorcyan;    EMA(KS/10+EMA(C,10),3),COLORFF8888;    发现主力    N:=14;N1:=20;N2:=55;    C0:=(H+L+C)/3;    a1:=HHV(C0,n);    a2:=LLV(C0,n);    a3:=a1-a2;    a4:=EMA((C0-a2)/a3,2)*100;    b1:=HHV(C0,n1);    b2:=LLV(C0,n1);    b3:=b1-b2;    b4:=EMA((C0-b2)/b3,2)*100;    C1:=HHV(C0,n2);    C2:=LLV(C0,n2);    C3:=C1-C2;    C4:=EMA((C0-C2)/C3,2)*100;    d1:a4-50,colorblue;    d2:b4-50,color99ffcc;    d3:C4-50,colorgreen;    DRAWICON(CROSS(A1,0),0,4);    CROSS(d1 45,d1),colorred;    CROSS(d2 45,d2),colorred;    CROSS(d3 45,d3),colorred;    分界:0,POINTDOT;    强:50,POINTDOT;    弱:-50,POINTDOT;    主力潜伏指标    N:=14;    M:=156;    TYP:=(HIGH+LOW+CLOSE)/3;    CCI:(TYP-MA(TYP,N))/(0.15*AVEDEV(TYP,N));    DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);    DEA:=EMA(DIFF,9);    MACD:=2*(DIFF-DEA);    主力潜伏中:COUNT(MACD 0,10)=10,colorred,LINETHICK0;    STICKLINE(主力潜伏中,0,MACD*30,8,0),colorred;    100,COLOR1C1C1C;    0,COLOR1C1C1C;    -100,COLOR1C1C1C;    -100,STICK,COLOR1C1C1C;    主力    换手:=V*100/CAPITAL;    主力:=MA(换手,4);    大户:=MA(换手,9);    中户:=MA(换手,17);    散户:=MA(换手,34);    均量:=(主力+大户+中户+散户)/4;    主力能量:(主力-均量),NODRAW;    大户能量:(大户-均量),NODRAW;    中户能量:(中户-均量),NODRAW;    散户能量:(散户-均量),NODRAW;    有大资金进场现象    V1:=(C*2+H+L)/4*10;    V2:=EMA(V1,13)-EMA(V1,34);    V3:=EMA(V2,5);    V4:=2*(V2-V3)*5.5;    庄家秘密撤:IF(V4 =0,V4,0),COLOR00FF00,LINETHICK2;    庄家秘密进:IF(V4 =0,V4,0),COLORFF00FF,LINETHICK2;    V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;    V6:=EMA(3*V5-2*SMA(V5,18,1),5);    V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;    V8:=(INDEXC*2+INDEXH+INDEXL)/4;    V9:=EMA(V8,13)-EMA(V8,34);    VA:=EMA(V9,3);    VB:=(V9-VA)/2;    大盘资金进场:IF(VB =0,VB,0),colorred,LINETHICK2;    大盘资金撤走:IF(VB =0,VB,0),colorblue,LINETHICK2;    机构K线    VAR2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;    VAR3:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100;    VAR4:=VAR2-VAR3;    VAR5:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100;    VAR6:=(INDEXO-REF(INDEXC,1))/REF(INDEXC,1)*100;    VAR7:=VAR5-VAR6;    STICKLINE(VAR4 =0,SUM(REF(VAR4,1),0)+100+VAR7,SUM(VAR4,0)+100,0.1,0),COLOR9933FF;    STICKLINE(VAR4 0,SUM(REF(VAR4,1),0)+100+VAR7,SUM(VAR4,0)+100,0.1,0),COLOR66CC33;    STICKLINE(VAR4 0,SUM(REF(VAR4,1),0)+100+VAR7,SUM(VAR4,0)+100,10,0),COLOR009900;    STICKLINE(VAR4 0,SUM(REF(VAR4,1),0)+100+VAR7,SUM(VAR4,0)+100,2,0),COLOR00CC00;    STICKLINE(VAR4 0,SUM(REF(VAR4,1),0)+100+VAR7,SUM(VAR4,0)+100,0.8,0),COLOR33FF00;    STICKLINE(VAR4 0,SUM(REF(VAR4,1),0)+100+VAR7,SUM(VAR4,0)+100,0.8,0),COLOR66FF00;    STICKLINE(VAR4 =0,SUM(REF(VAR4,1),0)+100+VAR7,SUM(VAR4,0)+100,10,0),COLOR000099;    STICKLINE(VAR4 =0,SUM(REF(VAR4,1),0)+100+VAR7,SUM(VAR4,0)+100,2,0),COLOR0000CC;    STICKLINE(VAR4 =0,SUM(REF(VAR4,1),0)+100+VAR7,SUM(VAR4,0)+100,0.8,0),COLOR0000FF;    STICKLINE(VAR4 =0,SUM(REF(VAR4,1),0)+100+VAR7,SUM(VAR4,0)+100,0.8,0),COLOR0033FF;    J4:EMA(SUM(REF(VAR4,1),0)+100+VAR7,4),colorwhite;    J9:EMA(SUM(REF(VAR4,1),0)+100+VAR7,9),coloryellow;    J18:EMA(SUM(REF(VAR4,1),0)+100+VAR7,18),colorred;    J34:EMA(SUM(REF(VAR4,1),0)+100+VAR7,34),colorgreen;    淘金线    M:=34;N:=7;    ZX:=MA(CLOSE,M);    阻力线:(ZX+N*STD(CLOSE,M)),POINTDOT,LINETHICK2,ColorFFFF20;    拉升力:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,47))*0.6*CLOSE;    拉升力A:=SMA(拉升力,6.3,1);    波峰波谷:=SMA(拉升力A,3,1),Color09FFFF;    拉升力B:=3*拉升力A-2.1*波峰波谷;    空方:=3*波峰波谷-1*拉升力A;    做空:=IF(空方 拉升力B,拉升力B,空方)*4.5,LINETHICK2,COLOR00FF00;    PARTLINE(做空,做空 REF(做空,1),RGB(135,15,255),做空 =REF(做空,1),RGB(250,250,250)),LINETHICK3;    短线:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*10,LINETHICK0,coloryellow;    中线:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*10,LINETHICK0,colorwhite;    红柱:SMA(短线,3,1)*4.5,LINETHICK0,COLOR0000FF;    蓝柱:SMA(中线,3,1)*4.5,COLORSTICK,COLORFFFF00;    STICKLINE(红柱0,0,红柱,8,0),Color00C400;    STICKLINE(红柱0,0,红柱,6,0),Color00EC00;    STICKLINE(红柱0,0,红柱,4,0),Color33FF33;    STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,8,0),Color0000C4;    STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,6,0),Color0000F7;    STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,4,0),Color2D2DFF;    STICKLINE(蓝柱0,0,蓝柱,8,0),Color00CACA;    STICKLINE(蓝柱0,0,蓝柱,6,0),Color00F2F2;    STICKLINE(蓝柱0,0,蓝柱,4,0),Color26FFFF;    STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,8,0),ColorC600C6;    STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,6,0),ColorF900F9;    STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,4,0),ColorFF33FF;    STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,8,0),ColorCECE00;    STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,6,0),ColorFBFB00;    STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,4,0),ColorFFFF37;    STICKLINE(蓝柱 REF(蓝柱,1)AND蓝柱 0,0,蓝柱,10,0),Color00DBDB;    STICKLINE(蓝柱 REF(蓝柱,1)AND蓝柱 0,0,蓝柱,6,0),Color02FFFF;    STICKLINE(蓝柱 REF(蓝柱,1)AND蓝柱 0,0,蓝柱,4,0),Color2DFFFF;    ENV    UPPER:MA(CLOSE,N)*1.06;    LOWER:MA(CLOSE,N)*0.94    机构控盘度    VAR1:=EMA(EMA(CLOSE,9),9);    控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;    STICKLINE(控盘 0,控盘,0,1,0),COLORWHITE;    A10:=CROSS(控盘,0);    无庄控盘:IF(控盘 0,控盘,0),COLORWHITE,NODRAW;    开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW;    STICKLINE(控盘 REF(控盘,1)AND控盘 0,控盘,0,1,0),COLORRED;    有庄控盘:IF(控盘 REF(控盘,1)AND控盘 0,控盘,0),COLORRED,NODRAW;    VAR2:=100*WINNER(CLOSE*0.95);    STICKLINE(VAR2 50ANDCOST(85)0,控盘,0,1,0),COLORFF00FF;    高度控盘:IF(VAR2 50ANDCOST(85)0,控盘,0),COLORFF00FF,NODRAW;    STICKLINE(控盘0,控盘,0,1,0),COLOR00FF00;    主力出货:IF(控盘0,控盘,0),COLOR00FF00,NODRAW;    逃顶王    Var29:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;    Var2A:=SMA(Var29,5,1);    Var2B:=SMA(Var2A,10,1);    Var2C:=CROSS(Var2B,Var2A);    Var2D:=Var2B 80ORVar2A     Var2E:=Var2CANDVar2D;    Var51:=EMA(AMOUNT/VOL/100,3);    Var52:=EMA(Var51,88);    Var53:=EMA(Var51,88)*0.85;    Var54:=Var53*0.87;    Var55:=LOWREF(CLOSE,1)*1.02;    DRAWTEXT(FILTER(Var55,6),LOW+0.1, 坚决买进 ),COLORCCDDCC;    鱼肠剑:(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10,colorblue;    莫邪剑:EMA(CLOSE,13),colorred;    青锋剑:EMA(CLOSE,50),COLOR00cc00;    STICKLINE(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1) REF(3*SMA((CLOSE-LLV(LOW,60))/(HHV(    HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1),10),CLOSE,OPEN,8,0),COLORFFBBBB;    STICKLINE(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1) REF(3*SMA((CLOSE-LLV(LOW,60))/(HHV(    HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1),10),HIGH,LOW,0,0),COLORFFBBBB;    STICKLINE(VOL/CAPITAL 0.015,CLOSE,OPEN,15,1),COLORFF0000;    STICKLINE(VOL/CAPITAL 0.05,CLOSE,OPEN,80,1),colorred;    STICKLINE(VOL/CAPITAL 0.1,CLOSE,OPEN,150,1),colorred;    STICKLINE(VOL/CAPITAL 0.2,CLOSE,OPEN,250,1),COLORFF00FF;    STICKLINE(VOL/CAPITAL 0.3,CLOSE,OPEN,350,1),COLORFFFF00;    STICKLINE(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1)     REF(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1),10),HIGH,LOW,0,0),COLOR00FFFF;    STICKLINE(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1)     REF(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1),10),CLOSE,OPEN,8,1),COLOR00FFFF;    逃顶:STICKLINE(Var2E,H,H,18,1),COLOR00FF00;    DRAWTEXT(FILTER(CROSS(75,SMA(MAX(CLOSE-REF(CLOSE,1),0),8,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),8,1)*100),10),HIGH, 卖 ),colorgreen;    DRAWTEXT(FILTER(CROSS(-5,MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,5)),5),LOW, 买 ),colorred;    主力潜伏指标    N:=14;    M:=156;    TYP:=(HIGH+LOW+CLOSE)/3;    CCI:(TYP-MA(TYP,N))/(0.15*AVEDEV(TYP,N));    DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);    DEA:=EMA(DIFF,9);    MACD:=2*(DIFF-DEA);    主力潜伏中:COUNT(MACD 0,10)=10,colorred,LINETHICK0;    STICKLINE(主力潜伏中,0,MACD*30,8,0),colorred;    100,COLOR1C1C1C;    0,COLOR1C1C1C;    -100,COLOR1C1C1C;    -100,STICK,COLOR1C1C1C;   引用:精品:同花顺超短运行选股指标公式(源码)免费分享,举例讲解 - 知乎

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 指标资讯 加入收藏