Time Filter (For Conditions) not for Trailing Open Positions
-
Hi,
https://fxdreema.com/shared/ZV7CgVVhe
I want the EA to stop taking new positions after my time filter. But at the same time, it should trail whatever positions are already open.
For simplicity and to focus on this topic, I created a crossover MA condition. My initial logic is to have the (Trailing BlocK) as no 2 after the ( Pass Block) - as I always do with my EAs - and to place the (Time Filter Block) after the (Trailing Block).
I have not yet tested the logic and thought of sharing if anyone has thought of this before or have implemented it.
Thanks,
-
@mohamed80 You can use the same 'time filter' block for both buy and sel. Additionally, your current logic will not open any new trade out of the selected 'start-end' period so I'm afriad I don't fully understand you problem.
-
So as long as the (Trailing Block) is above (in order) the Time Filter Block and the condition logic, the trailing should continue. Right?
But in contrary, if I the time filter is above (in order) the trailing, the later will stop.
So the logic I have initially posted is right. You agree?
-
@mohamed80 Your original is how should be, simply numbers don't matter just ensure it's not connected to the time filter.
-
Hi jstap. It has been a while.
Hope everything is going well. -
@mohamed80 Hi, good to see you
-
So the logic I have provided is correct. I just wanted to check it.
Thanks l-andorra -
@mohamed80 You're welcome.