交易時間沒結(jié)束,K線不再產(chǎn)生怎么寫?
作者:金字塔 來源:cxh99.com 發(fā)布時間:2017年04月06日
- 咨詢內(nèi)容:
交易所交易時間沒有結(jié)束,分鐘K圖中最新一根棒的todaybar不再増加,并且time<=closetime(0)并且time不再增加。請問客服老師怎么寫?
- 金字塔客服:
timetot0(currenttime)<=timetot0(closetime(0)) and timetot0(currenttime)>time0-60 and date=currentdate
- 用戶回復:
以下是引用jinzhe在2016-10-28 9:25:51的發(fā)言:
timetot0(currenttime)<=timetot0(closetime(0)) and timetot0(currenttime)>time0-60 and date=currentdate
老師,上面減60是對應的1分鐘K線吧,我希望能分鐘K通用之公式,請修改下。謝謝
- 網(wǎng)友回復:
沒有通用的方法,各種分鐘線要自行修改一下
- 網(wǎng)友回復:
通過DATATYPE的讀取,然后轉(zhuǎn)化成對應分鐘數(shù)或秒數(shù)。這樣的思路可否把上面公式寫成通用之公式呢。