Reply

OPEN ORDER MORNING

3 replies

msophe

Subscriber, bbp_participant, community, 124 replies.

Visit profile

7 years ago #115656

HI

 

I have build E.A to open order in morning , will open Buy if its long order at time 8:00 and TP and ST it o ready set ,

 

and it will do the same in selling , that will open sell if it short order at time 8:00 , but after build this when attach to MT4 it not

 

open any order , so I don’t know where I make mistake.

 

I have attach where am progress .

 

 

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #139742

Hello,

 

so you want to add a new position to one already existing in the market?

0

msophe

Subscriber, bbp_participant, community, 124 replies.

Visit profile

7 years ago #139760

HI

 

What I want is that , when market is long should open Buy order at time 9:00 with TP and ST and when the market is short should open Sell order at the

 

same time above , with SL and TP.

 

Thanks.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #139770

Ok, I have modified your EA.

 

If you use: Hour = 8 AND Minute = 0 this means that at exactly 8:00 the condition will be valid. But if there is no trade at this time the condition will be missed and not executed so I have rather added a variable to check for an order and time is compared using “Hour”

0

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