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

    正文概述    2024-04-14 15:55:53  

    N:=5;P:=12;
    均价:=(2*C+(H-L)/2+L+o)/4;
    价差:=SUM(均价-REF(均价,1),2)/2;
    实价0:=(均价+价差);
    实价:=(实价0+均价)/2;
    VAR54:=IF(实价>0,(((均价+实价)/2)-LLV(均价,N))/(HHV(实价,N)-LLV(均价,N))*100,(((均价+实价)/2)-LLV(实价,N))/(HHV(均价,N)-LLV(实价,N))*100);
    K:=SMA(VAR54,9,2),COLORMAGENTA;
    D:=sMA(K,5,2),COLORFF8800,LINETHICK1;
    j:3*k-2*D,COLORWHITE,LINETHICK1;
    JJ:=ma(J,2),COLORMAGENTA;
    VAR36:=if(实价>0,(HHV(实价,n/p)-((均价+实价)/2))/(HHV(实价,N/p)-LLV(均价,N/p))*100,(HHV(均价,n/p)-((均价+实价)/2))/(HHV(均价,N/p)-LLV(实价,N/p))*100);
    KW:=sMA(VAR36,9,2),COLORMAGENTA;
    { _飞狐股票指标公式}
    DW:=sMA(KW,5,2),COLORFF8800,LINETHICK1;
    jW:3*kW-2*DW,COLORGREEN,LINETHICK1;
    JJW:=ma(JW,2),COLORGREEN;
    KK:=SMA(VAR54,7,1),LINETHICK1,COLORYELLOW;
    DD:=SMA(KK,5,1);
    趋势:IF(crOSS(KK,DD) AND CROSS(MA(实价,5),MA(实价,13) AND KK>50) ,DD*2,DD),COLORRED;
    PARTLINE(趋势>REF(趋势,1),趋势),COLORRED,LINETHICK2;
    PARTLINE(趋势 DRAWTEXT(CROSS(趋势,KK) ,趋势,'止赢!!'),color0000ff,ALIGN0;
    DRAWTEXT(CROSS(KK,趋势) ,KK,'买'),color00ffff,ALIGN0;
    波段高低点:ref(KK,BArslAST(cross(ref(KK,3),KK))+1),POINTDOT,colorD3A9FF,LINETHICK3;
    0,COLORAAAA00;20,COLORCYAN;50,COLORWHITE;80,COLORRED;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 飞狐寻庄KDJ指标公式 加入收藏