Add additional securities to indicator

Questions about MultiCharts and user contributed studies.
Ranguy
Posts: 12
Joined: 08 Dec 2021
Has thanked: 6 times

Add additional securities to indicator

Postby Ranguy » 08 Dec 2021

Hi all,

I would like to add several securities to an indicator. These securities are not shown on the chart.

To be more specific: I would like to compare volume of SPY (on the chart) to volumn of ES front future. I need to access to /ES in the indicator. I could not figure out, how to do that. Any pointers?

Thx in advance

User avatar
Svetlana MultiCharts
Posts: 645
Joined: 19 Oct 2017
Has thanked: 3 times
Been thanked: 163 times

Re: Add additional securities to indicator

Postby Svetlana MultiCharts » 10 Dec 2021

Hello Ranguy,

The securities can be added on a chart, but not to an indicator.

It is possible to get volume of bars by means of an indicator, for example with Volume indicator.
If you want to compare a parameter of several symbols, you need to build a chart with several data series.
Please use Data keyword to refer to different data series, for example:

Code: Select all

var: v1(0); var: v2(0); v1 = volume data1; v2 = volume data2;

Ranguy
Posts: 12
Joined: 08 Dec 2021
Has thanked: 6 times

Re: Add additional securities to indicator

Postby Ranguy » 11 Dec 2021

Thx for your answer

Still, I run in an error. Here is the situation

I have a chart with SPY and want to add ES future

When I try to add ES future, it tells me "Instruments from different time zones cannot be mixed. Please select local Time Zone for all instruments"

I have done that in the QuoteManager > Edit Symbol > SEssions > Local > Added ther very sames local Open & Close times.

How can I fix that?

User avatar
Svetlana MultiCharts
Posts: 645
Joined: 19 Oct 2017
Has thanked: 3 times
Been thanked: 163 times

Re: Add additional securities to indicator

Postby Svetlana MultiCharts » 13 Dec 2021

Please change the time zone on a chart in Format -> Instrument -> Settings -> Time Zone.

Ranguy
Posts: 12
Joined: 08 Dec 2021
Has thanked: 6 times

Re: Add additional securities to indicator

Postby Ranguy » 19 Dec 2021

thx

I need to add several instruments to get the data for my indicator (5 Future contracts). Is there a way to hide this data on the chart? (So the chart is cleaner)

The only thing I have found is format instrument > style > chart type > invisible. However, I would like to remove the whole data series from being visible (while the data remains available for use in indicators)

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

Re: Add additional securities to indicator

Postby TJ » 19 Dec 2021

"Invisible" is the way to do it.

If you need to use the data, you must have it on the chart, whether visible or not.

Ranguy
Posts: 12
Joined: 08 Dec 2021
Has thanked: 6 times

Re: Add additional securities to indicator

Postby Ranguy » 19 Dec 2021

Thx for your answer

currently I have

Chart; inside the chart I have:
[Main data series]
[indicator 1]
[indicator 2]
[Support data series of additional instrument needed for indicator 3]
[indicator 3]

I can make the candles (or what ever you have) on the support data series "invisible". However, I still have the an empty part on the screen.

The last thing is to just minimize the support data series area. This seems like a work around... especially, if you have many additional data series on the chart.

Can anyone pls confirm that this is the only way to hide data series?


Return to “MultiCharts”