Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to Make Strategy on Micro Trade from Data on Mini??

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

    How to Make Strategy on Micro Trade from Data on Mini??

    Hello,
    I have a strategy that adheres to what ever chart it is attached to exactly as it is suppose to do. However, I have noticed that there is a slight difference between the Micro and Mini contracts thus it is causing the Micro to take trades that the Mini doesn't. How can I have the Micro only take the trades that the Mini is producing? Thanks in advance for your help!!

    -Mr. Emini

    #2
    Hello,
    I have a strategy that adheres to what ever chart it is attached to exactly as it is suppose to do. However, I have noticed that there is a slight difference between the Micro and Mini contracts thus it is causing the Micro to take trades that the Mini doesn't. How can I have the Micro only take the trades that the Mini is producing? Thanks in advance for your help!!

    -Mr. Emini

    Comment


      #3
      Hello Mr.Emini,

      Add the Micro symbol with AddDataSeries().

      Call order methods using BarsInProgressIndex 1 for the second series.

      EnterLong(int barsInProgressIndex, int quantity, string signalName)
      EnterLong(1, 1, "MySecondaryseriesEntryOrder");
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Hello Chelsea,
        Thanks for your reply!! However, I am not really experienced in coding. My apologies as I forgot to mention that this strategy was created with Strategy Builder. Is there anything I could do in Strategy Builder to implement your instructions?

        -Mr. Emini

        Comment


          #5
          Hello Mr. Emini,

          No, not in the Strategy Builder which is designed to be really simple and cannot place orders to a secondary series.

          You would need to unlock the script and code by hand.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Hello Chelsea,
            Ok, thanks for the info!! Where would be a good place to watch videos or find out how to place the information in the strategy that you mentioned earlier?

            Comment


              #7
              Hello Mr. Emini,

              We do have resources to help you begin creating NinjaScript Strategies/Indicators.

              I'm providing a link to a support article with further helpful resources on getting started with C# and NinjaScript.


              The best way to begin learning NinjaScript is to use the Strategy Builder. With the Strategy Builder you can setup conditions and variables and then see the generated code in the NinjaScript Editor by clicking the View Code button.

              I'm also providing a link to a pre-recorded set of videos 'Automate Your Trading with NinjaTrader's Strategy Builder' and 'NinjaScript Editor 401' for you to view at your own convenience.
              Automate Your Trading with NinjaTrader's Strategy Builder
              NinjaScript Editor 401

              If you are new to C#, to get a basic foundation for the concepts and syntax used in NinjaScript I would recommend this section of support articles first:
              Basic Programming Concepts

              Also, below is a link to the NinjaScript developer guides.


              For general C# education I have personally found Dot Net Perls to be a great reference site with easy to understand examples.


              We also have great resources in relation to Strategy Development on our Support Forum. There is a very active developer community in our support forum that supplements the responses provided by NinjaTrader support staff providing all users with an exceptional support experience.
              Take me to your support forum!

              There are a few Sample Automated Strategies which come pre-configured in NinjaTrader that you can use as a starting point. These are found under New -> NinjaScript Editor -> Strategy. You will see locked strategies where you can see the details of the code, but you will not be able to edit (you can though always create copies you can later edit via right click > Save as)

              We also have some Reference samples online as well as ‘Tips and Tricks’ for both indicators and strategies:
              Click here to see examples created by the support team
              Click here to see our NinjaScript Reference Samples
              Click here to see our NinjaScript Tips

              These samples can be downloaded, installed and modified from NinjaTrader and hopefully serve as a good base for your custom works.

              Also, below I am also linking you to the Educational Resources section of the Help Guide to help you get started with NinjaScript.


              Further, the following link is to our help guide with an alphabetical reference list to all supported methods, properties, and objects that are used in NinjaScript.
              Alphabetical Reference

              And our Educational Resources in the NinjaTrader 8 help guide.
              Educational Resources

              A set of specific tutorials for creating conditions in the NinjaTrader 8 Strategy Builder in the NinjaTrader 8 help guide.
              Condition Builder

              You can also contact one of our professional NinjaScript Consultants or Educators who would be eager to create or modify this script at your request or assist you with your script. Please let me know if you would like a link to a list of professional affiliate NinjaScript Consultants or Educators on the NinjaTrader Ecosystem website.

              Please let me know if I may answer any specific questions for you throughout your journey of becoming a NinjaScript Developer.​
              Chelsea B.NinjaTrader Customer Service

              Comment


                #8
                Hello Chelsea,
                Thank you for all the information, I appreciate it!! Yes, if you could supply a link to a list of professional affiliate NinjaScript Consultants or Educators on the NinjaTrader Ecosystem website that would be great!! Thanks again!!

                -Mr. Emini

                Comment


                  #9
                  Hello Mr. Emini,

                  You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more!
                  Programming Services - https://ninjatraderecosystem.com/sea...mming-services
                  Educators - https://ninjatraderecosystem.com/sea...ures=education

                  You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third party services for NinjaTrader all pricing and support information will need to be obtained through the consultant.

                  This NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

                  Please let me know if you have any questions, or if I can provide any further assistance.​
                  Chelsea B.NinjaTrader Customer Service

                  Comment


                    #10
                    Hello Chelsea,
                    Many thanks!!

                    -Mr. Emini

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by NullPointStrategies, Yesterday, 05:17 AM
                    0 responses
                    71 views
                    0 likes
                    Last Post NullPointStrategies  
                    Started by argusthome, 03-08-2026, 10:06 AM
                    0 responses
                    143 views
                    0 likes
                    Last Post argusthome  
                    Started by NabilKhattabi, 03-06-2026, 11:18 AM
                    0 responses
                    76 views
                    0 likes
                    Last Post NabilKhattabi  
                    Started by Deep42, 03-06-2026, 12:28 AM
                    0 responses
                    47 views
                    0 likes
                    Last Post Deep42
                    by Deep42
                     
                    Started by TheRealMorford, 03-05-2026, 06:15 PM
                    0 responses
                    51 views
                    0 likes
                    Last Post TheRealMorford  
                    Working...
                    X