Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changes in coding in the newest version of NT8.

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

    Changes in coding in the newest version of NT8.

    Hey everyone! I am not a coder...I'm learning a bit but I use Chat GPT to do all my coding for me. I've been making a number of indicators pretty easily and without the couple issues here and there...but I updated to the newest version of NT8 (I was using just an older version of NT8 previously) a couple days ago and I'm having a lot of problems with coding these indicators to draw on charts...I get a lot of CS0103 code errors like "The name 'Brushes' does not exist in the current context", same with 'DashStyleHelper'.
    My coding helper can't seem to figure this out...Do we know what this issue is? Has there been changes in how these drawings are coded?
    For context the indicator I've been working on is a dynamic fibonacci retracement tool.

    #2
    Hello TroyDV,

    While you can technically use chatgpt we highly encourage you to avoid that and use the help guide or other existing resources instead. I have included a disclaimer about that below. The errors you are seeing is because chatgpt is not aware of the full context of NinjaScript, you need the default using statements. I would suggest to create a new indicator and leave the default code that is in the file and then manually type in the changes you want to make to avoid having incomplete files.

    From our experience at this time, ChatGpt and other AI models are not adequate at generating valid NinjaScript code that function as the user has intentioned. We often find that these tools generate code that will call non-existent properties and methods, use improper classes or inheritance, and may have incorrect logic. Using these tools for general NinjaScript learning information may also provide incorrect responses. We highly encourage that you create a new NinjaScript yourself using the NinjaScript Editor and avoid any AI based coding tools.

    While it would not be within our support model to assist with scripts generated or checked by ai tools, we would be happy to provide insight for any direct specific inquiries you may have if you would like to create this script yourself. Our support is able to assist with finding resources in our help guide as well as simple examples, and we are happy to provide guidance on how you can debug the script while running it on your machine.

    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.​

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    601 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    347 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    559 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    558 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X