@autoCF
擋同一圖表的訊號/指標不能設一樣的filename+signalNO
這版需要更新PLA檔, 或也可以自己照下面步驟手動調整
訊號: @autoCF
GetAutoIndex函數定義新增bool參數
~~DEFINEDLLFUNC: "CF995.CFv2.dll", int, "GetAutoIndex", ieasylanguageobject, lpstr, lpstr;~~
DEFINEDLLFUNC: "CF995.CFv2.dll", int, "GetAutoIndex", ieasylanguageobject, lpstr, lpstr, bool;
調整GetAutoIndex函數參數 (訊號帶true
)
~~autoIndex = GetAutoIndex(self, filename, strategyNo);~~
autoIndex = GetAutoIndex(self, filename, strategyNo, true);
指標: @autoCF
, @auto_switch_MovingDayDD
GetAutoIndex函數定義新增bool參數
~~DEFINEDLLFUNC: "CF995.CFv2.dll", int, "GetAutoIndex", ieasylanguageobject, lpstr, lpstr;~~
DEFINEDLLFUNC: "CF995.CFv2.dll", int, "GetAutoIndex", ieasylanguageobject, lpstr, lpstr, bool;
調整GetAutoIndex函數參數 (指標帶false
)
~~autoIndex = GetAutoIndex(self, filename, strategyNo);~~
autoIndex = GetAutoIndex(self, filename, strategyNo, false);
<aside> 💡 如果採用PLA更新, 記得先把原本自訂的部分(譬如報表路徑, 或自己額外寫的程式碼)先備份出來, 更新後會被覆蓋
</aside>
CF995.CFv2.dll