Stochastic MACD Oscillator

Forums ProRealTime English forum ProBuilder support Stochastic MACD Oscillator

Tagged: ,

Viewing 9 posts - 1 through 9 (of 9 total)
  • #110436

    Dear All,

    would it be possible to code on prorealtime the following stocastic / macd recently published on “Stock & Commodities”?

    “Stochastic EMA12 = (12-day EMA – Lowest low) / (Highest high – Lowest low)

    Stochastic EMA26 = (26-day EMA – Lowest low) / (Highest high – Lowest low)

    STMACD = (Stochastic EMA12 – Stochastic EMA26) *100

    Signal line: 9-day EMA of STMACD

    where:
    Lowest low = Lowest low for the lookback period
    Highest high = Highest high for the lookback period
    The STMACD is multiplied by 100 to move the decimal point two places
    The default setting for the lookback period is 45″

    Thanks a lot in advance for your reply

     

    ML

    #110443

    There you go:

    you can remove unwanted RETURN data or make it invisible with the indicator’s properties.

     

    #110508

    Thanks a lot for your extremly quick reply!

     

    ML

    #132783

    Sorry… one more question… being a stochastic oscillator, shouldn’t have 100 as maximun value?

    ML

    #132937

    It’s a combination of Stochastic and Macd. Each indicator/oscillator has different characteristics. Stochastic ranges from 0 to 100, Macd doesn’t.

    Neither does this one.

     

    #132940

    Roberto code added as Log 216 here …

    Snippet Link Library

    1 user thanked author for this post.
    #132948

    Here is a version of Roberto’s code that normalizes the result between the highest ever result and the lowest ever result and returns it as a percentage of that range so it is between 0 and 100.

     

    #151467

    Dear All

    Useful posts and indicator, Do we have a screener available to use with this indicator?

    Thanks

     

    #151471
Viewing 9 posts - 1 through 9 (of 9 total)

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