Support Board
Date/Time: Mon, 15 Dec 2025 15:11:16 +0000
Getting a handle on all account positions from one chart study?
View Count: 276
| [2025-02-18 18:34:13] |
| LTSys - Posts: 68 |
|
Hi, I am trying to figure out if running a study on a single chart... for example the EURUSD chart... if there is a way to get a handle on all current open orders for the account? For example if the account has a live market buy order for EURUSD with an OCO tied stop and limit order... and the account also has a live market buy order for GBPUSD with an OCO tied stop and limit order.... is there a way to get a handle on all 6 orders from the study that is running on the EURUSD chart? TIA |
| [2025-02-18 19:07:58] |
| User907968 - Posts: 859 |
|
Automated Trading From an Advanced Custom Study Automated Trading From an Advanced Custom Study: sc.GetOrderForSymbolAndAccountByIndex() |
| [2025-02-18 19:16:13] |
| LTSys - Posts: 68 |
|
Thanks... I was hoping for a function like: List orders = GetAllOpenOrders(account); |
| [2025-02-18 19:24:35] |
| User907968 - Posts: 859 |
|
I see, that doesn't exist, but you can quite easily build your own function to create that pattern or something simliar.
|
| [2025-02-18 20:30:51] |
| LTSys - Posts: 68 |
|
I see, that doesn't exist, but you can quite easily build your own function to create that pattern or something simliar.
Ok I'll try that... Date Time Of Last Edit: 2025-02-18 20:47:41
|
To post a message in this thread, you need to log in with your Sierra Chart account:
