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

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.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Thanks Kate.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by AaronKoRn, Today, 09:49 PM
      0 responses
      6 views
      0 likes
      Last Post AaronKoRn  
      Started by carnitron, Today, 08:42 PM
      0 responses
      9 views
      0 likes
      Last Post carnitron  
      Started by strategist007, Today, 07:51 PM
      0 responses
      10 views
      0 likes
      Last Post strategist007  
      Started by StockTrader88, 03-06-2021, 08:58 AM
      44 responses
      3,977 views
      3 likes
      Last Post jhudas88  
      Started by rbeckmann05, Today, 06:48 PM
      0 responses
      9 views
      0 likes
      Last Post rbeckmann05  
      Working...
      X