Account Equity value for use in an indicator  [SOLVED]

Questions about MultiCharts and user contributed studies.
tozwp
Posts: 145
Joined: 15 Apr 2011
Has thanked: 16 times
Been thanked: 8 times

Account Equity value for use in an indicator

Postby tozwp » 05 May 2016

For position sizing and chart trading I would like to place text on the chart that shows my max position size based on account equity. Is there a function similar to GetRTAccountEquity that I can use in an indicator for use in calculating position size? I've tried using the above function but get an error that it can only be used in a signal. If there isn't a function like this for use in an indicator, is there another way to get this value?

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Account Equity value for use in an indicator

Postby TJ » 05 May 2016

For position sizing and chart trading I would like to place text on the chart that shows my max position size based on account equity. Is there a function similar to GetRTAccountEquity that I can use in an indicator for use in calculating position size? I've tried using the above function but get an error that it can only be used in a signal. If there isn't a function like this for use in an indicator, is there another way to get this value?
A signal does not have to have any BUY or SELL in it.
You can create a signal that only draws text on the screen.

tozwp
Posts: 145
Joined: 15 Apr 2011
Has thanked: 16 times
Been thanked: 8 times

Re: Account Equity value for use in an indicator

Postby tozwp » 06 May 2016

Thanks TJ, I was unaware that I could plot from a signal. I copied the indicator to a signal and it worked.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Account Equity value for use in an indicator  [SOLVED]

Postby TJ » 06 May 2016

Thanks TJ, I was unaware that I could plot from a signal. I copied the indicator to a signal and it worked.
A little correction on terminology...

A signal cannot "PLOT",
but it can make drawing objects. ie. text, trendline, arrow.


I am glad to hear it is working. Thanks for reporting back.


Return to “MultiCharts”