What's the value of Portfolio_InvestedCapital?  [SOLVED]

Questions about MultiCharts and user contributed studies.
thomashck
Posts: 22
Joined: 06 Oct 2013
Has thanked: 25 times
Been thanked: 2 times

What's the value of Portfolio_InvestedCapital?

Postby thomashck » 24 Sep 2015

Any help will be appreciated.

The scenario is as below:

I use symbol mapping to watch Google stock and trade Google futures. That means I have Google stock on chart but actually my position in broker side is Google futures.

if I buy 100 shares@$500 of Google stock on chart.
Actually I got long 100 contracts@500 of Google future in broker.

Which one is the value of Portfolio_InvestedCapital?
1. 100x500 = 50,000 the stock market value.
or 2. 100x500x20% = 10,000 the futures margin.

khalaad
Posts: 323
Joined: 07 Jan 2007
Location: Lahore, Pakistan
Has thanked: 64 times
Been thanked: 57 times

Re: What's the value of Portfolio_InvestedCapital?

Postby khalaad » 25 Sep 2015

Any help will be appreciated.

The scenario is as below:

I use symbol mapping to watch Google stock and trade Google futures. That means I have Google stock on chart but actually my position in broker side is Google futures.

if I buy 100 shares@$500 of Google stock on chart.
Actually I got long 100 contracts@500 of Google future in broker.

Which one is the value of Portfolio_InvestedCapital?
1. 100x500 = 50,000 the stock market value.
or 2. 100x500x20% = 10,000 the futures margin.
Trading is essentially risk management; therefore, one's answer should be dependent on the what one wants to achieve. For instance, I would use the actual amount of margin money (in your account) for calculating the risk percent per trade. However, the P/L is based on the full value of the underlying instrument.

Khalid

thomashck
Posts: 22
Joined: 06 Oct 2013
Has thanked: 25 times
Been thanked: 2 times

Re: What's the value of Portfolio_InvestedCapital?

Postby thomashck » 27 Sep 2015

Trading is essentially risk management; therefore, one's answer should be dependent on the what one wants to achieve. For instance, I would use the actual amount of margin money (in your account) for calculating the risk percent per trade. However, the P/L is based on the full value of the underlying instrument.
Khalid, thanks a lot. I think it's my bad that I get you wrong understanding with my question. "Portfolio_InvestedCapital" is a keyword which I use in my signal. I want to know how many I have invested at this moment and how many left can be invested. It's all about how many shares/contracts I can put into order.

Any idea will be highly appreciated!

khalaad
Posts: 323
Joined: 07 Jan 2007
Location: Lahore, Pakistan
Has thanked: 64 times
Been thanked: 57 times

Re: What's the value of Portfolio_InvestedCapital?  [SOLVED]

Postby khalaad » 27 Sep 2015

Trading is essentially risk management; therefore, one's answer should be dependent on the what one wants to achieve. For instance, I would use the actual amount of margin money (in your account) for calculating the risk percent per trade. However, the P/L is based on the full value of the underlying instrument.
Khalid, thanks a lot. I think it's my bad that I get you wrong understanding with my question. "Portfolio_InvestedCapital" is a keyword which I use in my signal. I want to know how many I have invested at this moment and how many left can be invested. It's all about how many shares/contracts I can put into order.
Any idea will be highly appreciated!
The short answer to your query is that "2. 100x500x20% = 10,000 the futures margin" is the Portfolio_InvestedCapital for the trade. However, if there is another open trade with 15,000 margin, then to the best of my knowledge the Portfolio_InvestedCapital would be 25,000.

When I wrote my initial reply, I fully knew Portfolio_InvestedCapital is a PowerLanguage function. I was also cognisant how much capital a trader ties up in a trade is not the same as % risk per trade. For instance, if you put 20% of your account into a stock at $500 per share and risk $50 per share on the stock, then your risk is just 2% of your capital; not 20%. Even though my reply was appropriate in one sense, it was too indirect, nuanced, and very short! And I owe you an apology.

But because you " want to know how many I have invested at this moment and how many left can be invested" I am sure you understand you will have to factor in:

• the % risk per trade; and
• the portfolio heat;

into your calculations to stay out of trouble!!

Khalid

khalaad
Posts: 323
Joined: 07 Jan 2007
Location: Lahore, Pakistan
Has thanked: 64 times
Been thanked: 57 times

Re: What's the value of Portfolio_InvestedCapital?

Postby khalaad » 27 Sep 2015

Please find attached is what the Dictionary Keyword Reference says about Portfolio_InvestedCapital.

Khalid
Attachments
Portfolio_InvestedCapital.png
(61.14 KiB) Downloaded 760 times

thomashck
Posts: 22
Joined: 06 Oct 2013
Has thanked: 25 times
Been thanked: 2 times

Re: What's the value of Portfolio_InvestedCapital?

Postby thomashck » 01 Oct 2015

The short answer to your query is that "2. 100x500x20% = 10,000 the futures margin" is the Portfolio_InvestedCapital for the trade. However, if there is another open trade with 15,000 margin, then to the best of my knowledge the Portfolio_InvestedCapital would be 25,000.

When I wrote my initial reply, I fully knew Portfolio_InvestedCapital is a PowerLanguage function. I was also cognisant how much capital a trader ties up in a trade is not the same as % risk per trade. For instance, if you put 20% of your account into a stock at $500 per share and risk $50 per share on the stock, then your risk is just 2% of your capital; not 20%. Even though my reply was appropriate in one sense, it was too indirect, nuanced, and very short! And I owe you an apology.

But because you " want to know how many I have invested at this moment and how many left can be invested" I am sure you understand you will have to factor in:

• the % risk per trade; and
• the portfolio heat;

into your calculations to stay out of trouble!!
Thanks, Khalid. It's great helpful.


Return to “MultiCharts”