Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AI Generate ()Experimental

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

    AI Generate ()Experimental

    AI Strategy Analyzer and Feedback

    The AI strategy analyzer does not combine multiple indicators into a single strategy, which is crucial for optimizing success probability. It also lacks essential components, such as a section for integrating a stop-loss strategy and a trailing stop-loss strategy.

    I would like to inquire about the possibility of modifying the generator code to include stop-loss mechanisms in the generated strategies. If this is feasible, could you provide the name of the file that contains the code instructions on how it should function?​

    #2
    Hello parkourbg,

    The AI Generate is part of the core of NinjaTrader and cannot be modified.

    This feature is experimental and may have further development in the future.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      NinjaTrader_ChelseaB I was gonna make a thread with this exact question. Other than the article on AI Generate
      HTML Code:
      https://ninjatrader.com/support/helpGuides/nt8/NT%20HelpGuide%20English.html?ai-generate.htm
      What else is there to know about this feature? I ran one using 1 indicator and 1 candle structure from 10/1/23 - 10/6/23 and it did 1-2 trades in the span of 5 days? It's not even following the "Stop at the end of session", Experimental is an understatement. More like Alpha. Why release something to waste computer power when you cant use this for anything? Give us more content on this so we can dive deeper.

      Comment


        #4
        Hello zayone,

        The help guide has the only description of that tool, there is not much else to know about that tool other than what is provided. Its a simple tool that generates basic strategies based on the selections you made in the user interface. For more complex items you would need to develop those items yourself using NinjaScript. The ai generate can only do basic operations to find combinations of indicators that may work together, beyond that you would have to modify the code it created to suit your needs and make sure it works as you expect.

        JesseNinjaTrader Customer Service

        Comment


          #5
          Is it permissible for me to comment on the AI-generated code for functionalities not visible to the user?

          NinjaTrader_Jesse

          Comment


            #6
            Hello parkourbg,

            I am not sure what you are asking here. Could you rephrase the question?
            JesseNinjaTrader Customer Service

            Comment


              #7
              The AI option in NinjaTrader does have additional capabilities not visible to the user.
              Is it ok for me to comment on those?
              Last edited by parkourbg; 10-11-2023, 08:47 AM.

              Comment


                #8
                Hello parkourbg,

                If it is something that is not documented in the help guide or accessible through a menu option it would likely be best to exclude that as it may change in the future however you are free to comment on whatever you like.
                JesseNinjaTrader Customer Service

                Comment


                  #9

                  How long until that option will be available to use?
                  This snippet is from the AI-generated code in NinjaTrader.

                  / for strategies which (optionally) implement this interface the respective methods below would be called instead of just EnterLong/EnterShort/ExitLong/ExitShort // this allows for applying custom enter/exit logic including e.g. additional filters or checks

                  Comment


                    #10
                    Hello parkourbg,

                    Where are you seeing that comment?
                    JesseNinjaTrader Customer Service

                    Comment


                      #11
                      folder/Optimizers/StrategyGenerator
                      line 611

                      Comment


                        #12
                        Hello parkourbg,

                        It looks like that may be a planned interface that strategies could implement however there are no details on how that would be used or if that portion of the logic works at this time. The comments in that file are comments left by development and may be features that are currently not used. Until that is documented in the help guide we wouldn't have any details on how that can be used or if it works.

                        Given that there is no UI option in the ai generate tool for custom exit logic or specifying any kind of interfaces or inheritance I would presume this logic cannot currently be used because you cannot specify ahead of time the interface that would be used.
                        JesseNinjaTrader Customer Service

                        Comment


                          #13
                          Thank you for the information. I also have a question about potential updates to the Strategy Builder. It would be highly beneficial if we could utilize combinations of conditions, such as "if 1 is true, 2 is false, and 3 is true," or "if 1 and 2 are true, take action, and if 1 and 3 are true, take a different action." This expanded functionality would greatly enhance our ability to create more intricate and versatile strategies.

                          Additionally, it's important to highlight that there is currently no feature allowing us to copy code from one Strategy Builder window and paste it into another. While it is possible to copy code when selecting one strategy and then moving to the next within the same window, this process can be time-consuming and less efficient.

                          Comment


                            #14
                            Hello parkourbg,

                            You should be able to do that already in the builder by using groups in combination with the "if any/if all" settings for the set and group.
                            "if 1 is true, 2 is false, and 3 is true," or "if 1 and 2 are true,
                            This would involve using 2 groups, in the first group you would select if all and then add the 3 conditions. In a second group you would select if all and then add the two condition. In the main set window you would select if any and that would do an OR between the two groups. If either group is true the action is taken.

                            Regarding the copy/paste. That is currently expected and only the tabs within the same window support copy/paste. The save/load system was implemented to allow copying conditions into a new strategy builder window, you can right click a condition and Save as. The save/load is required to transfer data between windows because that also contains information about the overall strategy, for example if you saved a condition with a secondary series or user input being used it also brings over those items and inserts them into the strategy to make the strategy have the correct setup for that specific condition.



                            JesseNinjaTrader Customer Service

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by fx.practic, 10-15-2013, 12:53 AM
                            5 responses
                            5,404 views
                            0 likes
                            Last Post Bidder
                            by Bidder
                             
                            Started by Shai Samuel, 07-02-2022, 02:46 PM
                            4 responses
                            95 views
                            0 likes
                            Last Post Bidder
                            by Bidder
                             
                            Started by DJ888, Yesterday, 10:57 PM
                            0 responses
                            8 views
                            0 likes
                            Last Post DJ888
                            by DJ888
                             
                            Started by MacDad, 02-25-2024, 11:48 PM
                            7 responses
                            159 views
                            0 likes
                            Last Post loganjarosz123  
                            Started by Belfortbucks, Yesterday, 09:29 PM
                            0 responses
                            8 views
                            0 likes
                            Last Post Belfortbucks  
                            Working...
                            X