Comment ugly
-
I need a visual track of the high price for the last 18 periods. I have used the attached but find it keeps on getting stuck and not updating. This usually happens after a trade has closed. Any ideas? What is worrying is that I have this simialr logic in a condition to open a trade and wondering if there is a bug.

-
@tulefi Can you please share the link to the whole project? Probably it is a problem with block ID order of execution.
-
https://fxdreema.com/shared/dHTvbiZse
It seems that after a trade is opened, the EA stops tracing the channel high and low?
Thank you for checking this for me l'Andorra.
-
@tulefi Blocks 41 and 42 are using an oprion on the right operand that is only functional on the 'on trade' tab. You should use the 'pink dot' equivalent for the 'on tick' tab. On the opther hand you connected block 44 below block 4. You should separate it from there and conect it below a 'pass' block independently.
-
@tulefi l'Andorra - thank you, you truly are an expert! I have adjusted the EA. Is this correct now?
-
@tulefi I would make two more changes. I would substtute block number 1 by another 'pass' block and would number it as 6. That way it will e the las one to be executed each tick.
On the other hand, I would define the origin of group 1 for sells. It is clearly defined for buys via the block number 21. I would specify that block for buys only and then use a 'no trade' block for sells only below block 3.
-
@l-andorrà Thank you. Very insightful. If I was using this only for Sells would you still go with No trade before block 3?
-
@tulefi That depends on your strategy. Is it supposed to open one only sell? Then yes.