Support Board
Date/Time: Fri, 24 Apr 2026 01:30:53 +0000
Error moving from simulated to live trading
View Count: 286
| [2026-03-09 18:41:09] |
| Knapp-Time - Posts: 5 |
|
I tried to enable "SendOrdersToTradeService" in my custom trading study but trading was not allowed even though I have unchecked "Trade --> Trade Simulation On and the attached trading chart has been changed from a SIM account to my live account. Auto trading is enabled both globally and on the trade entry chart. Here is the exact message: 2026-03-09 13:49:06.447 | NQH26_FUT_CME[M]/MNQH26_FUT_CME [CB][M] 3000 Volume #3 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. SendOrdersToTradeService=0, TradeSimulationModeOn=0 Here is the link to the uploaded screen shot of the chart: https://www.sierrachart.com/image.php?Image=1773081222184.png I am attaching a snippet of my code and a screen shot of the study inputs |
| |
| [2026-03-09 19:44:47] |
| John - SC Support - Posts: 45757 |
|
There is a discrepancy between these settings. We can not say where the problem is, but something is not right. You need to figure out whether "Trade Simulation Mode On" is not set as you expect, or if your program is not setting "SendOrdersToTradeService" properly.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
| [2026-03-10 12:16:13] |
| User431178 - Posts: 863 |
|
Based on your snippet, it looks like you have sc.SendOrdersToTradeService inside the setdefaults block, that won't work as it only runs when you add the study, not when you change settings. Move this line to below the setdefaults block. sc.SendOrdersToTradeService = SendOrdersToService.GetYesNo();
|
| [2026-03-11 18:03:31] |
| Knapp-Time - Posts: 5 |
|
Thanks so much!
|
To post a message in this thread, you need to log in with your Sierra Chart account:
