Had seen this interesting topic in both the traderji and mudraa forum and the credit goes to the creator Mr.RAMDAS DUMBRE(Mumbai).
As everyone knows that most of the MT4 platform is available in demo account at free of cost. So importing the google intraday datafeed into metatrader could be boon for market learners & small investors and for those who cant spend on hefty money on paid softwares and datafeeds to analyse the stock markets. This article explains how to import Google Intraday and EOD NSE datafeed into metatrader.
Step 1: Metatrader 4 Installation
1)Download MT4 platform from any broker. To download XTB Trader (MT4 platform) visit here
2)Install fresh copy of MT4
3)After installation complete MT4 will start and ask you for login or ask for account creation.
Cancel all, we don’t need to create any account with any broker, we don’t require to login to any broker server. Close MT4 and go to step 2.
Step 2 : Copy Files
1)Download MT4 Stock Chart V10.Zip
2)Extract or Unzip the MT4 Stock Chart V10 files to local drive.
3)Now Distribute those files to the respective metatrader 4 folders as shown below
2)C:program files(Metarader 4)expertslibrarieReadWebCSV.mq4
3)C:program files(Metarader 4)expertslibrarieReadWebCSV.ex4
4)C:program files(Metarader 4)expertsincludeReadWebCSV.mqh
5)C:program files(Metarader 4)expertsfilessymbols.txt
6)C:program files(Metarader 4)historyNSEsymbols.raw
7)C:program files(Metarader 4)historyNSEsymgroups.raw
8)C:program files(Metarader 4)templatesdefault.tpl
9)C:program files(Metarader 4)expertsscriptsScript Create Symbol List V10.mq4
Step 3 : Login Setup
1)Start MT4, it will ask you to login, put 1234 in login and 1234 in Password field.
2)Put NSE in server field.
3)Click save account information and click Login button.
4)Login window will go and server connection status at right bottom corner of MT4 will be not connected.
Step 4 : How to enable all symbols
1)Now Go to View -> Market Watch or Ctrl+M
2)You will see Market watch window with symbols name, right click on any symbol and select Show All. This will show all symbol in market watch.
4)Go to MT4 tools – > options -> expert adviser, in this select allow DLL import. This is required for MT4 to access ReadWebCSV.mq4
Step 5 Opening new chart.
1)Right click on any symbol name and select Chart Window
2)One Blank chart will get Open. Click on Monthly Time frame MN
3)Now go View -> Navigator or Ctrl+N
4)Then go to Custom Indicator and select indicator NSE Stock Chart V10 Apply this indicator on Chart.
5)Now right click on the chart select->template->save template and save this template as default.tpl
Why we saved this template as default ?
Reason is. Whenever we open new chart , new chart will open with this template and chart timeframe will be Monthly Time frame which is MN and with indicator NSE Stock Chart V10
And indicator NSE Stock Chart V10 fetch data from google finance and creates 1min, 5min 15min, 30min, H1, D1 chart.
Now click on 5min timeframe button and you will see 5min chart, like this you can click D1 button and you will see daily chart.
Button W1 timeframe on toolbar is used to clear all timeframe charts.
If you want to clear all timeframe chart data click button W1 and this will delete data of this stock symbol
In short. MN creates charts of M1 to D1 Timeframe and W1 delete M1 to D1 Timeframe chart data.
Note. When you click W1 still you will able to see M5… M15 chart since data is already loaded in MT4 RAM and it will get clear when you restart MT4.
Now you can open any chart by right click on symbol name.
After 1 to 3 sec blank chart will open, and then you can study M1 to D1 chart by clicking M1 to D1 Timeframe buttons.
Note: M1 15day data featch from google takes 2 to 3 sec that’s why when new chart open, it takes some time to open. If you select only D1 and M15 timeframe which you can do in indicator propertythen chart will open fast. Only M1 takes little longer time.
Creating your own symbol list
For creating your own symbol list we will use script Script Create Symbol List V10.mq4
This script is located under Scripts on the Navigation bar
How to create your own symbol list.
Create one file name symbols.txt which content you script name. e.g below
And save this text file symbols.txt in folder C:program files(Metarader 4)expertsfiles
Then open any chart and apply script Script Create Symbol List V10 on chart and then restart MT4.
And follow step 4 to show all symbol.
Regarding “default.tpl” file for smooth operations
This is important file , when you open new chart it is open with this default template.By default chart with time frame MN will get open , you will not see any chart on MN timeframe.
And indicator NSE Stock Chart V10 is already attached to chart. then when you click timeframe button M5 or M15 you will see those charts.
default.tpl template with some moving average attached with the download file.
When you want your own template with your indicator, you have to create your own template and save it with some name, and you can just apply that template on chart when all timeframe chart get created.
When you want to create your own default template you have to create it on 5min chart or any other timeframe except MN and W1 timeframe.
Here is procedure to setup template
Step 1: Open 5min chart apply all indicator which chart settings as per your requirement.
Step2: Apply indicator NSE Stock Chart V10 on chart.
Step 3: save this template as default.tpl
Step4: go to folder templates and open file default.tpl with Notepad.
Step5: on 3rd line put period=43200 this 43200 is timeframe MN.
Step6: save this file and you are ready to open chart with your own default template.
Settings for 1min Datafeed
1min data featch is disabled, since it takes longer time to featch 1min data. you can see indicator property M1 it is set as false. if you want to see 1min chart just open template file default.tpl with notepad …go to bottom there you will something like below…make M1=1 and save defauilt template file.Then it will show you 1min chart. pl click W1 button to delete old data, then restart MT4.
How to this usefull tool Realtime
1)Download NSE Stock Chart V10 RealTime.mq4
2)Extract the file into C:program files
For using realtime, you have to login to some demo accout, then open any chart which is moving, Nifty chart will be good.
Open Nifty 5Min chart, put indicator NSE Stock Chart V10 RealTime
In indicator property under stock name put e.g ACC .
then go to MT4 – File -> Open Offline –> ACC 5Min chart, and you will see it changes realtime on every tick of Nifty.
In realtime on every tick of Nifty chart data is pull from google finance and chart is created. on ACC 5Min offline chart you can out any indicator and it will work.
if you want ACC 15Min chart, Then just change Nifty chart to M15 and open ACC M15 Offline chart.