Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

brief reivew of ai generated strategy its coding principles

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

    brief reivew of ai generated strategy its coding principles

    hi
    I would want to ask you to briefly review whether AI gerenated strategy uses proper ninjatrader principles. I am not asking to reivew for any bugs etc.... only coding design principles. Maybe immiate red flags that stand out...
    I have a suspicsion that strategy is not optmmized and often times drags ninjatrader to freeze.. Strategy is pegged to indicator and overal strategy works.. Thank you



    Attached Files

    #2
    Hello tkaboris

    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. In addition any code that does compile may not work efficiently or correctly based on the NinjaScript coding guidelines. 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. To start learning NinjaScript I would suggest the following link as a starting point.


    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


      #3
      I understand that. I used to develp strategies without AI. This time however i chose AI and after many back and forth it works as intented. So i was hoping someone else would briefly look at stratey ninjatrader principles to see if there red flags in coding principles. I am not asking for debugging as i mentioned in my first post..

      Comment


        #4
        Hello tkaboris,

        If any forum users want to take on that task they certainly can, through our support we cannot assist with AI generated code at all. Part of the coding process is that you need to know what you coded so when our support asks questions about it you can answer why you did it that way, without coding it you are essentially asking someone else to test and debug the script with no knowledge of its goal which is a difficult task. This specific forum is for support questions surrounding your own coding, if you are asking for help from the community I would suggest using the new community driven forum. The link to that is: https://discourse.ninjatrader.com/

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        50 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        126 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        68 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        42 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X