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

您現在的位置:程序化交易>> 期貨公式>> 交易開拓者(TB)>> 開拓者知識>>正文內容

求助 跨周期取數據為什么漏取 [開拓者 TB]

  • 咨詢內容: 代碼很簡單,在5分鐘周期圖上取30分鐘周期的MACD數據,以下是代碼:
    ? ? ? ? If(Minute() <30)
    ? ? ? ? {
    ? ? ? ? ? ? ? ? HourMinute = 0;
    ? ? ? ? }Else
    ? ? ? ? {
    ? ? ? ? ? ? ? ? HourMinute = 30;
    ? ? ? ? }
    ? ? ? ? If(HourMinute != HourMinute[1])
    ? ? ? ? {
    ? ? ? ? ? ? ? ? strHourKey = Text(Date()) + ":" + Text(Hour()) + ":" + Text(HourMinute);
    ? ? ? ? ? ? ? ? strHourValue = GetTBProfileString(Symbol() + "HourMACD", strHourKey);
    ? ? ? ? ? ? ? ? HMACDDiff = Value(strHourValue);
    ? ? ? ? ? ? ? ? If(IsDebug != 0){
    ? ? ? ? ? ? ? ? ? ? ? ? FileAppend("C:\\MyMinuteMACD.txt", "strHourKey = " + strHourKey + ", strHourValue = " + strHourValue);
    ? ? ? ? ? ? ? ? }
    ? ? ? ? }
    以下是實際取得的數據對照,可以看到9:00的數據沒有取到,如何解決?
    strHourKey = 20161111:23:0, strHourValue = -29.243892
    strHourKey = 20161114:9:30, strHourValue = -29.262216
    strHourKey = 20161114:10:0, strHourValue = -26.896408
    strHourKey = 20161114:10:30, strHourValue = -23.814253
    strHourKey = 20161114:11:0, strHourValue = -21.666752
    strHourKey = 20161114:13:30, strHourValue = -21.827527
    strHourKey = 20161114:14:0, strHourValue = -19.420212
    strHourKey = 20161114:14:30, strHourValue = -18.293177
    strHourKey = 20161114:21:0, strHourValue = -14.53983
    strHourKey = 20161114:21:30, strHourValue = -10.325063
    strHourKey = 20161114:22:0, strHourValue = -7.167216
    strHourKey = 20161114:22:30, strHourValue = -3.927583
    strHourKey = 20161114:23:0, strHourValue = -1.435739
    strHourKey = 20161115:9:30, strHourValue = 5.566584
    strHourKey = 20161115:10:0, strHourValue = 7.322522
    strHourKey = 20161115:10:30, strHourValue = 8.261985
    strHourKey = 20161115:11:0, strHourValue = 8.238711
    strHourKey = 20161115:13:30, strHourValue = 5.935197
    strHourKey = 20161115:14:0, strHourValue = 4.862404
    strHourKey = 20161115:14:30, strHourValue = 4.861431
    strHourKey = 20161115:21:0, strHourValue = 6.031764
    strHourKey = 20161115:21:30, strHourValue = 6.201893
    strHourKey = 20161115:22:0, strHourValue = 6.104964
    strHourKey = 20161115:22:30, strHourValue = 6.980534
    strHourKey = 20161115:23:0, strHourValue = 7.255121

    ?

  • TB技術人員: 30分鐘結束的時候才取數吧,所以應該是取到了。9點的時候有啥數據呢?

 

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

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


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 99久久精品免费看国产高清 | 久久免费视频在线 | 亚洲欧洲视频在线观看 | 国产视频在线观看福利 | 日日操天天射 | 中国一级免费毛片 | 中国精品久久 | 夜夜狠狠狠狠 | 亚洲码和乱人伦中文一区 | 91福利视频免费观看 | 一级毛片私人影院 | 亚洲精品乱码久久久久久蜜桃欧美 | 五月天中文在线 | 色综合久久九月婷婷色综合 | 九色最新网址 | 97视频免费在线观看 | 精品国产免费久久久久久 | 甜心女孩泰剧在线观看 | 日日夜夜人人 | 亚洲视频一区在线播放 | 久久加久久 | 大杳蕉伊人狼人久久一本线 | 私人影院aaaaa毛片 | 亚洲欧美在线播放 | 亚洲视频 欧美视频 | 久久精品视频3 | 日本爽快片100色毛片 | 狠狠的干狠狠的操 | 米奇精品一区二区三区 | 九九九九精品视频在线播放 | 久久久www免费看片 久久久不卡 | 日韩国产精品99久久久久久 | 青青影院在线观看 | 尤物久久99热国产综合 | 日本叼嘿视频 | 天天久久狠狠色综合 | 一级黄色片网站 | 免费福利入口在线观看 | 国产伦码精品一区二区 | 成人网18免费视频 | 亚洲欧美色鬼久久综合 |