You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I am trying to create a Fibonacci indicator that once put over a chart it uses the ZigZag to get the 3 consecutives (H,L,H) or (L,H,L) so I can use those values to draw a retracement and extension Levels.
Also that once I manually adjust the Fibo Levels it recalculates and updates the buffers.
I made some progress writing this indicator but I am kind stuck in that part of ZigZag use and redraw after manual adjustment. The panel does not change its value if I manually replace my edges of Fibonacci.
For example, in the code it is commented
Só me interesso pelos níveis de 0.628 e 0.786 que são os índices 4 e 5 do array FibPriceLevelsRetracement
it means
I am just interested by levels of 0.628 e 0.786 that are the indexes 4 e 5 of array FibPriceLevelsRetracement
So, if I replace the edges of Fibo the indicator should also recalculate and verify if the candle crosses the fibo level in appropriate way and update the buffer and the panel. The issue is that it does not do that.
I would like to share the code so everybody can contribute with it.