I've found from other forum with the below script to identify whether the Zigzag pointing UP or DOWN. However, the below script has discrepancy with the original Zigzag indi. What I would like to have is to identify the current direction of the original Zigzag indi to execute Buy or Sell & close immediately when the opposite direction of Zigzag appear.
Would greatly appreciate if anyone could share the script.
Thanks and best regards.
RESULT
-----------
if(zag<zig) indicator shows down
if(zig<zag) indicator shows up
- Minutes between one point and another Zig Zag
- Ask!
- Coding Zig Zag
![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