looking code for Chande Momentum Oscilator code

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #147251 quote
    Malend
    Participant
    Average

    I am looking for the code for the Chande Momentum Oscilator where I can edit the period as well. I would like to use it to program in another indicator. (not ChandLe!)
    I can’t find it in the library.
    Thanks

    #147254 quote
    robertogozzi
    Moderator
    Master

    Do not double post. Ask your question only once and only in one forum. All double posts will be deleted anyway so posting the same question multiple times will just be wasting your own time and will not get you an answer any quicker. Double posting just creates confusion in the forums.

    Thanks 🙂

    #147259 quote
    robertogozzi
    Moderator
    Master

    Here is the CMO formula:

    CMO = 100 * ((Su – Sd)/ ( Su + Sd ) )

    Here is the CMO code:

    p   = 20
    x   = close - close[1]
    Su  = summation[p](x * (x > 0))
    Sd  = summation[p](abs(x) * (x < 0))
    CMO = ((Su - Sd) / (Su + Sd)) * 100
    Return CMO as “Chande Momentum Oscillator”
    Malend thanked this post
    #147261 quote
    Malend
    Participant
    Average

    Did I double post it??? I don’t know how I did that, because I only submitted once after written it once. I only posted it in Pro Real Time Support.
    So help me out to avoid it, because I don’t want to add any noise to this forum
    And thanks alot for your code 🙂

    #147273 quote
    robertogozzi
    Moderator
    Master

    I actually saw twice your post, one with the same title + the word COPY.

    It’s pretty odd, it may be due not to your action.

    Don’t worry 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

looking code for Chande Momentum Oscilator code


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Malend @malend Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by robertogozzi
5 years, 4 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/13/2020
Status: Active
Attachments: No files
Logo Logo
Loading...