大伊人青草狠狠久久-大伊香蕉精品视频在线-大伊香蕉精品一区视频在线-大伊香蕉在线精品不卡视频-大伊香蕉在线精品视频75-大伊香蕉在线精品视频人碰人

您現在的位置:程序化交易>> 期貨公式>> 金字塔等>> 金字塔知識>>正文內容

如何在下面這個日內交易模型(五分鐘周期)加上提前5秒下單 。 [金字塔]

  • 咨詢內容:

    請教:如何在下面這個日內交易模型(五分鐘周期)加上提前5秒下單  。

    T1:=TIME>090000 AND TIME <145000;
    pkkd:=cross(c,ma(c,5)) and t1;

    pdkk:=cross(ma(c,5),c) and t1;

    if pkkd then
       begin
       sellshort(holding < 0, 1, limitr,open);
       buy(holding = 0, 1, limitr,c+5*mindiff);
       end

    if pdkk then
       begin
       sell(holding > 0, 1, limitr,open);
       buyshort(holding = 0, 1, limitr,c-5*mindiff);
       end

     

  • 金字塔客服:

    T1:=TIME>090000 AND TIME <145000;

    nn:=timetot0(time)-timetot0(dynainfo(207));
    pkkd:=cross(c,ma(c,5)) and t1;

    pdkk:=cross(ma(c,5),c) and t1;

    if pkkd  and nn<=5 and islastbar  or (pkkd and not(islastbar))  then
       begin
       sellshort(holding < 0, 1, limitr,open);
       buy(holding = 0, 1, limitr,c+5*mindiff);
       end

    if pdkk  and nn<=5 and islastbar  or (pdkk and not(islastbar)) then
       begin
       sell(holding > 0, 1, limitr,open);
       buyshort(holding = 0, 1, limitr,c-5*mindiff);
       end

     

  • 用戶回復: nn:=timetot0(time)-timetot0(dynainfo(207));這句話中timetot0(time)返回什么時間?

     

  • 網友回復:

    timetot0(time): 括號中的時間距離當日0點的秒數。

    括號中的time是k線時間,例如5分鐘周期第一根k線的time是090500 轉換成秒,返回結果是32700秒。

 

有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友

可聯系技術人員 QQ: 1145508240  點擊這里給我發消息進行 有償 編寫!不貴!點擊查看價格!


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
主站蜘蛛池模板: 亚洲日本高清影院毛片 | 午夜性色福利视频在线视频 | 国产成人aa在线观看视频 | 色综合久久中文字幕综合网 | 久久综合久美利坚合众国 | 成人小视频免费 | 国产精品欧美亚洲韩国日本 | 欧美综合色另类图片区 | 久久99国产精品久久99小说 | a毛片免费观看 | 免费观看男女羞羞的视频网站 | 亚洲欧美日韩精品中文乱码 | 日韩一级精品视频在线观看 | 网站一级片 | 免费国产视频 | 亚洲国产精品二区久久 | 人人骚 | 色香欲综合成人免费视频 | 欧美成人观看视频在线 | 91视频高清| 久久精品免费全国观看国产 | 91精品91久久久 | 免费久久精品视频 | 四虎影院成人在线观看 | 久热只有精品 | 奇米第四色在线观看 | 99精品在线观看视频 | 午夜免费福利不卡网址92 | 亚洲在线久久 | 四虎永久在线精品视频免费观看 | 婷婷亚洲激情 | 国产日韩欧美综合一区 | 99久9在线 | 免费 | 亚洲欧美日韩在线观看你懂的 | 精品精品国产理论在线观看 | 伊人网色| 九九精品视频在线 | 香蕉视频在线观看视频 | 久久的精品99精品66 | 天天射日日 | 青娱乐久久|