Announcement

Collapse
No announcement yet.

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 NullPointStrategies, Yesterday, 05:17 AM
            0 responses
            54 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            130 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            72 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            44 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            49 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X