Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cannot set displacement for singe indicator

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

    Cannot set displacement for singe indicator

    Hey guys,

    I'm super new to using NinjaScript and would love some insight on what I'm doing wrong here. So I know you can set the displacement of an indicator if you're just displaying an indicator on a graph but I wanted to use this in a strategy and saw it wasn't an option in the strategy builder. I decided to unlock the code and now when I try to set displacement it seems to only change it for both indicators. I know that I can change the specific bars ago value for both indicators but is there a way to change the displacement for a specific indicator on my strategy? Here is a screenshot of the code:

    #2
    Hello Luke Heinrich,

    Thank you for your post.

    Unfortunately, displacement does not work for indicators added via AddChartIndicator() in NinjaTrader 8.

    There is currently a feature request for provide a way to set indicator properties such as Displacement for indicators added via AddChartIndicator() from a strategy. This request is being tracked via SFT-1328, I will add your vote to this feature request.

    Please let us know if you have any further questions.

    Comment


      #3
      Hi Gaby,
      Please add my vote for this enhancement as well.

      Thanks,
      Clint

      Comment


        #4
        Hello,

        Your vote has been added.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        556 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X