• 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 gbulle, Today, 06:03 PM
      1 response
      14 views
      0 likes
      Last Post gbulle
      by gbulle
       
      Started by kronie, Today, 03:52 PM
      0 responses
      13 views
      0 likes
      Last Post kronie
      by kronie
       
      Started by bouncetherubble, Yesterday, 07:12 PM
      2 responses
      19 views
      0 likes
      Last Post bouncetherubble  
      Started by Zenersev, 10-19-2019, 02:11 PM
      7 responses
      53 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Started by Lancer, Today, 10:39 AM
      4 responses
      26 views
      0 likes
      Last Post Lancer
      by Lancer
       
      Working...
      X