fly7680:
Hello everyone!
Hello everyone!
I would take 3 points of the Zig Zag and breakage have a signal. This is my code but unfortunately it does not work .... a little help, please?
so you are going to put arrows after a new zigzag line?
just add two index arrays to the indicator attachment .. drop your price into them with an atr/2 distance(default settings).
i dont understand what your doing on the src but the indi attachment i would work from.
to set your alert just call your bar 0 index array versus close price but count ++ from 0 to get the last price of your zigzag.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I would take 3 points of the Zig Zag and breakage have a signal. This is my code but unfortunately it does not work .... a little help, please?