Support Board
Date/Time: Fri, 14 Mar 2025 12:20:44 +0000
Consolidating Balances and P&L from Multiple Accounts into a Single View
View Count: 291
[2024-12-15 01:05:10] |
lmahonefutures - Posts: 11 |
Hello, I currently have three $150,000 accounts through a prop firm, and I would like to view them as one combined number instead of managing them separately. This applies to both the account balances and the profit and loss (P&L), as all three accounts are copy trading the same positions. Here’s what I’ve tried so far: I created three separate charts, each with its own attached trade window linked to a specific account. To display the combined balances, I used the "Text Display for Study" tool to pull the account balance information. Then, I paired it with the "Study Subgraphs Add" tool to try and sum the values together. The issue is that the "Text Display for Study" tool seems to pull text-based data from the account balances rather than numeric values, which prevents me from performing calculations like summing them into a total. Is there a way to consolidate the balances and P&L into a single numeric display, so I can view the total combined value across all three accounts in real time? Thank you for your help! |
[2024-12-15 03:55:36] |
Sierra_Chart Engineering - Posts: 18778 |
You can create a custom ACSIL study to do this. There are these ACSIL functions to access all of this data: int32_t(SCDLLCALL* GetNumTradeAccounts)();
int32_t(SCDLLCALL* GetTradeAccountAtIndex)(const int32_t Index, SCString& r_TradeAccount); int (SCDLLCALL* GetTradeAccountData)(n_ACSIL::s_TradeAccountDataFields& r_TradeAccountDataFields, const SCString& TradeAccount); 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 |
[2024-12-21 02:56:31] |
lmahonefutures - Posts: 11 |
Okay - I'm not too familiar with ACSIL, but I guess I'll take a stab at learning it to create this study. Thank you. |
[2024-12-23 14:22:06] |
lmahonefutures - Posts: 11 |
I had a follow up question about this. I've figured out how to pull the balances and combine them, but it's only the cash balances. Is there something I'm missing to be able to pull the Available Funds? (I'm referencing the trade account monitor)
|
[2024-12-23 14:24:53] |
Sierra_Chart Engineering - Posts: 18778 |
Exactly how are you doing this: I've figured out how to pull the balances
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 |
[2024-12-23 23:30:05] |
lmahonefutures - Posts: 11 |
I implemented a study to retrieve and combine cash balances using the m_CurrentCashBalance field from n_ACSIL::s_TradeAccountDataFields. However, I’m looking to also pull the "Available Funds" for each account. Is there a specific field in s_TradeAccountDataFields or another method I should use to access this information?
|
To post a message in this thread, you need to log in with your Sierra Chart account: