Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Min Max Usage in NT8 for Plotting on Charts

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

    Min Max Usage in NT8 for Plotting on Charts

    In the Ninjatrader 7 Tutorial Level 6 on creating custom Indicators there is code that is used to specify the maximum and minimum threshold.

    Plots[0].Min = 70;
    Plots[1].Max = 70;
    Plots[1].Min = -70;
    Plots[2].Max = -70;

    how is this now represented in ninjascript 8?

    #2
    Hello HisWorkmanship,

    I see that these properties were only lightly documented in NT7 and I am unable to find them in the NT8 documentation as the tutorials were not carried over and the Plot documentation has changed.

    The properties you are using still exist and would be the same syntax, have you tried these in your script to confirm you are able to see the correct result?

    NT8:
    Code:
    Plots[0].Max = 70;
    I look forward to being of further assistance.

    Comment


      #3
      That worked great. I must of missed something in the process of converting from NT 7.

      Thank You!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      70 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      152 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      100 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      288 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X