Auto-start of trading system

Questions about MultiCharts and user contributed studies.
User avatar
fbertram
Posts: 166
Joined: 16 Oct 2014
Location: Seattle, USA
Has thanked: 36 times
Been thanked: 76 times
Contact:

Auto-start of trading system

Postby fbertram » 31 Dec 2014

Dear MultiCharts fans,

I'd like to set up my trading machine such that it automatically performs scheduled restarts. To do so, I would need to start Portfolio Trader and IB Gateway through a batch file or macro.

Has anybody done something similar? Any hints, suggestions or expected pitfalls?

Thank you so much,
Best regards,


Felix

Wally_AD
Posts: 47
Joined: 28 Jan 2014
Has thanked: 8 times
Been thanked: 7 times

Re: Auto-start of trading system

Postby Wally_AD » 03 Jan 2015

Hallo fbertam,
I created programs to do something similar using AutoIT.
If somebody is interested I can provide the source code of my AutoIt scripts.

The programs start MC and enable Automatic Trading.
At the end of the day MC is shut down.
Windows task manager is used for calling the programs.

regards
Ulrich

User avatar
fbertram
Posts: 166
Joined: 16 Oct 2014
Location: Seattle, USA
Has thanked: 36 times
Been thanked: 76 times
Contact:

Re: Auto-start of trading system

Postby fbertram » 03 Jan 2015

Hi Ulrich,

I am also experimenting with AutoIT. Any scripts you are willing to share would be highly appreciated.

Thank you,
best regards, Felix

Wally_AD
Posts: 47
Joined: 28 Jan 2014
Has thanked: 8 times
Been thanked: 7 times

Re: Auto-start of trading system

Postby Wally_AD » 03 Jan 2015

Hi,
please see the attached files.
Hope it helps.
Regards
Attachments
Start_Stop_MC.zip
(1.85 KiB) Downloaded 240 times

User avatar
fbertram
Posts: 166
Joined: 16 Oct 2014
Location: Seattle, USA
Has thanked: 36 times
Been thanked: 76 times
Contact:

Re: Auto-start of trading system

Postby fbertram » 09 Mar 2015

I have shared some code here:
viewtopic.php?f=20&t=48295


Return to “MultiCharts”