Login Page - Create Account

Support Board


Date/Time: Sat, 12 Jul 2025 05:01:52 +0000



Trading System Based on Alert Condition - Not placing trades in Sim Env

View Count: 65

[2025-07-10 19:19:16]
ramsoft2003 - Posts: 11
Dear Sierra Chart Support,

I’m currently experiencing an issue with automated trading using Trading System Based on Alert Condition study. While my alert formulas are triggering correctly and showing up in the Alerts Log, no trades are being placed. The Trade Service Log consistently reports the following error:

“Trading is not allowed. Reason: Formula state has not changed. Current state: False.”

I have double-checked the following settings:

Automated trading is enabled both globally and for the chart.

The alert formulas trigger correctly and are visible in the Alert Manager.

Manual trading works without any issues.

Order Quantity and Symbol are valid.

Study settings allow order placement.

Despite this, no trades are executed when the entry condition becomes true. To assist you in reproducing and diagnosing the issue, I’ve attached the chartbook I’m currently using.

Could you please test the setup and advise what might be causing this issue?

Thank you for your assistance.

Best regards,
Ramkumar
attachmentChartbook53.Cht - Attached On 2025-07-10 19:13:33 UTC - Size: 6.1 KB - 3 views
imagetrade-service-log.png / V - Attached On 2025-07-10 19:13:48 UTC - Size: 166.52 KB - 6 views
[2025-07-10 20:13:50]
John - SC Support - Posts: 40857
We looked at just the "Long Entry" and it is working fine for us.

Make sure you have the entry for "Send Trades to Trade Service" set properly depending on whether you are in Simulation Mode or live trading.

The other thing to keep in mind is that you have the option for "Evaluate on Bar Close Only" set to "Yes". So if the condition becomes true intrabar, you will get a notification that the alert is true, but the trade will not occur at that time. If the condition then goes to False before the bar closes, then no trade will occur.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-07-11 14:53:12]
ramsoft2003 - Posts: 11
Thanks. I tested it again in sim mode and it works but kind of on and off meaning, i want the trades to be placed whenever there is a slope change from positive to negative and vice versa but it places trade during some slope change and not during others. so wondering if i have to tweak anything or change the formula to support for every slope change.
[2025-07-11 15:22:52]
John - SC Support - Posts: 40857
As we noted above, we think what you are seeing is due to having the option for "Evaluate on Bar Close Only" set to "Yes". Try setting this to "No" and see if you get what you want.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-07-11 16:36:32]
ramsoft2003 - Posts: 11
These are the errors i get after a trade gets placed. Basically its not flattening when the slope changes and place the next trade. Keep throwing these errors. Appreciate if you can check all five studies i added in the chart and confirm if it flattens after a slope change and place the next order like short entry and vice versa.

