Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error CS0103 plot does not exist in the current context

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

    Error CS0103 plot does not exist in the current context

    Click image for larger version

Name:	image.png
Views:	246
Size:	123.4 KB
ID:	1260382​Getting the above errors. Can you type out the solution so that I can just paste it into the code? Thank you.

    #2
    Hello james79,

    I think you want Plots[0]. Plural with an 's' as shown in the help guide.
    https://ninjatrader.com/support/help.../nt8/plots.htm

    You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like a list of affiliate consultants who would be happy to create this script or any others at your request or provide one on one educational services.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea
      Yes please provide me with that list. Thank you.

      Comment


        #4
        Also changing Plot to Plots did not fix the issue and 2 other error codes were generated.

        Comment


          #5
          The error codes were resolved but the indicator does not appear on the list of indicators of the chart. It compiled without errors. What could be the problem? Thanks.

          Comment


            #6
            I found the indicator.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            579 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            334 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            554 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            551 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X