最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 寻庄骑马副图源码,说明(飞狐+通达信)

    正文概述    2024-04-13 20:39:22  

    用法说明,本指标是以主图黄金线为基本指标所做,类似KDJ,也不是KDJ;控盘线含有获利比例,使用时请注意;以40分强弱,上下六个区间,平时使用主要看四个区间;在80以上出现钝化为牛股特征,此时要高度警惕,一旦下穿80就要离场。下穿20不要盲目操作,特别是马线在20以下下穿控盘线,一般情况下马线是要向0轴靠近甚至下穿0轴,这对我们识别底部是有所帮助的。其它用法就不一一说明了,再好的指标也要靠自己理解体会。文档内上面的为飞狐源码,下方为通达信源码。
     

    飞狐源码

    均价:=(0.618*(0.809*C+0.191*o)+0.382*(if(H=C,C,H)+if(L=C,C,L))/2);
    R:=(0.809*if(L=C,C,L)+0.191*均价);R1:=(0.809*if(H=C,C,H)+0.191*均价);kx:=(r+R1)/2;
    hr:=(HHV(R1,34)*0.618+(HHV(R1,55)+HHV(R1,89))/2+HHV(R1,144)*0.382)/2;
    Lr:=(LLV(R,34)*0.618+(LLV(R,55)+LLV(R,89))/2+LLV(R,144)*0.382)/2;
    Zr:=(HHV(AMOUNT,34)*0.618+(HHV(AMOUNT,55)+HHV(AMOUNT,89))/2+HHV(AMOUNT,144)*0.382)/2;
    量能:100*(HR-均价)/(HR-LR),LINETHICK,COLORGRAY;
    STICKLINE(量能>=2,量能,0,6,1),COLORGRAY;
    饱和度:(WMA(AMOUNT,2)/WMA(KX,2))/(ZR/HR)*100,LINETHICK,COLORRED;
    STICKLINE(饱和度>量能,饱和度,0,4,0),COLORRED;
    STICKLINE(饱和度<量能,饱和度,0,4,0),COLOR00bb00;
    AK:=((均价-LR)/(HR-LR))*100-4.8;
    kk:=SMA(ak,5,2),COLORFFC0FF;
    骑马线:KK,COLORWHITE;
    PARTLINE(骑马线>AK,骑马线),COLORGREEN;
    上马:=(3*SMA((均价-LR)/(HR-LR)*100,3,1)-2*SMA((均价-LR)/(HR-LR)*100,3,1))-4.8;
    马线:WMA(上马,3),LINETHICK2,COLORMAGENTA;
    PARTLINE(上马<马线,马线),COLORAAAA00,LINETHICK2;
    获利:=WINNER(均价);
    kp:=(WMA(获利,34)*0.618+(WMA(获利,55)+WMA(获利,89))/2+WMA(获利,144)*0.382)/2;
    控盘线:kp*100,COLORYELLOW,LINETHICK2;
    STICKLINE(c>0,20,20,6,0),COLORMAGENTA;
    STICKLINE(c>0,60,60,6,0),COLORMAGENTA;
    0,COLORGREEN;40,COLORWHITE;80,COLORRED;

    通达信源码

    均价:=(0.618*(0.809*C+0.191*o)+0.382*(if(H=C,C,H)+if(L=C,C,L))/2);
    R:=(0.809*if(L=C,C,L)+0.191*均价);R1:=(0.809*if(H=C,C,H)+0.191*均价);kx:=(r+R1)/2;
    hr:=(HHV(R1,34)*0.618+(HHV(R1,55)+HHV(R1,89))/2+HHV(R1,144)*0.382)/2;
    Lr:=(LLV(R,34)*0.618+(LLV(R,55)+LLV(R,89))/2+LLV(R,144)*0.382)/2;
    Zr:=(HHV(AMOUNT,34)*0.618+(HHV(AMOUNT,55)+HHV(AMOUNT,89))/2+HHV(AMOUNT,144)*0.382)/2;
    量能:100*(HR-均价)/(HR-LR),LINETHICK,COLORGRAY;
    STICKLINE(量能>=2,量能,0,3,1),COLORGRAY;
    饱和度:(WMA(AMOUNT,2)/WMA(KX,2))/(ZR/HR)*100,LINETHICK,COLORRED;
    STICKLINE(饱和度>量能,饱和度,0,2,0),COLORRED;
    STICKLINE(饱和度<量能,饱和度,0,2,0),COLOR00bb00;
    AK:=((均价-LR)/(HR-LR))*100-4.8;
    kk:=SMA(ak,5,2),COLORFFC0FF;
    骑马线:KK,COLORWHITE;
    IF(骑马线>AK,骑马线,DRAWNULL),COLORGREEN;
    上马:=(3*SMA((均价-LR)/(HR-LR)*100,3,1)-2*SMA((均价-LR)/(HR-LR)*100,3,1))-4.8;
    马线:EMA(上马,3),LINETHICK2,COLORMAGENTA;
    IF(上马<马线,马线,DRAWNULL),COLORAAAA00,LINETHICK2;
    获利:=WINNER(均价);
    kp:=(WMA(获利,34)*0.618+(WMA(获利,55)+WMA(获利,89))/2+WMA(获利,144)*0.382)/2;
    控盘线:kp*100,COLORYELLOW,LINETHICK2;
    STICKLINE(c>0,20,20,6,0),COLORMAGENTA;
    STICKLINE(c>0,60,60,6,0),COLORMAGENTA;
    0,COLORGREEN;40,COLORWHITE;80,COLORRED;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 寻庄骑马副图源码,说明(飞狐+通达信) 加入收藏