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

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.
    JesseNinjaTrader Customer Service

    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 futtrader, 04-21-2024, 01:50 AM
      4 responses
      41 views
      0 likes
      Last Post futtrader  
      Started by Option Whisperer, Today, 09:55 AM
      1 response
      11 views
      0 likes
      Last Post bltdavid  
      Started by port119, Today, 02:43 PM
      0 responses
      3 views
      0 likes
      Last Post port119
      by port119
       
      Started by Philippe56140, Today, 02:35 PM
      0 responses
      4 views
      0 likes
      Last Post Philippe56140  
      Started by 00nevest, Today, 02:27 PM
      0 responses
      2 views
      0 likes
      Last Post 00nevest  
      Working...
      X