Plot Composite Index ??  [SOLVED]

Questions about MultiCharts and user contributed studies.
Spaceant
Posts: 254
Joined: 30 May 2009
Has thanked: 1 time
Been thanked: 3 times

Plot Composite Index ??  [SOLVED]

Postby Spaceant » 04 Feb 2010

Hi,

In Metastock, we can plot a Composite that consists of two securities (or tickers), A and B, say 2A-3B. Eventually, you can plot a candlestick (or other type) chart with this Composite. You can also plot indicators with this Composite just like what you can do with a symbol.

Is it possible to do it in MC?

Regards,

Sa

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

Postby TJ » 04 Feb 2010


Spaceant
Posts: 254
Joined: 30 May 2009
Has thanked: 1 time
Been thanked: 3 times

Postby Spaceant » 05 Feb 2010

TJ,

Thanks, I think that I am looking for.

weitau
Posts: 15
Joined: 24 Jun 2009

Re: Plot Composite Index ??

Postby weitau » 04 Oct 2012

Hi, I am looking to do the same thing, but the link to the solution is dead. Is there a replacement link? thanks!

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

Re: Plot Composite Index ??

Postby TJ » 04 Oct 2012

Hi, I am looking to do the same thing, but the link to the solution is dead. Is there a replacement link? thanks!
You can use the indicator "Spread - Diff".

weitau
Posts: 15
Joined: 24 Jun 2009

Re: Plot Composite Index ??

Postby weitau » 04 Oct 2012

Thanks! but that only uses two symbols.

I would like the plot my own index, using 100 stocks with different weightings. For example, MyIndex =.25 * AAPL(close) + .50 * IBM(close) + .25 * GOOG(close)

Any ideas would be appreciated!

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

Re: Plot Composite Index ??

Postby TJ » 04 Oct 2012

Thanks! but that only uses two symbols.

I would like the plot my own index, using 100 stocks with different weightings. For example, MyIndex =.25 * AAPL(close) + .50 * IBM(close) + .25 * GOOG(close)

Any ideas would be appreciated!
1. Load the 100 stocks into your chart as 100 data serieses.

2. create an indicator with 100 data.


use this:

Code: Select all

var:
MyIndex(0),
aapl(0), ibm(0)....etc., ;

aapl = close data1;
ibm = close data2;
...etc.,


MyIndex =.25 * AAPL + .50 * IBM + .25 * GOOG... etc.,

Plot100(MyIndex, "MyIndex");

weitau
Posts: 15
Joined: 24 Jun 2009

Re: Plot Composite Index ??

Postby weitau » 05 Oct 2012

wow, this works! thank you very much!

weitau
Posts: 15
Joined: 24 Jun 2009

Re: Plot Composite Index ??

Postby weitau » 05 Oct 2012

Unfortunately Multicharts cannot handle more than say, 20 symbols. The chart window gets cluttered, and Hiding the data object does not help.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Plot Composite Index ??

Postby Henry MultiСharts » 08 Oct 2012

Unfortunately Multicharts cannot handle more than say, 20 symbols. The chart window gets cluttered, and Hiding the data object does not help.
You need to have a big screen in order to see a lot of data series on the chart. If there is not enough space on your screen you can hide the status line and collapse data series or hide data series at all.


Return to “MultiCharts”