Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

MACD Crosses Zero

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

    MACD Crosses Zero

    Hi, I'm trying to add a condition to a strategy builder strategy, and I'm having some trouble adding it. Here's the condition I want to add:

    MACD crosses above Zero line
    or
    MACD crosses below Zero line

    Using the wizard, I can't figure out how to add either of these conditions to my strategy as the Zero line is not a plot to select.

    Can this be done through the wizard?

    Please advise.

    Thanks, Mitch​

    #2
    I posted this in the wrong category and can't delete it

    Hi, I'm trying to add a condition to a strategy builder strategy, and I'm having some trouble adding it. Here's the condition I want to add:

    MACD crosses above Zero line
    or
    MACD crosses below Zero line

    Using the wizard, I can't figure out how to add either of these conditions to my strategy as the Zero line is not a plot to select.

    Can this be done through the wizard?

    Please advise.

    Thanks, Mitch
    Last edited by mmenigma; 01-25-2024, 04:42 PM. Reason: moved to current strategy builder category message board.

    Comment


      #3
      Hello Mitch,

      Thank you for your post.

      I have moved your post from the NinjaTrader 7 category into the thread for NinjaTrader Desktop > Strategy Development. No worries and thank you for your attention to posting in the proper category!

      You can check if one of the MACD plots has crossed above/below zero by setting a crossover condition the compares the MACD value with the Misc > Numeric Value > 0.

      We have some Strategy Builder condition examples on the following page:


      This could be considered a combination of the indicator to value comparisons, compare plot values of multi-plot indicators, and cross over condition examples. Here is a screenshot example of a condition that checks if MACD crosses above 0:


      Please let us know if we may be of further assistance.
      Last edited by NinjaTrader_Emily; 01-25-2024, 04:48 PM.
      Emily C.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by jxs_xrj, 01-12-2020, 09:49 AM
      6 responses
      3,290 views
      1 like
      Last Post jgualdronc  
      Started by Touch-Ups, Today, 10:36 AM
      0 responses
      7 views
      0 likes
      Last Post Touch-Ups  
      Started by geddyisodin, 04-25-2024, 05:20 AM
      8 responses
      61 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by Option Whisperer, Today, 09:55 AM
      0 responses
      8 views
      0 likes
      Last Post Option Whisperer  
      Started by halgo_boulder, 04-20-2024, 08:44 AM
      2 responses
      24 views
      0 likes
      Last Post halgo_boulder  
      Working...
      X