FXCM Forex Trading

Identify the number of peaks troughs

Section for discussions related to indicators, use of indicators, and building of trading stategies using indicators.

Moderator: admin

Identify the number of peaks troughs

Postby doanthedung » Sat Dec 17, 2016 11:15 am

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!
doanthedung
 
Posts: 23
Joined: Tue Jul 21, 2015 12:17 am

Re: Identify the number of peaks troughs

Postby Apprentice » Sun Dec 18, 2016 11:53 am

Unfortunately we do not have such a function.
But you can write a similar function that will do this task for you.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17168
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Identify the number of peaks troughs

Postby doanthedung » Mon Dec 19, 2016 6:05 am

I find the code for MT4, may it useful.
https://www.mql5.com/en/forum/145225
doanthedung
 
Posts: 23
Joined: Tue Jul 21, 2015 12:17 am


Return to Discussions

Who is online

Users browsing this forum: No registered users and 2 guests