|
- 準備好策略apx
- 準備好即時資料(這個範例用uox3)
- ; 設定 AmiBroker 相關變數
- $AB_BIN_DIR = EnvGet("AMIBROKER")
- $AB_DATA_DIR = EnvGet("ABDB") & "/uox3"
- $AB_BIN_FILE = $AB_BIN_DIR & "/Broker.exe" & " /database " & $AB_DATA_DIR
- Run( $AB_BIN_FILE, $AB_BIN_DIR)
- Sleep( 3000 )
- $ab = ObjCreate("Broker.Application")
- $anlysis = $ab.AnalysisDocs.Open( EnvGet("AFL") & "/test.apx" ) ; opens previously saved analysis project file
- ; NewA represents the instance of New Analysis document/window
- $anlysis.Run( 1 ); // start explore asynchronously
複製代碼
|
評分
-
查看全部評分
|