@rodrigo-ortuzar The ZZ has a lot of nuances to use, start here and you should find all you need.
https://fxdreema.com/forum/topic/5060/how-to-use-zigzag-advanced?page=1
@rodrigo-ortuzar The ZZ has a lot of nuances to use, start here and you should find all you need.
https://fxdreema.com/forum/topic/5060/how-to-use-zigzag-advanced?page=1
@bluekangaroo14 I do not know but everything is going to a and block so everything has to send a signal at the same time, maybe the chances of this are just too small, turn blocs off and get it working, then turn on a little bit at a time until you rind the reason/problem.
@joe_fx Put the check trades above your buy
@casalin Create a shared project and put it here, reasons can then be assessed.
@ontradingx I think simply the more you add the slower things are, As you said putting things like once per bar in places can help, generally the more you can move from on tick and the more you restrict the faster things become.
@casalin I would save the bull candle high into a variable every time one appears, and move the previous bull high into a keep variable, so if ID1 is bull and closed below the previous bull a trade is opened.
@hiten7405 This is how I would do it https://fxdreema.com/shared/Rcj9OY0Td
Pink blocks are better only used with other pink blocks, distance is high - low, If you only want single trades change the green once per bar block for blue no trade block, I have aHded a comment block so you can visually check what is happening, have not tested but should work. hope this helps
In this LINK is how to send text information between MT4 terminals on the same pc, I assume MT5 is the same.
@richestcousin In here you will see how to do it, look at blocks 9-13, copy for sells and put the settings in you want to use:
@william-1 You can do this with a loop, have a condition of your max candles and then a cross for the second, or just use 2 loops this will show you how to start:
@dre I see, I don't know if this is possible.
@dre I am a little lost, I thought swop happened when a trade was already running, when a broker closes 1 trade and swops it for another identical trade, this means swop is never negative before a trade, if it was negative swop that would mean you got a discount from your broker.
@uriel-0 would do it like this, just put the result in a comment to verify
.
@uriel-0 That is what I mean, providing you are getting no errors all should work, I would put the result into a comment so I could visually check.
@vypchela You don't need custom code in FX, a formula block with MA on left - atr adjusted to *2, put into a variable you have created called double_up
@crazycnw This will only work for for trades placed with the same magic number, on the symbol the ea is added to. Magic 0 is manually opened, you can also set then in the block.

@wadz91 Try this, should work, if it doesn't let me know:
@piotras10000 Yes you would because it's other blocks that fill these variables, they display what is created by other blocks and it's just the fact that they are created that allows them to be used.