Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 12:23:40 +0000



Is it possible to add remote control to a study running in Sierra Charts software?

View Count: 1174

[2023-07-27 17:14:02]
diovisgood - Posts: 2
Hello!

We are choosing the platform to host our trading strategy.
We would like to control the running strategy using Telegram bot.
By control I mean: start, pause, stop and get current status of the trading account.

I have already read several threads on Support Board:
- Integrating SC with other systems and Time Series Search in SC (Integrating SC with other systems and Time Series Search in SC)
- Python, DTC protocol and ZeroMQ (Python, DTC protocol and ZeroMQ)
- TCP/IP Server in custom study (TCP/IP Server in custom study)
- C++ threads inside a ACSIL study? (C++ threads inside a ACSIL study?)
- SC as a frontend for proprietary trading platform? (SC as a frontend for proprietary trading platform?)

But I would like to hear your confirmation that this is really possible, without bugs and hidden troubles.


P.S. The attached image shows our idea of how this must work.
imageSierra Charts Architecture.drawio.png / V - Attached On 2023-07-27 17:12:13 UTC - Size: 350.02 KB - 119 views
Attachment Deleted.
[2023-07-27 18:55:49]
Sierra_Chart Engineering - Posts: 17191
Why do you want to use Telegram? We would not recommend using telegram but using your own separate computer.

One method would be to use the ACSIL HTTP functions and have them continuously run at a particular interval being called and checking for commands on your server:
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-07-28 09:13:00]
diovisgood - Posts: 2
Why do you want to use Telegram? We would not recommend using telegram but using your own separate computer.

Because how do you start or stop trading strategy when you are far away from your computer running sierra charts?

One way is to create some web site or mobile application to do this.
But using Telegram is much easier as it provides some robust and simple API to build your own GUI with commands and buttons.


One method would be to use the ACSIL HTTP functions and have them continuously run at a particular interval being called and checking for commands on your server:

Thanks, this is one way.
But I personally like the other way with ZeroMQ, described in this thread:
TCP/IP Server in custom study
[2023-08-02 00:22:14]
Sierra_Chart Engineering - Posts: 17191
Ok, you are not going about this in the right way. Definitely do not use Telegram.

That is not going to be reliable.

You are going to want to lease a dedicated server in a data center. That server should be running a version of Windows. We would recommend server 2012 R2 or Server 2016 but nothing later. But that is up to you regarding the version of Windows.

And then you just log in remotely to that server using Windows Remote Desktop and do whatever you need to do with Sierra Chart, remotely.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-08-02 00:22:43
[2023-08-02 06:35:43]
User61168 - Posts: 403
Hi diovisgood, This thread reminds me of a comprehensive solution I had developed years ago for MT4 platform to control the execution of Expert Advisor using the MT4 mobile app. In principle, it could be done for Sierra Chart as well. Here's the framework at a high level.

1) In the EA, you code all the "menu" of commands you want EA to do. 1 to close all positions, 2, cancel stop trading when daily profit met etc etc.... A similar menu of commands it could be done in a Alert condition as part of the study collection in Sierra chart.

2) On MT4 mobile, enter pending order(s) with QTY value corresponding to each "menu command" value and at price of 0.0001 far away so the GTC order will never trigger. Manage these pending orders remotely via MT4 mobile to control the EA. It's worked beautifully.

Similarly, you could use Sierra Charts' web panel tool to enter such pending orders remotely to control the AUTO trading capabilities. When there are no pending orders, the autotrading should run indefinitely (unless you have some cancel all pending/working orders before exit criteria.

Please Let us know which solution you go with as this is something I would want to implement soon as well for all my trading algos once I mature my capability with auto trading.

And then you just log in remotely to that server using Windows Remote Desktop
... this is the route I would also take but network latency for Remote Desktop connection needs to be factored. When I tried this, it was just too slow for me. The VPS provider could not do anything about it.
Date Time Of Last Edit: 2023-08-02 06:42:24
[2023-08-06 05:37:00]
Ticks - Posts: 183
I don't see the point of going thru all the hassle and expense.
I use Team Viewer on my 5G phone to remote back to my trading desk when Im out of the office.
It's free and works great.
I have the ability to view all 8 of my screens along with the ability to enter orders and click buttons in SC to place manual trades.
Can even control my automated strats too.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account