Login Page - Create Account

Support Board


Date/Time: Wed, 01 May 2024 17:23:52 +0000



Order action ignored.

View Count: 596

[2019-08-29 16:34:40]
User703614 - Posts: 8
I will examine your example:"Trading Example: Moving Average Crossover with Attached Orders"

In sim mode everything is ok!

But when I put on a real account, I have these messages:
F.US.MGCZ19 #1 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. | 2019-08-29 10:38:43.002
F.US.GCEZ19 0.2 Range #2 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. | 2019-08-29 10:46:17.718

I made the only change in the code:
// This is false by default. Orders will go to the simulation system always.
sc.SendOrdersToTradeService = true;

What should I do to make it work on a real account?

Thank you for the great platform!
Private File
[2019-08-29 18:40:54]
User703614 - Posts: 8
problem resolved
found the answer here:
how does sc.SendOrdersToTradeServiceWork?


Thank you for the great platform!

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

Login

Login Page - Create Account