Sei sulla pagina 1di 8

Importing Intraday IEOD data from Metatrader to Amibroker

Posted by Rajandran R on June 20th, 2011 | 1 Comment Share Importing Intraday IEOD data from Metatrader to Amibroker is one of the requirement from most of the amibroker software users to import and analyse Nifty,World Indices, US stocks, Commodities and Forex intraday datas. In this tutorial importing Nifty Intraday data from Metatrader to Amibroker is discussed.

Requirement 1) Metatrader 4 2) Amibroker Ver 4.8 and above 3) MS Excel Step Involved in Exporting Intraday data from Metatrader

1) Open Metatrader 4 2) Goto Tools menu and select Historical Center

3)On the left plane select Indices->INDIA50->1 Minute. Double click on the 1 Minute so that the intraday data occur on right plane

4)Now click on the export tab to export the data and select the file type as .csv format 5)Save the India501.csv in your windows local machine Steps involved in Importing CSV data to Amibroker 1)Open Amibroker 2)Goto File Menu->New->Database and set the database settings as shown

3)Now goto File->Import Wizard and click on the pick files button and select the India501.csv from your windows local machine and Press Next

4)Now set the required field parameters as shown and press next

5)And now press the finish Button.

Finally you could see the 1 min charts imported into your amibroker software and every time you can update the same database using IMPORT ASCII and can use it your own custom amibroker analysis. Do you ever tried testing of real time charts in your Amibroker Software. If not then try start with MT4 Plugin for Amibroker to analyse live forex data. All you need to do is 1)Download Meta Trader 4 2)Install it in your windows system and open a demo account with metatrader 3)Download MT4 Plugin for Amibroker Download MT4 Plugin Follow the procedure to setup live forex data in Amibroker After Downloading MT4 Plugin 1.Copy MT4d.dll to C:\Program Files\AmiBroker\Plugins 2.Copy RateServer.exe to C:\Program Files\AmiBroker 3.Open dos prompt and enter command

[cd C:\Program Files\AmiBroker] [rateserver.exe /regserver] 4.Copy exp.dll to C:\Program Files\MetaTrader 4\experts\libraries 5.Copy exp.mqh to C:\Program Files\MetaTrader 4\experts\include click exp.mqh and compile 6.Copy exportfb.mq4 to C:\Program Files\MetaTrader 4\experts click exportfb.mq4 and compile 7.Run metatrader4, then RateServer is displayed in tasktray Run PluginAB Expert Advisor * check Allow DLL imports 8.Run Amibroker 9.Click Amibroker and click [File]-[Database setting] select Datasource MetaTrader4 data Plug-in and set Base time interval 1Minute or Hourly or EOD 10.[Symbol]-[New] add symbol USDJPY,GBPJPY so on 11. On the Bottom Right corner of Amibroker there is a provision to enable mt4 plugin which is in WAIT status by default. Just change the status to CONNECT http://www.youtube.com/watch?v=AEULG7WOWZI&feature=player_embedded

Potrebbero piacerti anche