I want to close the EA from itself after a month.
-
I tried all the way but I did not find a way to set the time, or increase the time.
Is there another idea to stop the expert after a month?
I'm trying to test it off after five minutes - testing how it works.

https://fxdreema.com/shared/MZKc4P21e
I want to close the EA from itself after a month.
I made efforts on this point and did not succeed.
In this example I am putting five minutes and I want to close after five minutes, but it closes before thatIs there a suggestion, method or idea
-
@new1 hi. why you not using blocks in the " Time filters" menu?!
-
@xfire

I TRY IT SAME RESULT -
I answered you to this same question in your previous thread. Please don't duplicate threads.
On the other hand, connecting both buy/sell now blocks to that same 'Once per bar' block is a mistake. That means that whichever condition 235 or 237 is true a buy and a sell will be open. Is that what you are loking for?
-
@l-andorrà Thank you, you answered earlier but your method did not work.
This is a simple example that I just want to shut down the EA during a certain time.
I don't care how to buy and sell it, I know it's wrong installing it.
Is there a way to close the EA after a specified period, whether a month, day, or week? -
Try this:
https://fxdreema.com/shared/5kueo1rI
You can choose how many consecutve days the EA will be active. Once this number is surpassed, the EA terminates.
-
@l-andorrà thank you very much i will try it.