Input:Auto;
Vars:nowposition;
[IntrabarOrderGeneration = true];
if Auto=1 then begin
DefineDLLFunc: "C:\Program Files\OrderMaster\OMSignAPI.dll",bool,"IniDllAndPosition",LPSTR,int;
DefineDLLFunc: "C:\Program Files\OrderMaster\OMSignAPI.dll",bool,"GoOrder",LPSTR,LPSTR,LPSTR,int,double;
nowposition=marketposition*currentcontracts;
if date<>date[1] then IniDllAndPosition("MXF", nowposition);
end;
//MXF 屬於 識別碼,自己命名,要在下單大師 設定打上去 |