匯入QuantBrains_Connect_X1

(QuantBrians_Connect_X1函數包中的 QuantBrians_Connect_X1 "訊號")

在QauntBrains_Connect_X1中我們實作了前面<<基礎觀念>>篇中我們提到的兩個東西,"資金標準化函數"(風險平價,RiskParityAllocation)與"評價函數"(Opt-F)

前置工作

從討論區內下載壓縮包之後,在本地端電腦進行解壓縮,可以看到下面的檔案

其中 outputfile32.dll/outputfile64.dll 為文字檔輸出呼叫用的DLL動態函數庫,可供 QuantBrains_Connect呼叫使用,請將 outputfile_64.dll放置到你想要的位置(例如 C:\MyDLL\ 或是 R:\)

QuantBrainsConnect.pla 為準備匯入至Multicharts 端使用的函數庫

  1. 現在我們開啟Multicharts 內的 PowerLanguage Editor 進行基本指標匯入的工作

選取OK進行匯入並編譯

註: QuantBrains_Connect 內需指定 outputfile_x64.dll 的實際位置,請找到DefineDLLfunc 指令行並修改 outputfile_x64.dll 的實際位置

最后更新于