Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 22:47:31 +0000



Trading System Alert Condition : Orders dont fill the Trade Window

View Count: 645

[2023-06-07 06:36:39]
Nicolas Leclercq - Posts: 22
Hi,

I have made a Trading System Alert Condition: Alert trigger well but the Orders dont fill

See my sceenshot for the settings please

Thanks for help

Nico
Date Time Of Last Edit: 2023-06-07 06:37:08
imageAlertOK.png / V - Attached On 2023-06-07 06:36:18 UTC - Size: 167.24 KB - 106 views
imageTradingSystemAlertCondition.png / V - Attached On 2023-06-07 06:36:26 UTC - Size: 69.94 KB - 101 views
[2023-06-07 14:02:17]
John - SC Support - Posts: 36350
You need to check your "Trade >> Trade Service Log" to see what information is in there. If there is an issue, it should be in there.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-06-07 18:29:09]
Nicolas Leclercq - Posts: 22
Hi...i have checked : nothing wrong, no error displayed...see screenshot please

I trade with "SC Data - All Services"
Date Time Of Last Edit: 2023-06-07 19:55:21
imageNoOrderFilled.png / V - Attached On 2023-06-07 19:55:01 UTC - Size: 96.01 KB - 87 views
[2023-06-07 20:16:24]
John - SC Support - Posts: 36350
If your "Current Selected Service" is set to "SC Data - All Services", then you can only trade in Simulation Mode. As such, you need to set the Input on the "Trading System Based on Alert Condition" for "Send Trade Orders to Trade Service" to "No".

Then the trades will show up as Simulation Trades.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-06-07 20:23:32]
Nicolas Leclercq - Posts: 22
OK I will set to "No"

Thanks ^^
[2023-06-08 10:44:51]
Nicolas Leclercq - Posts: 22
Hi John

