Not sure whether I should ask this question in automated trading board. But I believe a lot of you have faced the same problem. Briefly, I am running my automated system on an VPS. Since I am in Asia, most my trading actually happened while I am sleeping. Although the VPS so far is pretty solid, I do want to be prepared for any occational outage or losing RDP connection from my home computer. I believe there is a way to create a sound alarm when losing my RDP connection but just don't know how. Any solutions or advices are welcomed. Thank you!
I don't know of any application or setting. Curious to ask why you need an alarm. Some people have applications that only run while the machine is connected therefore the RDP session must be active and logged in for the applications to work. An inexpensive workaround to that is an RDP inside an RDP. If you RDP into machine one (on the LAN of the target RDP session) and then use that to RDP into your target it usually fixes those issues.
Thank you WinstonTJ for your reply. The reason I want this kind of alarm is because I want to be prepared when I am sleeping and in the meantime may have some positions in the market. When I was trading my strategy on my own computer, I wrote a small disconnection-check-indicator on my sierrachart platform to real-time monitor the connection of datafeed and order execution. Basically it checks the time difference of latest data point and my local computer. Anytime that a longer-than-expected time difference happens indicates a disconnection, then a fire-alarm would wake me up from my sweet dream. However, when I start using VPS, there is another layer of disconnection I have to monitor -- the RDP connection. I believe I can do some similar thing to check the connection of RDP, just don't know how...
Why do you care about losing RDP when you are sleeping? You wake up and do what? Wouldn't you only want to wake up if your trading platform loses the data or trading connection? FWIW I find that Teamviewer is a lot faster and more reliable from Asia.
Because if I lose RDP connection to my VPS, I will have no way knowing whether the data is still connected or not...
Oh I see. In my mind it's better to put your effort into having a backup alarm (i.e. directly to your cell phone over the internet), or even two backup alarms, rather than try to eliminate every point of failure for each alarm. As for your original question, sorry I don't know, maybe a macro program can detect the presence of the RDP window as long as it exists.