I am developing a really complicated strategy and i have already used Magic Number and Comment, is there any other way to separate orders?
- Can not use Freelance Service last 2 days.
- updateable magic number, MQL4
- How to code?
KONSTANTINOS PAPAMARKOU:
I am developing a really complicated strategy and i have already used Magic Number and Comment, is there any other way to separate orders?
Use more than 1 magic number?
I am developing a really complicated strategy and i have already used Magic Number and Comment, is there any other way to separate orders?
Keith Watford:
Use more than 1 magic number?
I already use multiple Magic Numbers and Comments.I am trying to find a third way.
Use more than 1 magic number?
KONSTANTINOS PAPAMARKOU:
I already use multiple Magic Numbers and Comments.I am trying to find a third way.
Write trade details to a file?
I already use multiple Magic Numbers and Comments.I am trying to find a third way.
Keith Watford:
Write trade details to a file?
That sounds good, may help, i will try it.
Write trade details to a file?
KONSTANTINOS PAPAMARKOU: I already use multiple Magic Numbers and Comments.I am trying to find a third way.
Don't depend on Order Comments. Most brokers change the contents and even completely delete or replace them!
The only fail-safe way to identify EA Orders is via Magic-Number. Since that number allows for a "large" range, you can easily accomplish very complex groupings by bit mapping the Magic Number.
Fernando Carreiro:
I second that. The best way is by magic number. I don't understand why the need for other method.
Don't depend on Order Comments. Most brokers change the contents and even completely delete or replace them!
The only fail-safe way to identify EA Orders is via Magic-Number. Since that number allows for a "large" range, you can easily accomplish very complex groupings by bit mapping the Magic Number.
MN and pair (for the forgetful human,) is all you need. MN can also be a function of TF (for the forgetful human, same pair, multiple TFs,) and/or strategy.
Using OrdersTotal directly and/or no Magic number filtering on your
OrderSelect loop means your code is incompatible with every EA (including
itself on other charts and manual trading.) Symbol Doesn't equal
Ordersymbol when another currency is added to another seperate chart . - MQL4
forum

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register