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!

Magic Numbers

4 replies

Lee

Subscriber, bbp_participant, community, 16 replies.

Visit profile

13 years ago #110794

Do you need a different magic number for each pair you trade with the same EA?

Symbol and time frame are set to ‘Current’ on the rules does this matter?

Eg. Go long magic number 100 on AUDUSD Trade if the Ea opens a trade on the EURUSD with a Magic number of 100 as well do the 2 trades get confused?

Cheers Lee

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

13 years ago #120675

Hello Lee,

yes, you should use unique magic number for every pair that you trade with the same EA.
The way it is made is that the order is recognized only by magic number, the symbol is not taken into account.

regards,

Mark

Mark
StrategyQuant architect

0

cassbrown

Subscriber, bbp_participant, community, 1 replies.

Visit profile

13 years ago #120930

[b]There is provision to enter different magic number for sell and buy orders but where do I enter magic number for the pairs that will use the same EA?[/b]
[b]Such I create EA with same strategy for each pair I will be trading?[/b]

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

13 years ago #120958

Hello,

the EA distinguishes between symbols, so if the same EA trades for example on EURUSD and GBPUSD the orders are considered separately for each currency.

Mark

Mark
StrategyQuant architect

0

force199

Subscriber, bbp_participant, community, 11 replies.

Visit profile

12 years ago #123170

Hi,

 

Can anyone help me with the magic numbers set up?

 

I have magic numbers set up in the the THEN rules so buy and sell orders are recognised differently by the EA, they seem to be working.

 

But what I really want is to set up a magic number parameter (in the STRATEGY PARAMETERS section), this way I can try out two different settings of the EA on same symbol, eg GBPUSD and then use myfxbook custom analysis to see which is working better in forward analysis.

 

Can someone please explain how I set up the magic number parameter so the EA recognises the trades of each chart separately?

 

Many thanks.

 

SM

0

Viewing 4 replies - 1 through 4 (of 4 total)