Re-opening trade the next day
-
Hi friends!, How do I use the "Turn On" block to resume trade the next day after closing trade with the "Turn Off" block when a certain condition is met? Thanks for the usual cooperation.
-
Adds a shared link to see what you have done/are trying to do
-
Ok, I will. Thanks
-
Here is the shared link for the EA I want to re-open a closed trade the next day, using "turn on" block after a condition is met. Thanks https://fxdreema.com/shared/SBKzTjJec
-
Try:
Once a day -> Turn On -
@jpsam As sktsec said, you need another separate blocks tree that needs to be executed BEFORE your current block tree with the blocks he recommends.
-
Sorry, I don't know the block sktsec recommended. I haven't seen his response even. Can you please help me with yours, even if it's a repetition. Thanks.
-

-
@jpsam I want it to turn on the next day, not the next bar. To turn on next day, should I connect turn on block to the yellow output of block that was turned off, so that it turns on when the time in the time filter expires?
-
You can do that or just leave on daily bar, this way it activates when the 1st tick of the day arrives
-
Sorry sir, I am challenging your authority. I wish you understand me well. In the example blocks you showed on your reply post, there is no Turn Off block to switch buying when a loss is made. Just a recap: I want it to stop buying for the rest of the day once it makes a loss. With the help you gave me the previous day, the turn off block prevents another buying, but it should resume buying the next day when the condition is met, which is what I haven't succeeded. So, if I miss the "position closed" block, it can't close buying when a loss is made, and there won't be the need to resume the next day. It should only stop trading in case of a loss. It is not meant to just stop trading because of night or any other condition and reopen the next day. I need to make this clear, then you know where to bring in your expertise. However, I will try it again. Thanks a million time
-
@jpsam With this, what will stop it from trading again when a loss is made?
-
@jpsam I have tried it exactly the way you suggested on the image example, but unfortunately, it didn't stop trading after a loss. Thanks very much for your willingness to help
-
Everything I have showed you here and in PM works, so say what is not working and add your latest link to check why.
-
@jpsam said in Re-opening trade the next day:
Sorry sir, I am challenging your authority. I wish you understand me well. In the example blocks you showed on your reply post, there is no Turn Off block to switch buying when a loss is made. Just a recap: I want it to stop buying for the rest of the day once it makes a loss.......
the Turn Off block is just the one you have in "on trade" section
I tested your project and it work fine.
-
Apollogies sir, I omitted the word "Not" in my post to you please. What I wanted to say is: "I am NOT challenging your authority", not the other way round. Forgive me; you have always helped me with solutions, and I would never challenge your authority. It is just now I am seeing the typo. please sorry and forgive me!
-
@ambrogio Sorry for that typo. I didn't mean to challenge your authority. From the result of my test, the EA turns off as intended but didn't turn on the following day. I am surprised you said you have tested it, and it works fine. If it turned on the next day, then there was a mix-up on my side. In the course of trying to make it work, I have made many changes and have probably done something wrong somewhere. I will check and get back to you.
Thanks for your willingness to help.