• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    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 Aporshnev, Today, 05:56 PM
      0 responses
      1 view
      0 likes
      Last Post Aporshnev  
      Started by aslane, Today, 05:46 PM
      0 responses
      2 views
      0 likes
      Last Post aslane
      by aslane
       
      Started by Aporshnev, Today, 04:31 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by tradykat, Yesterday, 05:09 PM
      7 responses
      35 views
      0 likes
      Last Post NT-Roland  
      Started by PLeary, Today, 03:09 PM
      2 responses
      20 views
      0 likes
      Last Post PLeary
      by PLeary
       
      Working...
      X