Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reference a different indicator

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

    Reference a different indicator

    Hello

    I have a custom Ichimoku indicator that was imported into NT7.

    I am trying to reference it in another indicator but I keep getting a message saying that it does not exist.

    The name of the indicator is "Ichimoku"

    I only care about the KijunSen line within the indicator which, according to the indicator settings, is called "KijunSen"

    There does not appear to be any issues with the Ichimoku indicator as it plots on my chart properly.

    Here is the code that I am using to reference it:

    Code:
    If (Close[0] > SMA(20)[0]
    && Close[0] > Open [0]
    && Close[0] > Ichimoku(9,26,52).KijunSen[0])
    
    {
    BarColorSeries[0] = Color.Blue;
    }
    Is there something that I should be doing differently to reference a custom indicator? It has no problem referencing the SMA - but that is not custom.

    #2
    Hello jg123,

    Thank you for your post.

    So I may test the syntax needed for the indicator can you provide the link to where you downloaded the indicator or possibly add the .cs as an attachment to your response? You will find the .cs file in the following directory on your PC: (My) Documents\NinjaTrader 7\bin\Custom\Indicator

    Comment


      #3
      Just to make sure that everything was okay, I just downloaded another ichimoku indicator from here on the forums and now everything is working properly. So maybe it was just an incorrect indicator.

      Thank you for your help.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      599 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      345 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
      558 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      558 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X