Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
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
  #11 (permalink)  
Old 12-08-2006, 12:29 PM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,218
matrixebiz is on a distinguished road
So if I use 1111 and you use 1111 we are still ok? adn we are on the same platform. Sorry, just confused a bit
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
  #12 (permalink)  
Old 12-08-2006, 12:33 PM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 723
Kalenzo is on a distinguished road
Quote:
Originally Posted by matrixebiz
So if I use 1111 and you use 1111 we are still ok? adn we are on the same platform. Sorry, just confused a bit
Yes, if we both open accounts in the same broker, and we both be using the same magic numbers at the same broker, they will work fine. Magic number is only for inside use of one metatrader installation. It will also work if you will install metatrader twice in separated folders and run both installations with the same broker with the same magic.
__________________
You need proffesional mql coder? Contact me! I will help you!
........................................
http://www.fxservice.eu/
........................................
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
  #13 (permalink)  
Old 12-08-2006, 12:37 PM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,218
matrixebiz is on a distinguished road
Quote:
Originally Posted by Kalenzo
Yes, if we both open accounts in the same broker, and we both be using the same magic numbers at the same broker, they will work fine. Magic number is only for inside use of one metatrader installation. It will also work if you will install metatrader twice in separated folders and run both installations with the same broker with the same magic.
Ok, got it now thanks. It's just to help my installation of MT4 on my own machine.
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
  #14 (permalink)  
Old 12-09-2006, 05:39 AM
Senior Member
 
Join Date: Oct 2006
Posts: 104
antone is on a distinguished road
Quote:
Originally Posted by Kalenzo
You mean - you have ea that controls orders eg, by magic number 11111 and you want to open manually another trade and set the magic for that manual order to 11111 so the ea could control it?
i manually take orders.. so how do i do it?

yes, so how do i use the magic number?
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
  #15 (permalink)  
Old 12-09-2006, 09:27 AM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 723
Kalenzo is on a distinguished road
Quote:
Originally Posted by antone
i manually take orders.. so how do i do it?

yes, so how do i use the magic number?
It is impossible to input magic number for manual trade. If you want to manage choosen trades by ea, you should use order comment instead magic number.
__________________
You need proffesional mql coder? Contact me! I will help you!
........................................
http://www.fxservice.eu/
........................................
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
  #16 (permalink)  
Old 12-10-2006, 03:33 AM
Senior Member
 
Join Date: Oct 2006
Posts: 104
antone is on a distinguished road
Quote:
Originally Posted by Kalenzo
It is impossible to input magic number for manual trade. If you want to manage choosen trades by ea, you should use order comment instead magic number.
thanks for your reply..
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
  #17 (permalink)  
Old 09-22-2007, 02:57 AM
Member
 
Join Date: Dec 2006
Posts: 40
Nomura is on a distinguished road
Can MetaTrader do it ?

Quote:
Originally Posted by Kalenzo View Post
You mean - you have ea that controls orders eg, by magic number 11111 and you want to open manually another trade and set the magic for that manual order to 11111 so the ea could control it?
Kalenzo,
It is good for semi-manual traders who want eas to manage orders with MM only. Can MetaTrader do it ?
Thanks in advance.
Nomura
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
  #18 (permalink)  
Old 09-25-2007, 10:32 PM
lepiricus's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 218
lepiricus is on a distinguished road
How to code a magic number?

Hello,

I am trying to build my 1st EA and I got alot of help from here
Expert Advisor Builder for MetaTrader 4

Its nothing fancy, and sucks something fierce but I am just building it to learn

I would like to put a magic number function in the code. Does anyone have a basic code I could use to associate a magic number with the EA's trades.

I couldn't find how to do it from that site.

Thanks!
__________________
All your pips are belong to us!
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
  #19 (permalink)  
Old 11-02-2007, 10:43 PM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,218
matrixebiz is on a distinguished road
Magic Numbers in EA's

I have an EA on GBP/JPY running three charts within the same platform: 5M, 15M and 30M
The EA is assigning different Magic Numbers for each chart which is good so open and close of an order is handled correctly.
Now my question is, once all the trades are closed how can I tell which chart or Magic Number closed the trade ??
The history detailed report doesn't list the Magic Number that controlled each trade. Does it? maybe I need to have an option triggered to show me the Magic number ??
What I need to know of course is if I have a loosing trade which TF chart made that trade.
Thanks
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
  #20 (permalink)  
Old 11-03-2007, 12:00 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 820
wolfe is on a distinguished road
Quote:
Originally Posted by matrixebiz View Post
I have an EA on GBP/JPY running three charts within the same platform: 5M, 15M and 30M
The EA is assigning different Magic Numbers for each chart which is good so open and close of an order is handled correctly.
Now my question is, once all the trades are closed how can I tell which chart or Magic Number closed the trade ??
The history detailed report doesn't list the Magic Number that controlled each trade. Does it? maybe I need to have an option triggered to show me the Magic number ??
What I need to know of course is if I have a loosing trade which TF chart made that trade.
Thanks
I'm assuming you have the same EA attached to 3 different charts with 3 different time frames, all the same currency pair. Right?

You could probably code the EA to have a Print statement to the journal after an OrderClose() function telling you which time frame was closed. That's my thought.
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

Tags
Electra, forex magic number, magic, magic number


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
Magic Number question Yoda_Glenn Expert Advisors - Metatrader 4 1 02-22-2007 09:26 AM
MT4 Magic Number DeadEye96 Expert Advisors - Metatrader 4 2 09-19-2006 11:05 PM
How do I modify the magic number on an order? Aaragorn General Discussion 7 07-17-2006 06:46 PM
magic number caldolegare Metatrader 4 4 03-19-2006 06:28 AM


All times are GMT. The time now is 11:59 PM.



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