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 mishhh, 05-25-2010, 08:54 AM
      19 responses
      6,189 views
      0 likes
      Last Post rene69851  
      Started by gwenael, Today, 09:29 AM
      0 responses
      4 views
      0 likes
      Last Post gwenael
      by gwenael
       
      Started by Karado58, 11-26-2012, 02:57 PM
      8 responses
      14,830 views
      0 likes
      Last Post Option Whisperer  
      Started by Option Whisperer, Today, 09:05 AM
      0 responses
      2 views
      0 likes
      Last Post Option Whisperer  
      Started by cre8able, Yesterday, 01:16 PM
      3 responses
      11 views
      0 likes
      Last Post cre8able  
      Working...
      X