Forex



Go Back   Forex Trading > Training > Metatrader > Metatrader 4 mql 4 - Development course > Lessons
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 04-04-2008, 05:40 PM
cockeyedcowboy's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 486
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 File Directory.jpg (68.2 KB, 249 views)

Last edited by cockeyedcowboy; 11-04-2008 at 02:21 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 10-15-2008, 01:29 PM
Member
 
Join Date: Oct 2006
Posts: 73
junglelion is on a distinguished road
Open challenge

In simple words, who can list all the forex symbols present in a terminal without declaring them anywhere in the code

The symbols are present in the symbolset, but you have to get it into the code and into the array.

Who can do this.
__________________
This Lion Seeks A Lioness
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 10-15-2008, 08:16 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,079
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
I moved your post to this thread and hope that you will find some info here.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating of own in meta trade jayaraj Questions 0 07-29-2007 04:15 PM
Help creating an indicator gkozlyk Indicators - Metatrader 4 3 03-28-2007 03:13 AM
Creating an EA matrixebiz Expert Advisors - Metatrader 4 6 12-01-2006 07: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 08:18 PM


All times are GMT. The time now is 05:46 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.