READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

Order Magic Number Misconfiguration

2 replies

Brett Schneideman

Subscriber, bbp_participant, community, 34 replies.

Visit profile

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

Administrator, sq-ultimate, 2 replies.

Visit profile

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

Subscriber, bbp_participant, community, 34 replies.

Visit profile

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)