Problem with time filter - Inttraday hours

Avatar
  • updated
  • In process

Hi all,

I have set some trading hours to be respected daily, but somehow the CP is not obeying the start & end hours established.

My server is on GMT -3. I am in Brazil, we don't have DST (summer time). Trading at the Brazilian stock exchange. CP is starting earlier, and doing trades at 9:04 for instance, when the starting time set is only after 9:30h. My configuration is as follows:

Image 3265

Anyone has any idea on how to set up this correctly? I tried virtually all possible combinations of parameters, but no success.

Remark: although the field GMT offset is meant to work only for the tester, I suspect it my be affecting the trade hours in the real account.


Thanks,


Rubens

Avatar
1
Andrey Khatimlianskyi
  • In process

Yep, you can set Start time = 16:3, End time = 11:30, and EA will not work between 11:30 and 16:30.

How to set correct GMT and DST you can find here, at the forum.

Avatar
0
fred walther

Thanks, I already had a look at it.
Is there a possibility to set a kind of "lunch break"?
I want CP to NOT trade around financial anouncements because unpredictable movements happen, then.

Avatar
0
fred walther

What do "start hour", "end hour" and "close hour" mean?
Where can a I find the documentation for these parameters?

I want to do stop CP from trading between 11:30 and 16:30 GMT+3.
Is this possible?
What are the proper settings for this?

Avatar
0
Rubens Oliveira

Yes, the broker is in Sao Paulo (Genial), so same GMT (-03:00).