Newbie coding Request – BB S&R

Forums ProRealTime English forum ProBuilder support Newbie coding Request – BB S&R

Viewing 10 posts - 16 through 25 (of 25 total)
  • #35588

    Just my attempt to emulate Volatility-Based Technical analysis as developed by Kirk Northington – see http://www.tradingtheinvisible.com/htm/resources.html

    #35615

    ok, so the code you have posted is incomplete, it only has the upper bollinger bands lines. That’s why I did not understand it very well at the first glance. My attempt is still buggy, I let you know if I can get it through .. soon  .. or not 😉

    #35616

    This is a rough code, I don’t think it is completely accurate, because I can’t get to know if a Peak() must be consecutive to a Trough() or not (like zigzag..)

     

    #35621

    Hey Nicolas -fantastic. I’m sorry- I should have been more explicit in the beginning.   I was willing to hack the other half of the code (and still am) once the one half was complete.  I’m going to study this and will let you know soon.  Once again – great,awesome – now just to see if it is doing the right thing.  Merci.

     

    #35638

    Hi Nicolas

    I have had a look a the indicator and it seems to be plotting about four bars “to late” and a little to high. (Although for some strange reason it seem to be a little to low on the chart you posted) For the purposes of comparison I have done the following:

    1. Plotted the upper BB in white (the lower is in blue – ignore)
    2. Drawn the peak lines in white – main as solid and 1ATR in dotted
    3. Drawn the trough lines in yellow – main solid and 1ATr dotted

    By comparing the METASTOCK chart with the PRT one you will notice the discrepancy. I have drawn arrows to indicate more or less where the lines should be if they were correctly plotted.

    Hope this helps.  Thanks once again for your effort to date.  Much appreciated.

    #35646

    I think the problem is that the values are correct and found at the right time but not plot in the past like it seems to be in MetaStock. I’ll have a deeper look ASAP.

    #35659

    Thanks Nicolas. Much appreciated.

     

    #110844

    I think the problem is that the values are correct and found at the right time but not plot in the past like it seems to be in MetaStock. I’ll have a deeper look ASAP.

    hello did you get updates on this beautiful indicator?

    #110855

    @vincenzo Tavernise

    Please do not double post! Thank you.

    I replied to the other post of yours.

    #113735

    Hi

    I a revisiting this indicator but wish to replace the bollinger bands with code incorporating linear regression.  However it just plots a value of zero.  I substituted linear regression with the close and it plots just fine. Any help in resolving the code will be greatly appreciated.

    The code posted is with the close  (working). The first three lines need to be modified to substitute linear regression for the close.

    The attached figure depicts:

    TOP: Original code with Bollinger Bands (by Nicolas)

    MIDDLE: LinearRegression (my modification, not working)

    BOTTOM: Close (my modification, working)

     

     

Viewing 10 posts - 16 through 25 (of 25 total)

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