Hello 小幫手你好,因為我有用python算一些資料,想匯入到XQ中變成指標 輔助研究
不知道XQ有沒有辦法針對每根1分K去設定指標的值?
例如:
if time==09:00 Plot1(10, "強度");
if time==09:01 Plot2(30, "強度");
if time==09:02 Plot3(-50, "強度");
謝謝
Hello 小幫手你好,因為我有用python算一些資料,想匯入到XQ中變成指標 輔助研究
不知道XQ有沒有辦法針對每根1分K去設定指標的值?
例如:
if time==09:00 Plot1(10, "強度");
if time==09:01 Plot2(30, "強度");
if time==09:02 Plot3(-50, "強度");
謝謝
Hello CH____________,
XQ無法匯入外部的資訊。
如果您要自行手動一筆筆寫的話可以這樣作:
if date = 20211013 and time = 090000 then value1 = 10
else if date = 20211013 and time = 090100 then value1 = 30
else if ......
plot1(value1, "強度");
須注意XQ的time回傳的是開始的時間,所以090000在1分鐘頻率下代表的就是 09:00 到 09:01的這段時間。
1 評論