Login Page - Create Account

Support Board


Date/Time: Mon, 21 Apr 2025 13:23:34 +0000



Sierra chart not placing SL and TP

View Count: 85

[2025-03-10 11:23:55]
User151964 - Posts: 1
Hello, can you please help me in the following problem:

I'm experimenting with a trading bot, the problem is I have made a custom studie OrderExecutor.cpp wich transmits the OCO orders, but Sierra chart refuses to add SL and TP, I'll attach the .cpp file and the log

Thank you in advance for your time!
attachmentOrderExecutor.cpp - Attached On 2025-03-10 11:13:28 UTC - Size: 12.35 KB - 42 views
attachmentlog sierra.txt - Attached On 2025-03-10 11:13:37 UTC - Size: 12.45 KB - 40 views
[2025-03-10 13:35:10]
Sierra_Chart Engineering - Posts: 19285
This is well outside of the scope of our support to analyze this code.

For an example of an ACSIL trading system that submits Attached Orders, look at this function:
scsf_TradingExampleWithAttachedOrdersDirectlyDefined{}

For further details, refer to:
Automated Trading From an Advanced Custom Study: Example Trading Systems and Code
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
Date Time Of Last Edit: 2025-03-10 13:38:23

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

Login

Login Page - Create Account