- Can i make a script out of an EA for simply opening a pending order with Magic Number?
- EA testing
- Tester
Hi, if I remove the magic number in the EA settings will the EA manage a trade I take manuell?
The magic number of a manually-placed trade is 0.
So, *depending on how your EA is coded*, you could set the magic number setting to 0 and it would manage your manual trades.
Muhammad Ridzuan Mohd Radzali: if you want EA to control manual trade just filter order using symbol() and ordetype()
|
That means it would control manual trades and any others by any other EA, not good.
|
Hello BJorn.
If you want to open trades manually and then manage them by EA then set Magic number = 0.
If EA doesn't look for other orders attributes like an Order comments or Symbol name then it will "think" that it is his trades.
Original code
extern int Magic=0;
Modified code:
int Magic=0;
Hello BJorn.
If you want to open trades manually and then manage them by EA then set Magic number = 0.
If EA doesn't look for other orders attributes like an Order comments or Symbol name then it will "think" that it is his trades.
Original code
Modified code:
Thanks all for the help
Thanks all for the help
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use