2025-07-11 16:13:44.122 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Short Entry | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
2025-07-11 16:13:44.122 | MNQU25_FUT_CME 4.00 Range #1 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. SendOrdersToTradeService=1, TradeSimulationModeOn=1
2025-07-11 16:13:44.122 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Flatten | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
2025-07-11 16:18:10.019 | Auto-trade: MNQU25_FUT_CME 4.00 Range #1 | Short Entry | SellEntry | Bar start date-time: 2025-07-11 12:17:04.416 | SellEntry signal is ignored because Long position quantity or working Buy order exists. Position with working orders quantity: 1
2025-07-11 16:18:10.019 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Short Entry | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
2025-07-11 16:18:10.019 | MNQU25_FUT_CME 4.00 Range #1 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. SendOrdersToTradeService=1, TradeSimulationModeOn=1
2025-07-11 16:18:10.019 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Flatten | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
2025-07-11 16:19:30.108 | Auto-trade: MNQU25_FUT_CME 4.00 Range #1 | Short Entry | SellEntry | Bar start date-time: 2025-07-11 12:19:17.475 | SellEntry signal is ignored because Long position quantity or working Buy order exists. Position with working orders quantity: 1
2025-07-11 16:19:30.108 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Short Entry | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
2025-07-11 16:19:30.108 | MNQU25_FUT_CME 4.00 Range #1 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. SendOrdersToTradeService=1, TradeSimulationModeOn=1
2025-07-11 16:19:30.108 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Flatten | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
2025-07-11 16:24:32.851 | Auto-trade: MNQU25_FUT_CME 4.00 Range #1 | Short Entry | SellEntry | Bar start date-time: 2025-07-11 12:24:05.677 | SellEntry signal is ignored because Long position quantity or working Buy order exists. Position with working orders quantity: 1
2025-07-11 16:24:32.851 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Short Entry | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
2025-07-11 16:24:32.851 | MNQU25_FUT_CME 4.00 Range #1 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. SendOrdersToTradeService=1, TradeSimulationModeOn=1
2025-07-11 16:24:32.851 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Flatten | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
2025-07-11 16:26:22.809 | Auto-trade: MNQU25_FUT_CME 4.00 Range #1 | Short Entry | SellEntry | Bar start date-time: 2025-07-11 12:26:07.147 | SellEntry signal is ignored because Long position quantity or working Buy order exists. Position with working orders quantity: 1
2025-07-11 16:26:22.809 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Short Entry | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
2025-07-11 16:26:22.809 | MNQU25_FUT_CME 4.00 Range #1 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. SendOrdersToTradeService=1, TradeSimulationModeOn=1
2025-07-11 16:26:22.809 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Flatten | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
2025-07-11 16:28:48.570 | Auto-trade: MNQU25_FUT_CME 4.00 Range #1 | Short Entry | SellEntry | Bar start date-time: 2025-07-11 12:28:46.796 | SellEntry signal is ignored because Long position quantity or working Buy order exists. Position with working orders quantity: 1
2025-07-11 16:28:48.570 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Short Entry | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
2025-07-11 16:28:48.570 | MNQU25_FUT_CME 4.00 Range #1 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. SendOrdersToTradeService=1, TradeSimulationModeOn=1
2025-07-11 16:28:48.570 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Flatten | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
2025-07-11 16:31:39.868 | Auto-trade: MNQU25_FUT_CME 4.00 Range #1 | Short Entry | SellEntry | Bar start date-time: 2025-07-11 12:31:19.600 | SellEntry signal is ignored because Long position quantity or working Buy order exists. Position with working orders quantity: 1
2025-07-11 16:31:39.868 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Short Entry | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
2025-07-11 16:31:39.868 | MNQU25_FUT_CME 4.00 Range #1 | SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting. Order action ignored. SendOrdersToTradeService=1, TradeSimulationModeOn=1
2025-07-11 16:31:39.868 | Chart: MNQU25_FUT_CME 4.00 Range #1 | Study: Flatten | General order error. Refer to 'Trade >> Trade Service Log' for specific message for this trading action error
Date Time Of Last Edit: 2025-07-11 16:37:16
[2025-07-11 18:57:10]
John - SC Support - Posts: 40857
What you are asking is beyond the scope of our support. There is not an issue with the study - we can guarantee this. You need to look at each situation and determine what is occurring.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-07-11 21:03:28]
ramsoft2003 - Posts: 11
Are there any paid dedicated support available ?
[2025-07-11 21:10:35]
John - SC Support - Posts: 40857
Check with the people at the following link:
Sierra Chart Personal Assistance
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-07-11 23:12:21]
Sawtooth - Posts: 4238
SendOrdersToTradeService is not consistent with 'Trade >> Trade Simulation Mode On' setting.
These two settings are mutually exclusive:
If they are both Yes/On, of both No/Off, nothing happens.
To trade in Sim, 'Trade >> Trade Simulation Mode On' must be checked, and SendOrdersToTradeService must be No.
To trade Live, 'Trade >> Trade Simulation Mode On' must be unchecked, and SendOrdersToTradeService must be Yes.

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

Login

Login Page - Create Account