Distance from last open and only buy/sell above/below last open trade
-
Open just 1 to start things, then you add other trades. The last is expecting all blocks above to be true, split this tree and see if it is what you want to work.
-
Sorry, I'm not sure I understand?
-
Might have written that in the wrong thread. in pink blocks, you have parent/child trade. green would buy a parent trade, pink would buy a child.
-
@jstap Ah ok, I thought in the pips away from open block selecting the current partial trade was choosing the child? It's not then?
Cheers
-
My bad yes it is, does this not only allow the tree to only activate on a child trade?
-
@jstap Yes it's just creating a gap from the last trade at set n pips. Just like a normal grid, so the logic is probably working in that block.
What I can't figure out is that I only want the next trade to happen after a signal and n pips or greater from the previous open order. This prevents multiple trades in the same area if there are multiple signals (i.e in a range).
So I would want blocks 11,12,13 to only fire n pips above the last open trade. I want a distribution of trades made up from each trade signal and not every 10, 20, 30 pips pips etc...
Trade 1, then price moves n pips, no trade within n pips of trade 1, price might move 37 pips, then signal, then ok to trade because it is n pips or greater than the last open trade.
Hope that makes sense?
https://fxdreema.com/shared/NCF98JrKb
I've also tried the no trade nearby block but that doesn't seem to work as I think it should.
-
In the pictured block high-low would give you the points gap, put this into a comment to see the returned value.

As a general rule get 1 thing working before looking at another
-
@jstap Thank you I'm not sure how to do this?
I think I've worked out the main problem and I'm now getting entries how I want them

However it's opening the 1st trade ok but then the next trade opens 2 at the same time then goes back to the block 1 and repeats....? Just need to figure that bit out. I feel I'm one block away now! Thank you for your help!
-
YES! I think this it!!!
-
Add this to see the value created:

-
Move this out of the way for now, then move back when all else is working:

-
@jstap We've cracked it finally.
Remove block 5 and insert no trade between block 10 and 15

That's the hard bit done, now onto building the rest of it. Took a week to get here but glad it's working out so far.
thank you again for your help, I really appreciate it.
-
