Unique Magic Number Conundrum
1 replies
mantadiver
10 years ago #115157
I have multiple entry methods in a single EA with one entry definition per tab & a boolean variable to switch on/off the required entry method.
Each long definition uses magic number 1 and each short uses magic number 2.
Only one trade will be open at a time so no chance of conflicting magic numbers and the EA saves fine, returns valid & works in MT4 fine.
I am now trying to enter a comment to help identify each entry type in the order. As soon as I I enter a comment EAWizard says “Strategy is no valid!”, Every entry order must have its own unique MagicNumber! Magic number 1 is in more than 1 order.
If all the comments are the same blank or same text, then everything is fine but as soon as one order has text that differs from the rest it ceases to be valid.
I can’t work out why changing the comment would cause it to become invalid.
If anyone has any ideas it would be much appreciated.
0
Tomas Matejka
10 years ago #137212
Hello, ok, I will check it. Can you also email me your Wizard project file? [email protected]
0
Viewing 1 replies (of 1 total)