May I show Indicator data on MarketScanner?

Questions about MultiCharts and user contributed studies.
ctu1121
Posts: 135
Joined: 05 Jul 2012
Has thanked: 10 times
Been thanked: 4 times

May I show Indicator data on MarketScanner?

Postby ctu1121 » 16 Sep 2014

Hi,
May I show indicator data on MarketScanner?
For example, I draw SPY chart as data1 and TLT chart as data2, my code is below:

Code: Select all

value1=close of data1*100;
value2=close of data2*200;
plot1=value1+value2;
I would like to insert SPY and plot1 data on MarketScanner. I would like to write study
code to do some analysis. Could I insert plot1 data on MarketScanner?

Many thanks.
Charles

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

Re: May I show Indicator data on MarketScanner?

Postby Henry MultiСharts » 16 Sep 2014

Hello Charles,

Yes, it can be done. Please keep in mind that you can access only data1 (there no subcharts) in the scanner.

ctu1121
Posts: 135
Joined: 05 Jul 2012
Has thanked: 10 times
Been thanked: 4 times

Re: May I show Indicator data on MarketScanner?

Postby ctu1121 » 16 Sep 2014

Hi, thanks for your reply. May I have further question as below:
1.May I export indicator and create data1 by myself? If yes, then I could access data1 on scanner.
2.May I send indicator value to Global Variable, then request it on scanner?

Thanks again.

Charles

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

Re: May I show Indicator data on MarketScanner?

Postby Henry MultiСharts » 17 Sep 2014

1.May I export indicator and create data1 by myself? If yes, then I could access data1 on scanner.
Yes, that is possible to export indicator values and import them into an instrument.
2.May I send indicator value to Global Variable, then request it on scanner?
Yes, it can be done as well.

ctu1121
Posts: 135
Joined: 05 Jul 2012
Has thanked: 10 times
Been thanked: 4 times

Re: May I show Indicator data on MarketScanner?

Postby ctu1121 » 23 Sep 2014

Hi there,
May I have your instruction how to export indicator value and import into as instrument?
And how to use Global Variable, then request it on scanner? Thanks for your great help.

Charles

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

Re: May I show Indicator data on MarketScanner?

Postby Henry MultiСharts » 26 Sep 2014

Hello Charles,

You can save the indicator values to a file using Print or FileAppend or export the data + indicator values from the chart (File->Export data). Then you can create an instrument manually and import the indicator data into it to plot it as an instrument on a chart.

For Global Variables please see the respective Wiki article: Global Variables.


Return to “MultiCharts”