/quantbrains/quantbrainsconnectmc-duan/untitled
GitBook 原文全文(Bento 版型)
01 內容
匯入QuantBrains\_Connect\_X1
在QauntBrains\_Connect_X1中我們實作了前面<<基礎觀念>>篇中我們提到的兩個東西,"資金標準化函數"(風險平價,RiskParityAllocation)與"評價函數"(Opt-F)
**前置工作**
從討論區內下載壓縮包之後,在本地端電腦進行解壓縮,可以看到下面的檔案

其中 outputfile32.dll/outputfile64.dll 為文字檔輸出呼叫用的DLL動態函數庫,可供 QuantBrains_Connect呼叫使用,請將 outputfile\_64.dll放置到你想要的位置(例如 C:\MyDLL\ 或是 R:\)
QuantBrainsConnect.pla 為準備匯入至Multicharts 端使用的函數庫
- 現在我們開啟Multicharts 內的 PowerLanguage Editor 進行基本指標匯入的工作




選取OK進行匯入並編譯
**註: QuantBrains\_Connect 內需指定 outputfile\_x64.dll 的實際位置,請找到DefineDLLfunc 指令行並修改 outputfile\_x64.dll 的實際位置**