McGinley Dynamic – Trading View

Forums ProRealTime English forum ProBuilder support McGinley Dynamic – Trading View

Viewing 5 posts - 1 through 5 (of 5 total)
  • #158080

    Hi,

    The original code from trading view.

     

    According to investopedia…

    The McGinley Dynamic indicator is a type of moving average that was designed to track the market better than existing moving average indicators. It is a technical indicator that improves upon moving average lines by adjusting for shifts in market speed.

    McGinley Dynamic Indicator (MD)=MD[1]+N(MD[1]Price)4Price  MD[1]where:MD[1]=MD value of the preceding periodPrice=Security’s current priceN=number of periods

     

     

    #158087

    hillsee – Welcome to the forums.

    When requesting code conversions please follow the instructions found here:

    https://www.prorealcode.com/free-code-conversion/

    Also before requesting anything it is a good idea to use the forum search box that can be found by hovering over your profile picture top right.

    Type in ‘McGinley Dynamic’ and you will find several posts including the code for this indicator.

    Also when posting code:

    • Always use the ‘Insert PRT Code’ button when putting code in your posts to make it easier for others to read.

     

    I have edited your post.

     

    1 user thanked author for this post.
    #158156

    Thanks for your help. I realise the the solution is relativly simple just out of my grasp..

    When I try the other McGinley Dynamic indicators listed they do not give the same results as the trading view indicator when viewed side by side. So my question is how do I modify indicator the average regression filter (33) for example or the other Lorenzo md.rtf so that the moving average lines are the same as the trading view averages. Thanks in advance.

    #158164

    If the TradingView data feed is not identical to the PRT data feed then how do you expect the averages calculated to be identical?

    #158503

    I didn’t expect them to be identical but they are quite a way off even allowing for the different feeds.

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login