Correction And Surge Indicator

Forums ProRealTime English forum ProBuilder support Correction And Surge Indicator

Viewing 7 posts - 1 through 7 (of 7 total)
  • #58818

    Hello everyone Ivan Here,

    I am studying Kirk Northington’s book “Volatility-Based Technical Analysis: Strategies for Trading the Invisible” 2009 USA.

    I am intrigued about an indicator called Correction And Surge.

    The indicator is used for the stock exchange and indices. The formula is simple.

    For the Correction:

    Correction = downhill Stock Exchange / Moving Average (Total stock in index)

    due Total stock in index is = (uphill stock exchange + downhill stock exchange + stock exchange unchanged)

     


    For the Surge:

    Surge  = uphill Stock Exchange / Moving Average (Total stock in index)

    due Total stock in index is = (uphill stock exchange + downhill stock exchange + stock exchange unchanged)

     

    The calculation should not be difficult, in theory it should come out a ratio that goes from 0 to 1. However I have no idea how to recall the data in the Probuilder programming.

    It would be a good idea to have the drawings showing the Correction or Surge signal come out on the chart. The indicator must be able to work both on the stock exchange and indices.

    If necessary, I have the code for TradeStation.

    Thanks a lot if we can program this is good for everyone 🙂

     

    #59053

    Not possible to code this indicator, because ProBuilder don’t have any multi instruments capability, sorry.

    #59317

    Then we can engage ourselves to identify this signal in a similar way.

    For example, we could quantify in% the range between the opening and closing price, evaluate it in some way to find the bull or bear correction thrust.

    I take a pen and paper and try to pull down an equation 🙂

    #59319

    In this formula I thought of a simple principle, that is the summation of the last n periods, to frame the anomalous cases of volatility that may indicate volumes in correction. Then I looked for a multiplier of the sum of the ranges to differentiate between short and long cases, everyone will do the backtests to get the data.

    FORMULA = (Sum N Range / N) * Multiplier

    The short and long cases have been differentiated.

    Here is the code, but it would be nice to tell the program not to show further signs in N days later. Example: After the signal do not give other signals for 5 days.

    It can be done ? 🙂

     

    1 user thanked author for this post.
    #59320

    Good idea, please post some pictures examples if you can. Would engage more people. Have a nice weekend.

    #59346
    The indicator at present is as shown in the attached picture.

    You need to add at least one filter, which says:

    – Once the signal occurs, do not give other signals for the next n (for exalple 5 foolowing days) following days.

    Let’s start with this, to finish the first version then I have some ideas to improve it again.

    Thanks and have a nice weekend everyone 🙂

    1 user thanked author for this post.
    #59354

    Once the signal occurs, do not give other signals for the next n (for exalple 5 foolowing days) following days.

    Ok, let’s do it:

     

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

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