您现在的位置:程序化交易>> 期货公式>> 文华财经>> 文华财经知识>>正文内容

老师帮忙改下 谢谢 [文华财经]

  • 咨询内容:  细3:ZIGZAG(C,5,1),COLORWHITE,LINETHICK1;小8:ZIGZAG(C,8,1),COLORRED,LINETHICK1;中13:ZIGZAG(C,13,1),COLORYELLOW,DOT,LINETHICK1;大21:ZIGZAG(C,21,1),COLORGREEN,DOT,LINETHICK1;  细浪:=ZIGZAG(C,3,1);细浪向上转:=ZIGZAG(C,3,1)>REF(ZIGZAG(C,3,1),1) AND REF(ZIGZAG(C,3,1),1)<=REF(ZIGZAG(C,3,1),2) AND REF(ZIGZAG(C,3,1),2)<=REF(ZIGZAG(C,3,1),3);细浪向下转:=ZIGZAG(C,3,1)<REF(ZIGZAG(C,3,1),1) AND REF(ZIGZAG(C,3,1),1)>=REF(ZIGZAG(C,3,1),2) AND REF(ZIGZAG(C,3,1),2)>=REF(ZIGZAG(C,3,1),3);小浪:=ZIGZAG(C,8,1);小浪向上转:=ZIGZAG(C,8,1)>REF(ZIGZAG(C,8,1),1) AND REF(ZIGZAG(C,8,1),1)<=REF(ZIGZAG(C,8,1),2) AND REF(ZIGZAG(C,8,1),2)<=REF(ZIGZAG(C,8,1),3);小浪向下转:=ZIGZAG(C,8,1)<REF(ZIGZAG(C,8,1),1) AND REF(ZIGZAG(C,8,1),1)>=REF(ZIGZAG(C,8,1),2) AND REF(ZIGZAG(C,8,1),2)>=REF(ZIGZAG(C,8,1),3);中浪:=ZIGZAG(C,13,1);中浪向上转:=ZIGZAG(C,13,1)>REF(ZIGZAG(C,13,1),1) AND REF(ZIGZAG(C,13,1),1)<=REF(ZIGZAG(C,13,1),2) AND REF(ZIGZAG(C,13,1),2)<=REF(ZIGZAG(C,13,1),3);中浪向下转:=ZIGZAG(C,13,1)<REF(ZIGZAG(C,13,1),1) AND REF(ZIGZAG(C,13,1),1)>=REF(ZIGZAG(C,13,1),2) AND REF(ZIGZAG(C,13,1),2)>=REF(ZIGZAG(C,13,1),3);大浪:=ZIGZAG(C,21,1);大浪向上转:=ZIGZAG(C,21,1)>REF(ZIGZAG(C,21,1),1) AND REF(ZIGZAG(C,21,1),1)<=REF(ZIGZAG(C,21,1),2) AND REF(ZIGZAG(C,21,1),2)<=REF(ZIGZAG(C,21,1),3);大浪向下转:=ZIGZAG(C,21,1)<REF(ZIGZAG(C,21,1),1) AND REF(ZIGZAG(C,21,1),1)>=REF(ZIGZAG(C,21,1),2) AND REF(ZIGZAG(C,21,1),2)>=REF(ZIGZAG(C,21,1),3);循环浪:=ZIGZAG(C,55,1);循环浪向上转:=ZIGZAG(C,55,1)>REF(ZIGZAG(C,55,1),1) AND REF(ZIGZAG(C,55,1),1)<=REF(ZIGZAG(C,55,1),2) AND REF(ZIGZAG(C,55,1),2)<=REF(ZIGZAG(C,55,1),3);循环浪向下转:=ZIGZAG(C,55,1)<REF(ZIGZAG(C,55,1),1) AND REF(ZIGZAG(C,55,1),1)>=REF(ZIGZAG(C,55,1),2) AND REF(ZIGZAG(C,55,1),2)>=REF(ZIGZAG(C,55,1),3);微浪走强 :=BARSLAST(细浪<REF(细浪,1));微浪走弱:=BARSLAST(细浪>REF(细浪,1));细浪走强 :=BARSLAST(小浪<REF(小浪,1));细浪走弱:=BARSLAST(小浪>REF(小浪,1));小浪走强:=BARSLAST(中浪<REF(中浪,1));小浪走弱:=BARSLAST(中浪>REF(中浪,1));中浪走强:=BARSLAST(大浪<REF(大浪,1));中浪走弱:=BARSLAST(大浪>REF(大浪,1));大浪走强:=BARSLAST(循环浪<REF(循环浪,1));大浪走弱:=BARSLAST(循环浪>REF(循环浪,1));  小上细上:=IF(小浪>REF(小浪,1),COUNT(细浪向上转,小浪走强 ),0);
    小上细下:=IF(小浪>REF(小浪,1),COUNT(细浪向下转,小浪走强 ),0);
    小下细上:=IF(小浪<REF(小浪,1),COUNT(细浪向上转,小浪走弱),0);
    小下细下:=IF(小浪<REF(小浪,1),COUNT(细浪向下转,小浪走弱),0);
     中上小上:=IF(中浪>REF(中浪,1),COUNT(小浪向上转,中浪走强),0);
    中上小下:=IF(中浪>REF(中浪,1),COUNT(小浪向下转,中浪走强),0);
    中下小上:=IF(中浪<REF(中浪,1),COUNT(小浪向上转,中浪走弱),0);
    中下小下:=IF(中浪<REF(中浪,1),COUNT(小浪向下转,中浪走弱),0);
     大上小上:=IF(大浪>REF(大浪,1),COUNT(中浪向上转,大浪走强),0);
    大上小下:=IF(大浪>REF(大浪,1),COUNT(中浪向下转,大浪走强),0);
    大下小上:=IF(大浪<REF(大浪,1),COUNT(中浪向上转,大浪走弱),0);
    大下小下:=IF(大浪<REF(大浪,1),COUNT(中浪向下转,大浪走弱),0);
     循环上大上:=IF(循环浪>REF(循环浪,1),COUNT(中浪向上转,大浪走强),0);
    循环上大下:=IF(循环浪>REF(循环浪,1),COUNT(中浪向下转,大浪走强),0);
    循环下大上:=IF(循环浪<REF(循环浪,1),COUNT(中浪向上转,大浪走弱),0);
    循环下大下:=IF(循环浪<REF(循环浪,1),COUNT(中浪向下转,大浪走弱),0);
     DRAWTEXT(细浪向上转 AND 小下细上=1,L*0.998,'(A)',FONTSIZE15,COLORWHITE;DRAWTEXT(细浪向下转 AND 小下细下=2,H*1.01,'(B)',FONTSIZE15,COLORWHITE;DRAWTEXT(小浪向上转 AND 小上细上=1,L*0.998,'(C)',FONTSIZE15,COLORWHITE;DRAWTEXT(细浪向下转 AND 小浪>REF(小浪,1) AND 小上细下=1,H*1.01,'nbsp;    细 -1',FONTSIZE15,COLORWHITE;DRAWTEXT(细浪向上转 AND 小浪>REF(小浪,1) AND 小上细上=2,L*0.998,'nbsp;   细--2',FONTSIZE15,COLORWHITE;DRAWTEXT(细浪向下转 AND 小浪>REF(小浪,1) AND 小上细上=2,H*1.01,'nbsp;    细--3',FONTSIZE15,COLORWHITE;DRAWTEXT(细浪向上转 AND 小浪>REF(小浪,1) AND 小上细上=3,L*0.998,'nbsp;   细--4',FONTSIZE15,COLORWHITE;DRAWTEXT(小浪向下转 AND 中浪>REF(中浪,1) AND 中上小下=1,H*1.02,'nbsp;    细--5',FONTSIZE15,COLORWHITE;DRAWTEXT(细浪向上转 AND 小浪>REF(小浪,1) AND 小上细上=4,L*0.998,'长浪',COLORWHITE;DRAWTEXT(小浪向上转 AND 中下小上=1,L*0.988,'(A)',COLORMAGENTA;DRAWTEXT(小浪向下转 AND 中下小下=2,H*1.02,'(B)',COLORMAGENTA;DRAWTEXT(中浪向上转 AND 中上小上=1,L*0.988,'(C)',COLORMAGENTA;DRAWTEXT(小浪向下转 AND 中浪>REF(中浪,1) AND 中上小下=1,H*1.02,'小1----1     ',FONTSIZE15,COLORRED;DRAWTEXT(小浪向上转 AND 中浪>REF(中浪,1) AND 中上小上=2,L*0.988,'2----2    ',FONTSIZE15,COLORRED;DRAWTEXT(小浪向下转 AND 中浪>REF(中浪,1) AND 中上小上=2,H*1.02,'3-----3     ',FONTSIZE15,COLORRED;DRAWTEXT(小浪向上转 AND 中浪>REF(中浪,1) AND 中上小上=3,L*0.988,'4------4    ',FONTSIZE15,COLORRED;DRAWTEXT(中浪向下转 AND 大浪>REF(大浪,1) AND 大上小下=1,H*1.02,'5-------5     ',FONTSIZE15,COLORRED; DRAWTEXT(中浪向上转 AND 大下小上=1,L*0.978,'【A】',COLORYELLOW;DRAWTEXT(中浪向下转 AND 大下小下=2,H*1.03,'【B】',COLORYELLOW;DRAWTEXT(大浪向上转 AND 大上小上=1,L*0.978,'【C】',COLORYELLOW;DRAWTEXT(中浪向下转 AND 大浪>REF(大浪,1) AND 大上小下=1,H*1.03,'①1',COLORYELLOW;DRAWTEXT(中浪向上转 AND 大浪>REF(大浪,1) AND 大上小上=2,L*0.978,'②2',COLORYELLOW;DRAWTEXT(中浪向下转 AND 大浪>REF(大浪,1) AND 大上小下=2 ,H*1.03,'③3',COLORYELLOW;DRAWTEXT(中浪向上转 AND 大浪>REF(大浪,1) AND 大上小上=3,L*0.978,'④4',COLORYELLOW;DRAWTEXT(大浪向下转 AND 循环浪>REF(循环浪,1) AND 循环上大下=1,HIGH*1.02,'⑸5',COLORYELLOW;DRAWTEXT(大浪向上转 AND 循环下大上=1,L*0.968,'【A】',COLORGREEN;DRAWTEXT(大浪向下转 AND 循环下大下=2,H*1.04,'【B】',COLORGREEN;DRAWTEXT(循环浪向上转 AND 循环上大上=1,L*0.968,'【C】',COLORGREEN;DRAWTEXT(大浪向下转 AND 循环浪>REF(循环浪,1) AND 循环上大下=1,H*1.04,'1①',COLORGREEN;DRAWTEXT(大浪向上转 AND 循环浪>REF(循环浪,1) AND 循环上大上=2,L*0.968,'2②',COLORGREEN;DRAWTEXT(大浪向下转 AND 循环浪>REF(循环浪,1) AND 循环上大下=2 ,H*1.04,'3③',COLORGREEN;DRAWTEXT(大浪向上转 AND 循环浪>REF(循环浪,1) AND 循环上大上=3,L*0.968,'4④',COLORGREEN;

    老师这个有未来函数麽?   改文华8

     

     来源:程序化99

  • 文华技术人员:

    指标内有ZIGZAG未来函数,wh8不支持未来函数的,所以无法加载到wh8上使用。

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容