Login Page - Create Account

Support Board


Date/Time: Fri, 10 Jan 2025 20:17:01 +0000



sc.IsTradeSimulationModeOn?

View Count: 837

[2016-10-04 07:09:37]
Pinger - Posts: 33
Hi

Is there a "sc.IsTradeSimulationModeOn" variable similar to "sc.IsAutoTradingEnabled"?

The reason I ask is that I would like to be able to do a "if (sc.IsTradeSimualtionModeOn == No && sc.SendOrdersToTradeService == Yes)" test in a study to determine whether I'm sending orders to my trade service or the simulation mode. These variables need to be set consistently so it would be nice to be able to test them together.

Apologies for the question if the variable exists but I can't find it in the documentation.

Kind regards
[2016-10-04 07:11:57]
Sierra Chart Engineering - Posts: 104368
It is:
sc.GlobalTradeSimulationIsOn
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
[2016-10-04 07:20:05]
Pinger - Posts: 33
Many thanks for the swift response.

Cheers

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

Login

Login Page - Create Account