Is there any way to automatically re-connect and enable the strategy or avoid being disconnected?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
reconnect on remote host disconnection
Collapse
X
-
reconnect on remote host disconnection
I'm running strategy 24/7. Unfortunately on Sundays my connection gets closed because of "existing connection closed by remote host" (I believe this is some server maintenance). After that my strategy gets closed and I need to 1) manually connect 2) enable the strategy. Often I don't have access to my computer and cannot do it manually.
Is there any way to automatically re-connect and enable the strategy or avoid being disconnected?Tags: None
-
Hello,
Thank you for the question.
Currently in NT7, there would not really be any supported procedures to do X operations and reconnect. This is potentially something that could be completed using third party programs that allow you to record macros. I have seen in the past where users have used macros to complete various windows tasks at timed intervals but do not have any recommendations on this type of software.
Another option would be to create a batch file to kill the task and restart it leaving auto connect on, but that really does not solve enabling strategies or anything else automated thus a macro would really be need or something to control mouse actions in the case of your not being present.
Alternatively you could potentially allow remote access to the PC and use remote access from wherever you are. Teamviewer has both PC and mobile applications which would be one option if your phone supports the app and can utilize the remote connection.
Going forward in NT8, this would be possible using an Addon. Addons specifically have access to Connections for connecting/disconnecting so this will soon be a reality of something you could just program to happen.
If any other users have had the same scenario and have unsupported or other recommendations please feel free to post your own experiences.
I look forward to being of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
77 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
45 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
27 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
63 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment