Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 13:49:16 +0000



SendOrdersToTradeService is not consistent with 'Trade

View Count: 1211

[2018-04-11 14:35:24]
User366976 - Posts: 3
Hello,

I have study for automated trading and today the study wanted to entry the market with following result:

ZBM8 #1 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. | 2018-04-11 05:55:037

The setting I had following in TRADE menu:
Trade Simulation Mode On = without check mark
Auto Trading Enabled - Global = check mark is present
Auto Trading Enabled - Chart = check mark is present

In the study I have this part of code:
SCInputRef OrdersToServer = sc.Input[1];
OrdersToServer.Name = "OrdersToServer (No=SIM, Yes=Live):";
OrdersToServer.SetYesNo(0);
sc.SendOrdersToTradeService = OrdersToServer.GetYesNo();

And in the study input it was switched to YES.

Can you help and explain?

Thank you
[2018-04-11 19:18:40]
Sierra Chart Engineering - Posts: 104368
Refer to:
Automated Trading Management: SendOrdersToTradeService

Make sure this line:
sc.SendOrdersToTradeService = OrdersToServer.GetYesNo();

Is below the sc.SetDefaults code block.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-04-11 19:18:46

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

Login

Login Page - Create Account