Support Board
Date/Time: Sun, 07 Sep 2025 19:00:52 +0000
Modifying Stop In Custom Build Automated Trade Study
View Count: 81
[2025-08-29 12:25:02] |
DualADX - Posts: 39 |
Is it possible with study code, not spreadsheet, to modify a stop in an attached order to move stop from one subgraph to another subgraph based on cross over method? For example, stop is placed on a chosen subgraph study line by design, when price crosses over a subgraph, stop gets moved (modified) to a different subgraph study line. I know there is the Trade Management by Study study, but I want to incorporate this type of stop move into the automation and the Trade Management Study is not in the 8 .cpp files to reference stop modification.
|
[2025-08-29 20:42:43] |
Sierra_Chart Engineering - Posts: 20829 |
Yes this is possible. You can use the Trade Management by Study as an example: How to Build an Advanced Custom Study from Source Code: Searching for Source Code for Sierra Chart Built-In Studies The source code of that study is provided. The file is: AutomatedTradeManagementBySubgraph.cpp Use this function to modify the order: Automated Trading From an Advanced Custom Study: sc.ModifyOrder() 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-08-29 20:42:49
|
[2025-08-29 23:24:01] |
DualADX - Posts: 39 |
I cannot find this file in any of the "Studies#" cpp files with a search. AutomatedTradeManagementBySubgraph.cpp
|
[2025-08-30 02:38:03] |
Sierra_Chart Engineering - Posts: 20829 |
Go to the folder Sierra Chart is installed in and then go to this subfolder: /ACS_Source In that folder you will see this file: AutomatedTradeManagementBySubgraph.cpp 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-08-30 02:38:14
|
To post a message in this thread, you need to log in with your Sierra Chart account: