Order Magic Number Misconfiguration
2 replies
Brett Schneideman
10 years ago #115077
Hello,
Can anyone please tell me why with this strategy I get the message…” Strategy Invalid. Every entry order must have its own unique Magic Number. Magic number 111 is used in more than one order”?
The problem seems to be connected with my custom StopLoss which is supposed to put the Stop when going short at the high of the previous 5 bars plus 2 pips. I say this because if I just make simple SL say 50 pips away from entry price the strategy works fine just as it is. Don’t understand what the issue is. This is not supposed to be Entry Order. It is entry at market price with StopLoss at previous bars’ High/Low.
Any ideas?
Thanks, Brett
0
Tomas Matejka
10 years ago #136732
you could join 1 + 3 using OR logic and do the same for 2 + 4. This will prevent MN error
0
Brett Schneideman
10 years ago #136813
Thanks, Tomas… so simple when you know what you’re doing.
0
Viewing 2 replies - 1 through 2 (of 2 total)