Page 1 of 1

Identify the number of peaks troughs

PostPosted: Sat Dec 17, 2016 11:15 am
by doanthedung
Hi all,

How to identify the number of peaks - troughs use Zigzac Indicator in TS platform?
With Amibroker or Metastock software, they have function to do, as Peak(Close,5%,2nd).

Thank in advance!

Re: Identify the number of peaks troughs

PostPosted: Sun Dec 18, 2016 11:53 am
by Apprentice
Unfortunately we do not have such a function.
But you can write a similar function that will do this task for you.

Re: Identify the number of peaks troughs

PostPosted: Mon Dec 19, 2016 6:05 am
by doanthedung
I find the code for MT4, may it useful.
https://www.mql5.com/en/forum/145225