Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

macd zero line cross code

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

    macd zero line cross code

    Can somebody please provide the code for the macd line crossing the zero line. I don't see how to do this in the indicator or strategy builder. Thanks.

    #2
    Originally posted by gordongekko View Post
    Can somebody please provide the code for the macd line crossing the zero line. I don't see how to do this in the indicator or strategy builder. Thanks.
    Hi,
    This is an example : https://www.screencast.com/t/SS2fOfVbfug
    ...where MACD is below the Indicators folder and Numeric Value is below the Misc Folder :
    World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


    Here are some example videos :


    pmaglio
    NinjaTrader Ecosystem Vendor - The Indicator Store

    Comment


      #3
      pmaglio,

      Thank you for providing an example.

      gordongekko,

      pmaglio is correct here. As the lines of an indicator are not intended to change value, you can use a numeric value in your comparison. The Numeric value is in the Misc section of the Condition Builder.
      Attached Files
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      589 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      342 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      555 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      552 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X