Available Balance - how to get this figure from Power Language script

Questions about MultiCharts and user contributed studies.
andreinvest
Posts: 43
Joined: 27 Oct 2019
Has thanked: 29 times
Been thanked: 1 time

Available Balance - how to get this figure from Power Language script

Postby andreinvest » 30 Jun 2022

Unfortunately i can not calculate Available Balance, how to get this figure from Power Language script.
Is there any function that can give it to me ? I've found just functions at screen attached.
Attachments
2022-06-30_17-37-41.png
(16.9 KiB) Not downloaded yet
2022-06-30_17-13-25.png
(14.18 KiB) Not downloaded yet

User avatar
Kate MultiCharts
Posts: 575
Joined: 21 Oct 2020
Has thanked: 7 times
Been thanked: 144 times

Re: Available Balance - how to get this figure from Power Language script

Postby Kate MultiCharts » 13 Jul 2022

Hi andreinvest,

I’m posting my reply here as well just in case it might be useful to other users :)

Each supported broker provides a unique set of values, and if there's no pre-built function for some of them, you can create a function similar to existing ones, for example GetRTAccountNetWorth

For general OPT values there are the following functions:
GetRTCashBalance - Balance
GetRTAccountEquity - Equity
GetRTUnrealizedPL - Open P/L

andreinvest
Posts: 43
Joined: 27 Oct 2019
Has thanked: 29 times
Been thanked: 1 time

Re: Available Balance - how to get this figure from Power Language script

Postby andreinvest » 21 Jul 2022

Thank you Kate


Return to “MultiCharts”