您现在的位置:程序化交易>> 期货公式>> 金字塔等>> 金字塔知识>>正文内容

请帮忙将飞狐转换为金字塔 [金字塔]

  • 咨询内容:

    TD:=DATATYPE;
    TT5:=(IF((TD = 1),"ATMUS2.TT1#min5",IF((TD = 2),"ATMUS2.TT1#min15",IF((TD = 3),"ATMUS2.TT1#min30",IF((TD = 4),"ATMUS2.TT1#min60",IF((TD = 5),"ATMUS2.TT1#day",IF((TD = 6),"ATMUS2.TT1#week",IF((TD = 7),"ATMUS2.TT1#month","ATMUS2.TT1#year"))))))) * TT*aaa);
    TT6:=(IF((TD = 1),"ATMUS2.TT2#min5",IF((TD = 2),"ATMUS2.TT2#min15",IF((TD = 3),"ATMUS2.TT2#min30",IF((TD = 4),"ATMUS2.TT2#min60",IF((TD = 5),"ATMUS2.TT2#day",IF((TD = 6),"ATMUS2.TT2#week",IF((TD = 7),"ATMUS2.TT2#month","ATMUS2.TT2#year"))))))) * TT*aaa);
    A3:=(IF((TD = 1),"ATMUS2.TT3#min5",IF((TD = 2),"ATMUS2.TT3#min15",IF((TD = 3),"ATMUS2.TT3#min30",IF((TD = 4),"ATMUS2.TT3#min60",IF((TD = 5),"ATMUS2.TT3#day",IF((TD = 6),"ATMUS2.TT3#week",IF((TD = 7),"ATMUS2.TT3#month","ATMUS2.TT3#year"))))))) * TT*aaa);
    A4:=(IF((TD = 1),"ATMUS2.TT4#min5",IF((TD = 2),"ATMUS2.TT4#min15",IF((TD = 3),"ATMUS2.TT4#min30",IF((TD = 4),"ATMUS2.TT4#min60",IF((TD = 5),"ATMUS2.TT4#day",IF((TD = 6),"ATMUS2.TT4#week",IF((TD = 7),"ATMUS2.TT4#month","ATMUS2.TT4#year"))))))) * TT*aaa);
    XC:=(IF((TD = 1),"ATMUS2.TT5#min5",IF((TD = 2),"ATMUS2.TT5#min15",IF((TD = 3),"ATMUS2.TT5#min30",IF((TD = 4),"ATMUS2.TT5#min60",IF((TD = 5),"ATMUS2.TT5#day",IF((TD = 6),"ATMUS2.TT5#week",IF((TD = 7),"ATMUS2.TT5#month","ATMUS2.TT5#year"))))))) * TT*aaa);
    XD:=(IF((TD = 1),"ATMUS2.TT6#min5",IF((TD = 2),"ATMUS2.TT6#min15",IF((TD = 3),"ATMUS2.TT6#min30",IF((TD = 4),"ATMUS2.TT6#min60",IF((TD = 5),"ATMUS2.TT6#day",IF((TD = 6),"ATMUS2.TT6#week",IF((TD = 7),"ATMUS2.TT6#month","ATMUS2.TT6#year"))))))) * TT*aaa);


     

     

  • 金字塔客服: 可以直接用,需要先定义TT和AAA

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流进行 有偿 编写!不贵!点击查看价格!


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

相关文章

    没有相关内容