How would I access the current account balance from a strategy? I see there is an Account property that is accessible from the strategy, but it is a String and not an object. Any hints?
Accessing Account balance from strategy. [SOLVED]
Questions about MultiCharts .NET and user contributed studies.
4 posts • Page 1 of 1
You need to check the amount of elements in the Accounts.Items collection first, then you can extract a value from this collection. The attached sample code will output profile name and balance to the Output tab of the PL .Net Editor.
- (1.94 KiB) Downloaded 606 times