Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to code the macd line ?

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

    How to code the macd line ?

    Hello,

    In a strategy, I need to test if the macd line is >0
    When I use the macd function, it test if macd histogram is >0 but not the macd line.
    And of course, the macd histogram could be > 0 when the macd line is < 0...

    How can I do this ??

    Thanks in advance,

    #2
    Please see the examples here: http://www.ninjatrader-support.com/H...deV6/MACD.html
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by f.saeidi, Today, 12:14 PM
    7 responses
    16 views
    0 likes
    Last Post f.saeidi  
    Started by Russ Moreland, Today, 12:54 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by philmg, Today, 12:55 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by TradeForge, 04-19-2024, 02:09 AM
    2 responses
    32 views
    0 likes
    Last Post TradeForge  
    Started by aprilfool, 12-03-2022, 03:01 PM
    3 responses
    329 views
    0 likes
    Last Post NinjaTrader_Adrian  
    Working...
    X