• 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 ATMtrader0001, Today, 05:05 AM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by Florozmer, Today, 09:32 AM
      0 responses
      7 views
      0 likes
      Last Post Florozmer  
      Started by EnveousColnago, Today, 08:31 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by odeifuor, Today, 09:05 AM
      0 responses
      1 view
      0 likes
      Last Post odeifuor  
      Started by LadGta2018, Today, 08:45 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Kate  
      Working...
      X