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

求助 跨周期取數(shù)據(jù)為什么漏取 [開拓者 TB]

  • 咨詢內(nèi)容: 代碼很簡(jiǎn)單,在5分鐘周期圖上取30分鐘周期的MACD數(shù)據(jù),以下是代碼:
    ? ? ? ? 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);
    ? ? ? ? ? ? ? ? }
    ? ? ? ? }
    以下是實(shí)際取得的數(shù)據(jù)對(duì)照,可以看到9:00的數(shù)據(jù)沒有取到,如何解決?
    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技術(shù)人員: 30分鐘結(jié)束的時(shí)候才取數(shù)吧,所以應(yīng)該是取到了。9點(diǎn)的時(shí)候有啥數(shù)據(jù)呢?

 

有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友

可聯(lián)系技術(shù)人員 QQ: 511411198  點(diǎn)擊這里給我發(fā)消息進(jìn)行 有償 編寫!不貴!點(diǎn)擊查看價(jià)格!


【字體: 】【打印文章】【查看評(píng)論

相關(guān)文章

    沒有相關(guān)內(nèi)容
主站蜘蛛池模板: 久久99精品久久久久久首页| 人人妻人人爽人人澡欧美一区| 91精品国产91久久| 日本三级香港三级人妇m| 亚洲欧美日韩高清一区二区三区 | 亚洲国产精品一区二区三区久久 | aaa日本高清在线播放免费观看| 日本午夜在线视频| 亚洲国产精品福利片在线观看| 精品四虎免费观看国产高清午夜| 国产特级毛片aaaaaa高清| chinesehd国产刺激对白| 无码精品人妻一区二区三区中| 亚洲人成色7777在线观看不卡| 男人把女人c爽的免费视频| 国产乱人伦av在线a| 2021国产成人午夜精品| 天天射天天干天天舔| 丹麦大白屁股hdxxxx| 欧美一级片在线看| 亚洲色欲久久久综合网东京热| 精品国产无限资源免费观看 | 日韩人妻无码专区精品| 亚洲精品日韩专区silk| 老色鬼久久综合第一| 国产欧美日韩专区| √天堂资源地址在线官网| 日本网站在线看| 亚洲最新视频在线观看| 精品偷自拍另类在线观看| 国产又黄又爽视频| 3d区在线观看| 好紧我太爽了视频免费国产| 久久伊人精品青青草原高清| 欧美巨大bbbb动漫| 免费看黄色三级毛片| 触手强制h受孕本子里番| 国产精品午夜电影| A∨变态另类天堂无码专区| 山村乱肉系列h| 久久久久久久人妻无码中文字幕爆|