Premium4 468x60 forex
Page 24 of 24 FirstFirst ... 14 22 23 24
Results 231 to 233 of 233
Like Tree117Likes

John Ehlers Toolbox

This is a discussion on John Ehlers Toolbox within the Trading tools forums, part of the Trading Forum category; Are there goertzel_browser, bandPassCycleFinder and BandPassCycleSpectrum indicator for MT5 ?...

          
   
  1. #231
    Junior Member
    Join Date
    Oct 2018
    Posts
    2
    Are there goertzel_browser, bandPassCycleFinder and BandPassCycleSpectrum indicator for MT5 ?

  2. #232
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    9,657
    Blog Entries
    1358
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Quote Originally Posted by mqo View Post
    Are there goertzel_browser, bandPassCycleFinder and BandPassCycleSpectrum indicator for MT5 ?
    I am not sure ... probably - not.
    You can check on this post of the public wiki thread here trading forum wiki
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || Social networks for the forum
    Trading blogs || My blog

  3. #233
    Junior Member
    Join Date
    Aug 2013
    Posts
    5
    Excellent, thanks Igor.

    I wish to point out a "small" issue with the accumulation method as Dr Ehlers codes it -

    case 1: if(MathAbs(Real[0]) > 0) Phase[0] = 180*MathArctan(MathAbs(Imag[0]/Real[0]))/pi;
    if(Real[0] < 0 && Imag[0] > 0) Phase[0] = 180 - Phase[0];
    if(Real[0] < 0 && Imag[0] < 0) Phase[0] = 180 + Phase[0];
    if(Real[0] > 0 && Imag[0] < 0) Phase[0] = 360 - Phase[0];

    Real (y) sometimes goes to -1, for maybe a few bars. Imag (x) becomes 0, due to how it is calculated.

    This is on the margin of quadrant 3 and 4 in Excel, so degrees ought to be 270. In MT4 or Easylanguage, this may be third quadrant adjustment calculations.

    This is not covered, so default output is incorrectly 90.

    {In Excel there is no problem when real (y) is positive 1 and imag (x) is 0 (on margin of 1st and 2nd quadrants). Calculations = 90, as is correct.}

    Not knowing the output in MT4, might be worth considering each quadrant when real (y) is either 1 or -1.

    Bearing this in mind, this is a suggested fix by including "=".

    ... if(Real[0] < 0 && Imag[0] <= 0) Phase[0] = 180 + Phase[0]; (which then equals 270, rather than default 90).

    Edit - by the way, Excel calculates atan2 by (x,y). Others platforms can be (y,x) - I know this for EasyLanguage and Metastock. Always check.
    Last edited by Lloyd; 03-05-2019 at 04:23 AM.

Page 24 of 24 FirstFirst ... 14 22 23 24

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •