Market Scanner with market value with USD currency

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

Market Scanner with market value with USD currency

Postby ctu1121 » 17 Jun 2013

Hi, I am using Market Scanner to compare some index's correlation.
For example, I would like to calculate the correlation among HSI (Hong Kong future), DAX and SP500.

I insert ^HSI(HSI), ^GDAXI(DAX) and ^GSPC(SP500) on Market Scanner and I could see last price of these index.
I also would like to see index market value in USD. For example, ^HSI market value is 21225.9*50/7.7598, where 21225.9 is HSI close price, 50 is HSI point value 50 HKD, 7.7598 is USD.HKD. Please advise how could I write study to ask MultiCharts Market Scanner help me to calculate HSI market value in USD?

Thanks!

Charles

User avatar
piranhaxp
Posts: 241
Joined: 18 Oct 2005
Has thanked: 4 times
Been thanked: 30 times

Re: Market Scanner with market value with USD currency

Postby piranhaxp » 18 Jun 2013

I'm not sure but don't see any chance except (with ELC tick by tick or so ?) to do so till it will be possible to reference a different symbol as data2 in the Market Scanner. But still open to learn about any news and developments I missed from the past ....

Mike

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

Re: Market Scanner with market value with USD currency

Postby Henry MultiСharts » 18 Jun 2013

Hello Charles,

In Market Scanner that is possible to reference one data series only. In order to reference the values of multiple instruments in the same code you can use Global Variables. You can also use it to transfer the exchange rate for price conversion into USD.

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

Re: Market Scanner with market value with USD currency

Postby ctu1121 » 30 Jun 2013

Hi,
Thanks for your email. I have used Global Variables to import currency data to calculate successfully.

I have further question, could Global Variables import "variable"?
For example, may I use Global Variables to import real time EUR.USD?
If I setup 1 min K bar, I will get updated EUR.USD every min.
If the answer is yes, then I can calculate real time DAX market value in USD.

Thanks for your valuable information.

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

Re: Market Scanner with market value with USD currency

Postby Henry MultiСharts » 01 Jul 2013

Yes, that is possible to do that.


Return to “MultiCharts”