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

need help with negative offset / displacement

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

    need help with negative offset / displacement

    Hi im having a problem offsetting / displacing the sma to the left on the chart in my strategy ....I can offset stuff to the right using positive numbers and the bars ago index but when i want to try set the displacement to a negative value in my strategy like you can do on the chart it does not work.

    say i want to set the sma negatively offset by 10 bars to the left, how do I go about this ? I have the negative offset smas on my chart but I cant find the workaround to get the strategy to do the same.

    Ive also looked at many posts about this and none address a negative offset the only thing mentioned is using a positive bar look back which does not help as thats not a negative offset.

    Any information or code snippets to help would be great thanks

    #2
    Hello gbux11,

    To confirm, you are only wanting to visually change the Displacement for an indicator that is being added to a chart with AddChartIndicator(), is this correct?

    Unfortunately, this is not possible at the current time. There is a feature request for this, SFT-2188 'Ability to add displacement setting via custom script for custom indicators', and I will be adding your vote to this request.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Please add my vote to this request.

      Comment


        #4
        Hello Brillo,

        I have added your vote to SFT-2188.

        Thank you for your vote.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Please add my vote to this request

          Comment


            #6
            Hello michi08,

            I've added your vote on SFT-2188.

            Thanks for your voice on this.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by giulyko00, Today, 12:03 PM
            0 responses
            2 views
            0 likes
            Last Post giulyko00  
            Started by AttiM, 02-14-2024, 05:20 PM
            12 responses
            213 views
            0 likes
            Last Post DrakeiJosh  
            Started by cre8able, 02-11-2023, 05:43 PM
            3 responses
            238 views
            0 likes
            Last Post rhubear
            by rhubear
             
            Started by frslvr, 04-11-2024, 07:26 AM
            8 responses
            117 views
            1 like
            Last Post NinjaTrader_BrandonH  
            Started by stafe, 04-15-2024, 08:34 PM
            10 responses
            47 views
            0 likes
            Last Post stafe
            by stafe
             
            Working...
            X