Forex
Google

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course > Lessons
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-04-2008, 04:40 PM
cockeyedcowboy's Avatar
cockeyedcowboy cockeyedcowboy is offline
Senior Member
 
Join Date: Nov 2005
Posts: 267
cockeyedcowboy is on a distinguished road
Creating Custom symbol Set File

This is a vary simple thing that is not well documented. You can create your own custom symbol set file. You most likely now that bring up the Market Watch window and right clicking on it to view all the symbols avaible to trade on your station.

You can also create your own custom symbol set file so when you right click on the market watch window>>sets section it will display your custom list. My list is named "Trade Symbols". One of the thinks I use this file for is naturely, to only bring up the currencies I am only interested in trading in. But I also use it in my code. If your writing code and want it to look at other symbols then all you have to do is have the code referance this file. This will bypass any other currencies you do not trade.

You could very easily introduce this symbol list by hard coding it in your work, however a more prefered way would be to use your symbols set file. That way if you make changes in your desired currency list it will apply these changes in all occurances of all your code with out even the need to recompile your code.

The only thing is MQ cannot see any file outside of the Expert>file folder and Tester>file folder. There fore you will need to place a copy of your set file in the Tradeterminal>>Expert>>file directory to use it in your code. There is another way and that is to use Codersguru's external file dll. With this dll you can access your custom set file in its natural location under the Tradeterminal>>symbolsets directory. This is not big but its a nice to know and use if the oppertunity arise.


To create your list just right click on the market watch window and select 'showall' this will bring up all the avaible currency pairs on your terminal. All you need to do is to delete the pairs your not interested in trading. When the list is done, Righ click on the market watch window again click on the sets idem then the save as.. name your file and your done.

Keit
Attached Images
File Type: jpg screen shot.jpg (111.1 KB, 57 views)
File Type: jpg File Directory.jpg (68.2 KB, 56 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating of own in meta trade jayaraj Questions 0 07-29-2007 03:15 PM
Help creating an indicator gkozlyk Indicators - Metatrader 4 3 03-28-2007 02:13 AM
Creating an EA matrixebiz Expert Advisors - Metatrader 4 6 12-01-2006 06:04 PM
I need help on creating an Icustom statement for my EA using this indicator as input! iscuba11 Expert Advisors - Metatrader 4 4 09-11-2006 07:18 PM


All times are GMT. The time now is 08:42 AM.