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 samish18, 04-17-2024, 08:57 AM
      16 responses
      55 views
      0 likes
      Last Post samish18  
      Started by arvidvanstaey, Today, 02:19 PM
      3 responses
      9 views
      0 likes
      Last Post NinjaTrader_Zachary  
      Started by jordanq2, Today, 03:10 PM
      2 responses
      8 views
      0 likes
      Last Post jordanq2  
      Started by traderqz, Today, 12:06 AM
      10 responses
      18 views
      0 likes
      Last Post traderqz  
      Started by algospoke, 04-17-2024, 06:40 PM
      5 responses
      47 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X