I have tested with setting "Trading System Based on Alert Condition" for "Send Trade Orders to Trade Service" to "No".
and no Order filled (see screenshot please

the Trade Sevice Log is :

TradeActivity files query time: 2.509717 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:48.106
TradeActivity files query time: 0.001184 seconds. Entries: 0. Current queries: 2 | 2023-06-08 12:30:48.107
TradeActivity files query time: 0.003708 seconds. Entries: 0. Current queries: 2 | 2023-06-08 12:30:48.111
TradeActivity files query time: 0.000548 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:48.211
TradeActivity files query time: 0.000535 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:48.241
TradeActivity files query time: 0.000529 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:48.812
TradeActivity files query time: 0.000490 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:49.261
TradeActivity files query time: 0.000388 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:51.075
TradeActivity files query time: 0.000475 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:51.197
TradeActivity files query time: 0.000507 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:51.355
TradeActivity files query time: 0.000473 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:51.933
TradeActivity files query time: 0.000483 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:52.556
TradeActivity files query time: 0.000490 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:03.091
TradeActivity files query time: 0.000453 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:03.637
TradeActivity files query time: 0.000541 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:04.350
TradeActivity files query time: 0.000417 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:06.036
TradeActivity files query time: 0.000537 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:06.323
TradeActivity files query time: 0.000534 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:06.774
TradeActivity files query time: 0.000387 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:06.777
TradeActivity files query time: 0.000612 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:07.107
TradeActivity files query time: 0.000403 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:07.117
TradeActivity files query time: 0.000380 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:25.296
Formula is not true. Formula state has not changed. Current state: False. BarDate-Time: 2023-06-08 12:15:11.114005 | 2023-06-08 12:31:25.559
Formula is not true. Formula state has not changed. Current state: False. BarDate-Time: 2023-06-08 12:15:11.114005 | 2023-06-08 12:31:25.559
Formula is not true. Formula state has not changed. Current state: False. BarDate-Time: 2023-06-08 12:15:11.114005 | 2023-06-08 12:31:25.899
Formula is not true. Formula state has not changed. Current state: False. BarDate-Time: 2023-06-08 12:15:11.114005 | 2023-06-08 12:31:25.899
Formula is not true. Formula state has not changed. Current state: False. BarDate-Time: 2023-06-08 12:15:55.484000 | 2023-06-08 12:32:00.206
Formula is not true. Formula state has not changed. Current state: False. BarDate-Time: 2023-06-08 12:15:55.484000 | 2023-06-08 12:32:00.206

>>>>>>> Why Formula is not true when its displayed "1" to my spreadsheets Formula study (see screenshot)

I am lost

Nico
imageNoOrderFilled_whenALERTisOK.png / V - Attached On 2023-06-08 10:44:42 UTC - Size: 149.37 KB - 82 views
[2023-06-08 16:21:10]
User395567 - Posts: 5
Hello, im having an issue with my account. Whenever I try and open a position with my account it doesn’t let me and it shows me a message log, on the other hand whenever I enter a trade on simulation mode it allows me to. What could be the Issue and what can I do to fix it? Thanks!

Trade ctivity files query time: 0.005123 seconds. Entries: O, Current queries: 2 | 2023-06-08 15:31:15.415
TradeActivity files query time: 0.001757 seconds. Entries: 154. Current queries: 2 | 2023-06-08 15:31:15.416
TradeActivity files query time: 0.001390 seconds. Entries: 30. Current queries: 1 | 2023-06-08 15:31:20.457
SC Data - All Services | MaxConnectionsDifferentDevices = 1, NumCurrentConnections DifferentDevices = 1 | 2023-06-08 15:31:24.029
SC Data - All Services | MaxConnectionsForSameDevice = 3, NumCurrentConnectionsForSameDevice = 1 | 2023-06-08 15:31:24.029
TradeActivity files query time: 0,001343 seconds. Entries: 30. Current queries: 1 | 2023-06-08 15:40:22.276
TradeActivity files query time: 0.001323 seconds. Entries: 0. Current queries: 1 | 2023-06-08 15:40:30.404
Trade Order Error - Cannot submit non-simulated order when in Trade Simulation Mode. Internal Order ID: 104. Service Order ID: (none). Symbol: F.US.MESM23. Account Trade Order Error - Cannot submit non-simulated order when in Trade Simulation Mode. Internal Order ID: 105. Service Order ID: (none). Symbol: F.US.MESM23, Account:
Trade Order Error - Cannot submit non-simulated order when in Trade Simulation Mode. Internal Order ID: 106. Service Order ID: (none). Symbol: F.US,MESM23. Account
Private File
Attachment Deleted.
[2023-06-08 18:53:41]
John - SC Support - Posts: 36350
The messages are stating "Cannot submit non-simulated order when in Trade Simulation Mode". Therefore, you must be trying to submit a trade to your live trading service, but you are still in Simulation Mode. Refer to the following:
Overview of Trading: Difference between Simulated and Non-Simulated Trading Modes

Another possible option is that you did not change the setting on your "Trading System Based on Alert Condition" for "Send Orders to Trade Service", which would need to be set to "Yes" in order to send orders to your live trading service.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-06-08 21:14:12]
Nicolas Leclercq - Posts: 22
Hi John

and what about my problem

Hi John

