Account Equity value for use in an indicator [SOLVED]
Account Equity value for use in an indicator
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?
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: Account Equity value for use in an indicator
A signal does not have to have any BUY or SELL in it.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?
You can create a signal that only draws text on the screen.
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: Account Equity value for use in an indicator [SOLVED]
A little correction on terminology...Thanks TJ, I was unaware that I could plot from a signal. I copied the indicator to a signal and it worked.
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.