Reply

One order per day per symbol only

2 replies

Julianrob

Customer, bbp_participant, community, 54 replies.

Visit profile

7 years ago #115640

Hi there,

 

I have written an EA which I think will work well. The logic permits for an order to open on market open, in the direction of Friday close, depending on the size of the gap and spread.

 

I would like it to take only 1 order on a Monday for each symbol or pair.

I have used the function;

 

Orders Opened Today(Both, False) = 0

But I think I’m only getting one order total on a Monday, even though I have this EA fixed to 20 charts.

 

Could I please have some assistance on how to use this rule to be One order per day, for each symbol?

Attached is my code

 

Thanks in advance,

 

Julian

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #139730

Hello Julian,

 

I will check your EA and let you know

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #139738

Hello,

 

you could do it using an additional variable which is reset on Tuesday

0

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