looking code for Chande Momentum Oscilator code

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #147251 quote
    MalendMalend
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    MalendMalend
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTimeā„¢ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 robertogozzirobertogozzi
5 years, 11 months ago.

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