Login Page - Create Account

Support Board


Date/Time: Mon, 10 Mar 2025 10:34:06 +0000



Post From: ACSIL Example Study (TradingTriggeredStopOrderEntry) Orders not executing?

[2022-03-19 06:20:09]
User92573 - Posts: 547
I think I need a few days away.

So, the issue was that I'd incorrectly read the support information and then applied some flawed logic of my own when setting things up.

I completed what seemed all of the necessary steps and then while going through the Trade menu rationalised that I would not need 'Auto Trading Enabled - Global' as I was only using that one test chart and thus, 'Auto trading Enabled - Chart' was the only option required (that simple).

Automated Trading From an Advanced Custom Study: Debugging/Troubleshooting Automated Trading Systems

For the automated trading system study to be allowed to send orders whether simulated or non-simulated, it is also necessary to enable Trade >> Auto Trading Enabled.

... which is the information that registered

Automated Trading Management: SendOrdersToTradeService

SendOrdersToTradeService
This variable applies to the automated trading system it is set on. The default value for this variable is FALSE (No).
Setting SendOrdersToTradeService to FALSE (No) will send all orders and order actions to the Sierra Chart Trade Simulation system.

... I'd already included this so I went straight back to the platform and applied my 'flawed logic' without reading the next snippet a few lines further down.

However, the SendOrdersToTradeService automated trading management variable must be set consistently with the global Trade >> Trade Simulation Mode On setting on the menu, otherwise order actions will be ignored.

I spent a few hours reprogramming and rethinking all of my code but nothing seemed to work so I decided to use the actual ACS code from Sierra which didn't work either, hence the support request.

To summarise. If the outcome is not as expected always re-read the excellent documentation thoroughly from start to finish before questioning your own work.

Thank you for taking the time to reply. Very helpful.
Date Time Of Last Edit: 2022-03-19 06:22:55