• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MACD calculation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    MACD calculation

    Hello,

    I would write this statement in NinjaTrader:
    MACD (12, 26)> = MME9

    MME9: Exponential Moving Averages

    Thanks.

    #2
    Hello soma8,

    Thank you for your post.

    I do not know what you mean MME9 is so I am just going to use the EMA:
    Code:
    if (MACD(12, 26, 9)[0] >= EMA(9)[0])
    {
    // do something
    }
    I recommend reviewing our educational resources at the following link: http://ninjatrader.com/support/helpG..._resources.htm

    Please let me know if you have any questions.
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by gunhonlika, Today, 05:21 AM
    0 responses
    1 view
    0 likes
    Last Post gunhonlika  
    Started by Jasper99, Yesterday, 09:50 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by StevenNelson, Yesterday, 05:57 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Marco  
    Started by ttodua, Today, 03:40 AM
    0 responses
    5 views
    0 likes
    Last Post ttodua
    by ttodua
     
    Started by chnh1, Yesterday, 11:51 PM
    0 responses
    11 views
    0 likes
    Last Post chnh1
    by chnh1
     
    Working...
    X