| New signals service! | |
|
|||||||
| 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 |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Quote:
__________________
You need proffesional mql coder? Contact me! I will help you! ........................................ http://www.fxservice.eu/ ........................................ |
|
|||
|
Quote:
yes, so how do i use the magic number? |
|
||||
|
Quote:
__________________
You need proffesional mql coder? Contact me! I will help you! ........................................ http://www.fxservice.eu/ ........................................ |
|
|||
|
Can MetaTrader do it ?
Quote:
It is good for semi-manual traders who want eas to manage orders with MM only. Can MetaTrader do it ? ![]() Thanks in advance. Nomura |
|
||||
|
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! |
|
||||
|
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 |
|
||||
|
Quote:
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. |
![]() |
| Bookmarks |
| Tags |
| Electra, magic number |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Magic Number question | Yoda_Glenn | Expert Advisors - Metatrader 4 | 1 | 02-22-2007 08:26 AM |
| MT4 Magic Number | DeadEye96 | Expert Advisors - Metatrader 4 | 2 | 09-19-2006 10:05 PM |
| How do I modify the magic number on an order? | Aaragorn | General Discussion | 7 | 07-17-2006 05:46 PM |
| magic number | caldolegare | Metatrader 4 | 4 | 03-19-2006 05:28 AM |