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

    正文概述    2024-04-14 15:18:31  

    参数自己填写

    input:WS(0,0,9);//WS是N的尾数,WS=0,尾数,0~9之间整数,可调节参数

    DRAWGBK(1, COLORRGB(100,0,100),COLORRGB(50,80,180),0);

    {www.88gs.com}

    主力线:=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(主力线>REF(主力线,1),100,120,5,0),COLOR454500,LINETHICK3;

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

    VJ7:=LLV(LOW,10);

    VJ8:=HHV(HIGH,10);

    VJ9:=EMA((VJ6-VJ7)/(VJ8-VJ7)*100,13);

    VJA:=EMA(0.667*REF(VJ9,1)+0.333*VJ9,2);

    佛警戒:STICKLINE(VJ9>VJA,70,90,5,0),COLOR542e08,LINETHICK3;

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

    VAR85:=LLV(LOW,34);

    VAR86:=HHV(HIGH,34);

    持股:=EMA((VAR84-VAR85)/(VAR86-VAR85)*100,11);

    必卖:=EMA(0.667*REF(持股,1)+0.333*持股,5);

    实战鉄律警戒:STICKLINE(持股>必卖 ,40,60,5,0),COLOR46170b,LINETHICK3;

    五天涨幅:=(C/REF(C,5)-1)*100;

    五天势能:=IF(五天涨幅/5>0,五天涨幅/5,0);

    前势能:=REF(五天势能,2);

    势能警戒:STICKLINE(五天势能>0 AND 五天势能>前势能 ,10,30,5,0),COLOR122650,LINETHICK3;

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

    VAR27:=EMA(VAR26,100);

    VAR28:=(2 * (VAR26 - VAR27));

    VAR29:=((POW(VAR28,3) * 0.1) + POW(VAR28,1));

    黑马:=IF((VAR28 > 0.1),VAR29,0);

    前黑马:=REF(黑马,2);

    黑马警戒:STICKLINE(黑马>0 AND 黑马>前黑马,-20,0,5,0),COLOR13458b,LINETHICK3;

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

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

    VAR4:=SMA(VAR3,9,1);

    VAR5:=SMA(VAR4,3,1);

    黄线持股:3 * VAR4 - (2 * VAR5), LINETHICK2,COLORYELLOW;

    VAR6:=(黄线持股 > (1 * REF(黄线持股,1)));

    VAR7:=LLVBARS(LOW,50);

    VAR8:=SUM(VOL,VAR7);

    VAR9:=HHVBARS(HIGH,50);

    VAR10:=SUM(VOL,VAR9);

    VAR11:=(((CLOSE - REF(OPEN,VAR9)) / REF(OPEN,VAR9)) * 100);

    VAR12:=((VAR10 / CAPITAL) * 100);

    VAR13:=(((CLOSE - REF(OPEN,VAR7)) / REF(OPEN,VAR7)) * 100);

    VAR14:=((VAR8 / CAPITAL) * 100);

    VAR15:=(MA(WINNER(CLOSE),3) * 100);

    VAR16:=EMA(VAR4,3);

    回档不破洗盘:EMA(VAR4,3),COLORFFFFFF,LINETHICK2;

    PARTLINE(黄线持股<回档不破洗盘,黄线持股),LINETHICK2,COLORBLUE;

    DRAWICON(CROSS(黄线持股,回档不破洗盘),(黄线持股 * 0.80),6);

    股价趋势:=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);

    ab1:=ma(hhv(股价趋势,2),2);

    ab2:=ema(ma(llv(股价趋势,2),2),2), LINETHICK1,COLORff3399;

    jc:(股价趋势+ab1-ab2),LINETHICK2,COLORGREEN;

    PARTLINE(jc>ref(jc,1),jc),LINETHICK2,COLORred;

    PARTLINE(jc>ref(jc,1) and jc<40,jc) ,LINETHICK2,COLORMAGENTA;

    jc0:=EMA(jC,3);

    g1:=REF(jc0,1);

    g2:=(jc0-g1)/g1*100;

    g3:=REF(jc0,BARSLAST(CROSS(g2,0))+1);

    g4:=REF(jc0,BARSLAST(CROSS(0,g2))+1);

    DRAWLINE(CROSS(g2,0),g1,CROSS(0,g2),g1,0),LINEDOT,LINETHICK1,COLORRED;

    DRAWLINE(CROSS(0,g2),g1,CROSS(g2,0),g1,0),LINEDOT,LINETHICK1,COLORGREEN;

    DRAWLINE(CROSS(0,g2) OR CROSS(g2,0),g1,ISLASTBAR,g1,0),LINEDOT,LINETHICK1,COLORdd99ff;

    {-----------------------☆功能开关------------------------}

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

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

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

    KK:=INTPART(SMA(RSV,10,1));

    DD:=INTPART(SMA(K,5,1));

    N:KK+DD,LINETHICK,COLORGREEN;

    A:KK-DD,LINETHICK,COLORWHITE;

    A1:REF(KK-DD,1),LINETHICK0,COLORCYAN;//许多股票遇到A1=0时,很容易大涨或涨停

    A2:REF(KK-DD,2),LINETHICK0;

    STICKLINE(N<25,-25,-15,10,0),ALIGN0,linethick3,COLORYELLOW;//横线 -- 阶段底区;要格外注意

    {表格竖线}

    x:=SYSPARAM(2)=BARPOS;

    k:=(SYSPARAM(3)-SYSPARAM(2))/110;

    x1:=SYSPARAM(2)+ROUND(12*k)=BARPOS;

    x2:=SYSPARAM(2)+ROUND(28*k)=BARPOS;

    x3:=SYSPARAM(2)+ROUND(46*k)=BARPOS;

    x4:=SYSPARAM(2)+ROUND(62*k)=BARPOS;

    x5:=SYSPARAM(2)+ROUND(80*k)=BARPOS;

    x6:=SYSPARAM(2)+ROUND(103*k)=BARPOS;

    VERTLINE(x or x1 or x2 or x3  or x4 or x5 or x6 ),colorgray;

    {表格横线}

    DRAWLINE(x,-20,x6,-20,0),colorgray;

    DRAWLINE(x,15,x6,15,0),colorgray;

    DRAWLINE(x,50,x6,50,0),colorgray;

    DRAWLINE(x,85,x6,85,0),colorgray;

    DRAWLINE(x,120,x6,120,0),colorgray;

    {卖点}

    卖:=7*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*30,4,1)

    -3*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*30,4,1),3,1)

    -sma(SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*30,4,1),3,1),2,1);

    {-----------------【图解模板】---------------------}

    尾数:MOD(n,10),LINETHICK,COLORWHITE;

    N的尾数:IF(尾数=WS,0,1),LINETHICK,COLORWHITE;

    {信号}

    STICKLINE(尾数=WS,38,-20,5,0),COLORGRAY;//精确预测涨停当大盘走牛时,N的尾数相同,不小心就会让你骑上一匹黑马

    drawicon(N<15,-20,1),ALIGN0;{笑脸 -- 做新股,胜率是极高的。从股市开张到今天,如你不贪,是很难把你套住的。只要你抓住了热点,收益肯定不错}

    drawicon(A1=0,-20,10),ALIGN0;//信号灯 -- 很容易大涨或涨停

    drawicon((A>8 and A1>=0 and A2<0),-20,6),ALIGN0;//小红旗 -- 这是牛市中股票的3天涨前转折点

    drawicon(A>8 and A1<-8,-20,4),ALIGN0;{红箭头 -- 是正转加反转更大的转折点,未炒作的股票有题材的股票,新股,次新股,尤其是低部刚刚起动的股票,有翻倍的能力。}

    {填表}

    xx1:=ref(N,3);     xx2:=ref(N,2);     xx3:=ref(N,1);      xx4:=N;

    DRAWTEXT(x,102.5,' (N值) '),COLORGREEN;//------------------

    DRAWTEXT(x1,102.5,' 前三天 = '+NUMTOSTR(xx1[SYSPARAM(1)],0)),COLORf020a0; 

    DRAWTEXT(x2,102.5,' 前二天 = '+NUMTOSTR(xx2[SYSPARAM(1)],0)),COLORf020a0; 

    DRAWTEXT(x3,102.5,' 前一天 = '+NUMTOSTR(xx3[SYSPARAM(1)],0)),COLORf020a0; 

    DRAWTEXT(x4,102.5,' 当  天 = '+NUMTOSTR(xx4[SYSPARAM(1)],0)),COLORf020a0; 

    DRAWTEXT(x5,102.5,' N值小于25时,要格外注意'),COLORf020a0;

    yy1:=ref(A1,3);    yy2:=ref(A1,2);    yy3:=ref(A1,1);    yy4:=A1;

    DRAWTEXT(x,67.5,' (A1值) '),COLORCYAN;//------------------

    DRAWTEXT(x1,67.5,' 前三天 = '+NUMTOSTR(yy1[SYSPARAM(1)],0)),COLORCYAN;

    DRAWTEXT(x2,67.5,' 前二天 = '+NUMTOSTR(yy2[SYSPARAM(1)],0)),COLORCYAN;

    DRAWTEXT(x3,67.5,' 前一天 = '+NUMTOSTR(yy3[SYSPARAM(1)],0)),COLORCYAN;

    DRAWTEXT(x4,67.5,' 前一天 = '+NUMTOSTR(yy4[SYSPARAM(1)],0)),COLORCYAN;

    DRAWTEXT(x5,67.5,' A1=0 时,很容易大涨'),COLORCYAN;

    ZZ1:=ref(kk,3);   ZZ2:=ref(kk,2);    ZZ3:=ref(kk,1);    ZZ4:=kk;

    DRAWTEXT(x,32.5,' (KK值) '),ColorE9A6E9;//-----------------

    DRAWTEXT(x1,32.5,' 前三天 = '+NUMTOSTR(ZZ1[SYSPARAM(1)],0)),ColorE9A6E9;

    DRAWTEXT(x2,32.5,' 前二天 = '+NUMTOSTR(ZZ2[SYSPARAM(1)],0)),ColorE9A6E9;

    DRAWTEXT(x3,32.5,' 前一天 = '+NUMTOSTR(ZZ3[SYSPARAM(1)],0)),ColorE9A6E9;

    DRAWTEXT(x4,32.5,' 当  天 = '+NUMTOSTR(ZZ4[SYSPARAM(1)],0)),ColorE9A6E9;

    DRAWTEXT(x5,32.5,' KK值一天比一天大为正转'),ColorE9A6E9;

    WW1:=ref(DD,3);   WW2:=ref(DD,2);   WW3:=ref(DD,1);    WW4:=DD;

    DRAWTEXT(x,-2.5,' (DD值) '),COLORYELLOW;//------------------

    DRAWTEXT(x1,-2.5,' 前三天 = '+NUMTOSTR(WW1[SYSPARAM(1)],0)),COLORYELLOW;

    DRAWTEXT(x2,-2.5,' 前二天 = '+NUMTOSTR(WW2[SYSPARAM(1)],0)),COLORYELLOW;

    DRAWTEXT(x3,-2.5,' 前一天 = '+NUMTOSTR(WW3[SYSPARAM(1)],0)),COLORYELLOW;

    DRAWTEXT(x4,-2.5,' 当  天 = '+NUMTOSTR(WW4[SYSPARAM(1)],0)),COLORYELLOW;

    DRAWTEXT(x5,-2.5,' DD值一天比一天大为正转'),COLORYELLOW;

    DRAWTEXT(x6,100,' 大盘走牛时, N的尾数相同, 不小心 就会让你 骑上一匹黑马'),COLORGRAY;

    DRAWTEXT(cross(78.89,卖),120,' ★ ▽'),ALIGN,ColorFF9000;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 飞狐FZ句芒指标公式 加入收藏