CONNECTING LAST BLOCK TO FIRST BLOCK
-
Hello Guys,
What is the impact of connecting the last block to the first block?
-
@musa-5 It will create a loop, only good if you want to start the blocks again.
-
@jstap I created an ea and the challenge I have is that it enters a set of positions and only enters new ones only when I close all existing ones.
For that I get the impression that it's not constantly checking for conditions to enter or close positions.
See below my revised connections and share your thoughts on it.
-
-
@musa-5 Remove the loop and place close above the buy/sell. I would also have a separate no trade block for buy/sell unless only 1 trade of either buy or sell is required.
-
@jstap ive revised my ea as below and hope for my desired result. I want to have one trade at a time.

-
@musa-5 Can you please share the link to your project instead? That would help.
-
@musa-5 l-andorrà is correct a shared link makes things easier, your close needs to be in line with the buy sell, not teed off.
-
@l-andorrà apologies for the delayed responce.
link to my project is shared/BxOOvoIsc
My challenges are.
- I have loaded it on several charts but its not opening positions in all as expected.
- Am not sure if it will close all buys as it opens a sell position and vice versa.
my intention si to have trade running for each pair at all times as per condition set.
@jstap - Please see this as well. thanks.
-
-
@musa-5 It should be connected like this, or close from a separate tree.

-
@jstap this is not working.
-
@jstap Will it be better if i link the close position to the yellow connector instead?
-
@musa-5 You probably need a separate no trade block for buy's and sell's, as is once in any trade it won't activate any blocks beneath, yellow just activates when condition is not true. This is why I said maybe a separate tree for closing, this way closing works independently to buy/sell.
-
@musa-5 You can use the yellow connector, but then you will not need the opposite branch of the EA. Can you please share the latest version of your project?
-
@l-andorrà please see my project shared/q0ALkyMDb
-
@musa-5 said in CONNECTING LAST BLOCK TO FIRST BLOCK:
shared/q0ALkyMDb
Considering your current project, if you connect block 10 to block 3 on its yellow output, you can save block 9. Same with blocks 13 and 6. I don't see any reason to connect any block to the first block.
