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 GussJ, 03-04-2020, 03:11 PM
            16 responses
            3,281 views
            0 likes
            Last Post Leafcutter  
            Started by WHICKED, Today, 12:45 PM
            2 responses
            19 views
            0 likes
            Last Post WHICKED
            by WHICKED
             
            Started by Tim-c, Today, 02:10 PM
            1 response
            9 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by Taddypole, Today, 02:47 PM
            0 responses
            5 views
            0 likes
            Last Post Taddypole  
            Started by chbruno, 04-24-2024, 04:10 PM
            4 responses
            53 views
            0 likes
            Last Post chbruno
            by chbruno
             
            Working...
            X