how to buy sell in a specific time zone ?
-
Hello everyone, I'm new here and I have a quick question if someone could help me. I made an easy robot based on parabolic SAR, that works only at London timezone, but it doesn't close a position at the end of the session but keeps it until the next day.
How to fix that problem? I want a robot that will buy and sell only in a London time zone, and don't open and keep the position until the next day?

-
Could you please show your parameters in 'Time filter' and 'Close trades' blocks?
-
I did the same as in the example from the page, just added a time filter. Close trades same like in a sample.

-
Your time filter block is correct for launching orders. The problem here is that you need to specify a new (different) time filter block aboce the 'close order' block. What I mean is that you have to separate the launch time filter and the closing order one.
-
@isp00rt what do you mean different time filter? I tried just with the same settings (first time filter )but in the result, EA didn't by any short positions.
I know probably thinking in a completely wrong direction as you said.

-
Sorry, I didn't explain myself. What I mean is that you must separate both time filters so that each actos on different time periods: one for opening trades and the other one for closing them in an independent way. Just like this:

By the way, I recommend to use server time and not local time. Using the broker's server is always better.
-
@isp00rt thanks a lot! Now it's working
