BarID = Text_New(BarDate, BarTime, PriceValue, "Text");
呼叫Text_New函數時,會回傳K棒的ID。
K棒的ID是指K棒的編號嗎?還是隨意產生的編號?
您好,
字典說明如下,
Displays a text object, consisting of the specified string expression located at the specified bar and specified price value, on the chart that the study is based on; returns an object-specific ID number, required to modify the object.
函數是回傳物件編號 ID,不是 K 棒ID,
也就是說他會給文字檔一個編號,
原則上從 1 開始編號。
請問: 我的設定物件視窗中,沒有類似以下的資訊內容,是哪裡沒做好?
是的
這編號可以用在其他 TEXT 相關指令,
例如指定編號改變字體大小或粗細等等,
建議您可自行寫語法測試。