Reply

My EA open only 2 position

7 replies

takis

Subscriber, bbp_participant, community, 3 replies.

Visit profile

6 years ago #113049

Hi,

I  have made an EA with EAWizard and i launch it in 4 or 5 diferent charts on MT4. It’s open only 2 positions. In the chart i can see the rest signals but there are no more positions opens.

If anybody know why is that happen?

0

Patrick

Customer, bbp_participant, community, 424 replies.

Visit profile

6 years ago #128171

Hi, 

 

may be its caused by mistake in source code of the strategy…but noone can say till we see it.

 

Patrick

0

Mark Fric

Administrator, sq-ultimate, 3 replies.

Visit profile

6 years ago #128322

if you could post your strategy (.sqw file) here then we can look at it

Mark
StrategyQuant architect

0

takis

Subscriber, bbp_participant, community, 3 replies.

Visit profile

6 years ago #128327

if you could post your strategy (.sqw file) here then we can look at it

I post it

0

beniko

Subscriber, bbp_participant, community, 31 replies.

Visit profile

6 years ago #128389

It has to do with magic numbers.

 

Create 2 variables like MagicNumber1=1000 and MagicNumber2=2000.

 

Use these variables as Magic Number when you Enter at Market. So in your case instead of 1000 and 2000 use the variable.

 

This allows you to change the Magic Numbers when you place the EA on a chart. The EA of every chart has to use UNIQE magic numbers, even if it is a different currency pair or a different EA.

 

For Example, if you want to use an EA on the EURUSD chart and GBPUSD when you place the EA you have to change from the input tab the MagicNumber1 and MagicNumber2

EURUSD: 1000 2000

GBPUSD: 1001 2001

0

beniko

Subscriber, bbp_participant, community, 31 replies.

Visit profile

6 years ago #128390

takis

Subscriber, bbp_participant, community, 3 replies.

Visit profile

6 years ago #128396

Thank you

I appreciate you help.

0

beniko

Subscriber, bbp_participant, community, 31 replies.

Visit profile

6 years ago #128404

Glad I could help 🙂

0

Viewing 8 posts - 1 through 8 (of 8 total)