Login Page - Create Account

Support Board


Date/Time: Thu, 16 May 2024 15:57:01 +0000



Post From: SendOrdersToTradeService is not consistent with 'Trade

[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