ZegZag indicator
-
hello,
Can you please help me to find a way of using the ZegZag indicator in the following manner:
Buy: should the Candle close is above the previous High High Top formed by ZegZag .
Sell: The Candle close should be below the Lower low formed buy ZegZag.Thanks a lot for your help
-
There is a problem with that logic. When you say 'previous' that means one of those high or low will be confirmed whereas the other one is still in formation. Do you mean both 'previous' high and low need to be confirmed?
-
Thanks for replying, yes that is what I mean!
-
Also if I wanna make it simply as, The Buy when candle close above the previous ZegZag High, and sell when Candle close below the last ZegZag Low !!
Thanks again. -
@Shamimbiss Then this is the general idea:

This example is for buys only. However, you need to be careful because the bot will not know if 'High (by ID)' 1 is the last confirmed high or not. Maybe you should begin by selecting if 'High (by ID)' 2 provides better results.
-
Thank you very much, it worked, and indeed using HIgh/Low ID: 2 was much better!!
-
You're welcome.

-
@Shamimbiss Hola, disculpa tu lograste crear un ea que opera con hi y low ?