Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7 plot displacement translation to NT8

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

    NT7 plot displacement translation to NT8

    Hi,

    As I recall in NT7, X in the below statement was the displacement for a plot. How is this done in NT8?

    sUp.Set(X, Up[Y]);

    Thanks,
    gbrad




    #2
    Hello gbrad,

    Thank you for your post.

    Since this is in regards to Indicator development, I've moved it into the appropriate forum.

    Displacement would be a visual displacement of the plot, and would generally be the same between NinjaTrader 7 and 8:

    For NinjaTrader 7: https://ninjatrader.com/support/help...splacement.htm

    For NinjaTrader 8: https://ninjatrader.com/support/help...splacement.htm

    If you wish to actually displace plot values, you could save the initial values to a separate IDataSeries (in NinjaTrader 7) or Series<T> variable (in NinjaTrader 8) and then set the plot using those with the bars ago being the displacement value you wish. In code, you could simply refer to the value of the plot X number of bars ago to get that value.

    Please let us know if we may be of further assistance to you.

    Comment


      #3
      Thanks Kate.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      131 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      74 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      117 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      111 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      89 views
      0 likes
      Last Post CarlTrading  
      Working...
      X