Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Displacement in indicator

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

    Displacement in indicator

    Hello. If I set displacement in indicator parameter to 30 - this mean it shows me value of indicator 30 days ago, but will plot in the chart to present? If I set "-30" - it calculates the same value for 30 days ago and will be plotted to 30th day before present?

    #2
    Hello alexstox,
    Yes, correct. If you set displacement to 30 then the value of the indicator at 30 bars ago will be the current value.

    If you set it as -30 then the current value will be plotted at bar 30 and there will be no values from bar 29 to the current bar.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      eureka!

      I see. It simply moves indicator "as is" on 30 periods to the left if set "-30" and 30 p to right if "30"

      Comment


        #4
        Hello alexstox,
        Yes, right. The Displacement property only displaced the plot values.
        JoydeepNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        83 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        45 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        66 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        69 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        58 views
        0 likes
        Last Post CarlTrading  
        Working...
        X