I have tested with setting "Trading System Based on Alert Condition" for "Send Trade Orders to Trade Service" to "No".
and no Order filled (see screenshot please

the Trade Sevice Log is :

TradeActivity files query time: 2.509717 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:48.106
TradeActivity files query time: 0.001184 seconds. Entries: 0. Current queries: 2 | 2023-06-08 12:30:48.107
TradeActivity files query time: 0.003708 seconds. Entries: 0. Current queries: 2 | 2023-06-08 12:30:48.111
TradeActivity files query time: 0.000548 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:48.211
TradeActivity files query time: 0.000535 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:48.241
TradeActivity files query time: 0.000529 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:48.812
TradeActivity files query time: 0.000490 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:49.261
TradeActivity files query time: 0.000388 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:51.075
TradeActivity files query time: 0.000475 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:51.197
TradeActivity files query time: 0.000507 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:51.355
TradeActivity files query time: 0.000473 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:51.933
TradeActivity files query time: 0.000483 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:30:52.556
TradeActivity files query time: 0.000490 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:03.091
TradeActivity files query time: 0.000453 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:03.637
TradeActivity files query time: 0.000541 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:04.350
TradeActivity files query time: 0.000417 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:06.036
TradeActivity files query time: 0.000537 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:06.323
TradeActivity files query time: 0.000534 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:06.774
TradeActivity files query time: 0.000387 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:06.777
TradeActivity files query time: 0.000612 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:07.107
TradeActivity files query time: 0.000403 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:07.117
TradeActivity files query time: 0.000380 seconds. Entries: 0. Current queries: 1 | 2023-06-08 12:31:25.296
Formula is not true. Formula state has not changed. Current state: False. BarDate-Time: 2023-06-08 12:15:11.114005 | 2023-06-08 12:31:25.559
Formula is not true. Formula state has not changed. Current state: False. BarDate-Time: 2023-06-08 12:15:11.114005 | 2023-06-08 12:31:25.559
Formula is not true. Formula state has not changed. Current state: False. BarDate-Time: 2023-06-08 12:15:11.114005 | 2023-06-08 12:31:25.899
Formula is not true. Formula state has not changed. Current state: False. BarDate-Time: 2023-06-08 12:15:11.114005 | 2023-06-08 12:31:25.899
Formula is not true. Formula state has not changed. Current state: False. BarDate-Time: 2023-06-08 12:15:55.484000 | 2023-06-08 12:32:00.206
Formula is not true. Formula state has not changed. Current state: False. BarDate-Time: 2023-06-08 12:15:55.484000 | 2023-06-08 12:32:00.206

>>>>>>> Why Formula is not true when its displayed "1" to my spreadsheets Formula study (see screenshot)


!!!! I am lost ;-/

Nico
imageNoOrderFilled_whenALERTisOK.png / V - Attached On 2023-06-08 21:13:45 UTC - Size: 149.37 KB - 74 views
[2023-06-09 14:29:30]
John - SC Support - Posts: 36350
Sorry Nicolas Leclercq, we did not realize that it was someone else posting into the thread you had started.

With regards to your issue - is the Alert condition exactly the same in the Trading System Based on Alert Condition as in the Spreadsheet Formula? The implication is that there is something different, as the Trading System Based on Alert Condition is not going back to False, as it is in your Spreadsheet Formula.

Keep in mind that for an Alert to trigger, it has to go from False to True. Staying at True from bar to bar does not generate a new alert. But your Spreadsheet Formula is showing that the alert was false on the bar before, then goes true and then false again, which should work. This is why we think there must be something different in the actual alert being used in the Trading System.

Another option that could help you is to enable the option for "Reset Alert Condition on New Bar". When this is enabled, then when a new bar is started, the Alert Condition is forced to be false, therefore when the condition is met, it will go to True and generate an alert (trigger an order in this case).
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-06-12 18:15:20]
Nicolas Leclercq - Posts: 22
Hi John,

"is the Alert condition exactly the same in the Trading System Based on Alert Condition as in the Spreadsheet Formula ?"
>>> Yes John, of course

I have tried with your solution : "enable the option for "Reset Alert Condition on New Bar", see screenshot please

but always the same, no Order filled in real and in replay mode

I do not know what to do anymore :-/

Nico
imageAlertCondition_Window.png / V - Attached On 2023-06-12 18:11:16 UTC - Size: 236.48 KB - 75 views
[2023-06-12 21:39:51]
John - SC Support - Posts: 36350
Can you please get us a copy of that chart so we can take a look. Refer to the following instructions:
Support Board Posting Information: Providing Chartbook with Only a Single Chart
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-06-19 17:59:01]
Nicolas Leclercq - Posts: 22
Hi John,

This is the copy of my Chart, where the issue is Order dont fill when Alert condition is true , when I use Trading System Based on Alert Condition
(see in Spreadsheet Formula == same condition)

Thans for your help

Nico
Private File
[2023-06-21 18:44:34]
Nicolas Leclercq - Posts: 22
Hi John,

Is my problem is really ununderstood ?

Can you reply me please ?

Thanks

Nico
[2023-06-22 10:11:16]
Sierra_Chart Engineering - Posts: 17198
We need time to review this. We may not get to this for several days.
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
[2023-06-26 14:10:07]
Nicolas Leclercq - Posts: 22
Hi John,

Can you give me a feedback about my problem please ?

Thanks

Nico
[2023-06-26 19:00:53]
John - SC Support - Posts: 36350
When we look at the formulas in general, they match up. But since you are using the options of "Evaluate on Bar Close Only", "Reset Alert Condition on New Bar", "Alert Only Once Per Bar", and "Evaluate on Bar Close", you can have different effects from the standard "Spreadsheet Formula".

The main item that we wonder if it is causing you an issue is that you have "Evaluate on Bar Close" enabled and you are only calculating 1 bar. This can create a conflict, since the bar is not closed until the new bar starts, so you may be missing items due to this. Change your number of bars to calculate to at least 2. Then see how it works after this.
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