MT4 - Creating a new price stream

This is a discussion on MT4 - Creating a new price stream within the Trading Software forums, part of the Trading Tools category; Hi. Firstly I'm not that computer savvy and know very little about programming in Mt4 so please excuse me if ...

Reply
 
LinkBack Thread Tools Search this Thread
Old Jul 18, 2012, 9:08am   #1
New Member
 
alienonweed's Avatar
 
Member Since Jul 2008
Default MT4 - Creating a new price stream

Hi.

Firstly I'm not that computer savvy and know very little about programming in Mt4 so please excuse me if this has been covered before.

What I am looking to do is to create an index chart based on the OHLC values from other forex pairs. I would like to do this with about 10 pairs.

As an example, if I was only looking at 3 pairs, Aud/Usd, Aud/Jpy and Usd/Jpy. then I would like to create 3 separate price charts for each currency, Aud,Jpy and Usd based on data from the 3 pairs with equal weightings.

So lets say on the USD index the base value for the index is 100 then on the next day the candle will be calculated as follows:

Open = 100*(((1/AUopen)/(1/AUclose[-1]))*1/2 + (UJopen/UJclose[-1])*1/2);

High = 100*(((1/AUlow)/(1/AUclose[-1]))*1/2 + (UJhigh/UJclose[-1])*1/2);

Low = 100*(((1/AUhigh)/(1/AUclose[-1]))*1/2 + (UJlow/UJclose[-1])*1/2);

Close = 100*(((1/AUclose)/(1/AUclose[-1]))*1/2 + (UJclose/UJclose[-1])*1/2);

I would calculate a AUD and JPY index chart as well.

I can currently do this in excel very easily but the problem is that you can't change timeframes as quickly without reloading new data etc. It would be really easy if these indexes were separate candlestick charts in MT4.

Now my question is, can this be done on MT4 and how tedious is it to do? Or has this been done before? If so, please could you post a link to the page as I couldn't find it.

Thanks alot
alienonweed is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
MT4 and IG Index price discrepancies ffchaci Spread Betting & CFDs 50 May 23, 2013 4:56pm
Creating a template for MT4 - need help! Joseff Trading Software 2 Jan 26, 2012 8:48pm
Help with creating a mt4 template nish_76 Trading Software 0 May 24, 2011 5:54am
stream live option price and volume to excel Dcai88 Futures & Options 4 Oct 26, 2010 9:41pm
MT4: The Best Price Possible jamespp83 Trading Software 1 Dec 2, 2009 3:40pm