Renko Moving Average Filter Regression

Forums ProRealTime English forum ProBuilder support Renko Moving Average Filter Regression

  • This topic has 3 replies, 3 voices, and was last updated 4 years ago by avatarBel.
Viewing 4 posts - 1 through 4 (of 4 total)
  • #127814

    Hi,

    I was interested in developing a Renko moving average indicator based on Nicolas’s code here: https://www.prorealcode.com/topic/discussion-re-pure-renko-strategy/page/5/#post-122154
    but with the idea of having different moving average types like the Moving Average Filter Regression: https://www.prorealcode.com/prorealtime-indicators/average-filter-regression/

    It’s just that the AVG line seems a bit jerky and not smooth? Pls see image and yellow average.
    Also how can you add “priceMAperiod” (because it’s part of a “once” statement) to the variables so you can adjust the moving average without having to go into the code and change it from 10 to 100 for example?

    Cheers!

     

    #127866

    Ouch! Not that easy!! Renko are not time dependent, so you can’t use a classic period (which is based on normal candlestick) and use it on the custom renko bricks i created in this code…

    I did a simple MA, which is nothing less than an arithmetic average, sum all the price (which here are the renko Close) and divide the sum by the period, easy.

    But if you want to make the same with other types of MA, which have very different kind of calculation, that would involve a very difficult coding. Without array, in v10.3, you should give up now.

    And in v11, even with array, you don’t have to code it, because it is now possible to apply any custom indicator on renko charts.

     

    1 user thanked author for this post.
    #127916

    Thanks, glad I didn’t copy and paste and then edit all the different moving average types in anticipation of your “code fix” for the above indicator! Is v11 out yet?

    #130216
    Bel

    Shame we can’t put indicators on IG 10.3 versions even though 11 is out already but they seem to do nothing to implement it. I’m interested in the same as Brads as well. Seems other platforms had these options for ages.

     

    Regards,

    Bel.

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

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