Login Page - Create Account

Support Board


Date/Time: Mon, 10 Nov 2025 00:16:25 +0000



Function sc.SetChartTradeMode() Failed

View Count: 206

[2025-09-22 03:15:49]
Tony - Posts: 643
Hi,

I am trying to set Chart Trade Mode on and off by ACSIL, but it had no effect.
sc.SetChartTradeMode(sc.ChartNumber, 1);

I get the return value correctly though,
int ReturnValue {0};
ReturnValue = sc.SetChartTradeMode(sc.ChartNumber, 1);

but the function doesn't enable or disable Chart Trade Mode.

Not sure what I missed, thanks so much!
Date Time Of Last Edit: 2025-09-22 03:16:39
[2025-09-22 11:12:23]
Sierra_Chart Engineering - Posts: 21356
Is the study on a Trading DOM type of chart? In which case, it is not going to get disabled.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-09-22 14:08:42]
Tony - Posts: 643
No, the study is not on a Trading DOM type chart, it is on a Range Candle Bar chart.
I tried 5-minute chart as well, same result.
Date Time Of Last Edit: 2025-09-22 14:16:27
[2025-09-24 05:19:30]
Sierra_Chart Engineering - Posts: 21356
This will be resolved in the next release.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account