Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Equally trade weighted equity positions

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

    Equally trade weighted equity positions

    Can anyone help me write the code to have a custom DefaultPosition option in the strategy builder. For example, a multi equity strategy uses a % of notional for entry sizing. In this case we want to use $20,000 of margin per position regardless of price. So 20,000/Entry Price = number of shares which is the variable. Any advice. I'm not a coder only a quant/developer. Looked at all the resources but I'm stuck. Thx Jim

    #2
    Hello thecashguys,

    Thank you for your post.

    Such a custom item would not be possible using the Strategy Builder. This is due to its quite limited arithmetic functions - you wouldn't be able to do the necessary division. You would have to unlock the strategy code and manually code this logic.

    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 list of professional NinjaScript Consultants or Educators who would be happy to create or modify any script at your request or assist you in learning NinjaScript.

    Please let me know if I may be of further assistance.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Yes this is what I'm asking. Anyone willing to help with unlocking and writing it. Thx. Jim

      Comment


        #4
        Hello thecashguys,

        This is Patrick from the NinjaTrader Business Development team responding on behalf of my colleague Kate.

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

        Let me know if I may be of further assistance

        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.

        Comment


          #5
          Thx. The Vendors all have complete systems available. I just need one function developed within my algo

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by pvincent, 06-23-2022, 12:53 PM
          14 responses
          238 views
          0 likes
          Last Post Nyman
          by Nyman
           
          Started by TraderG23, 12-08-2023, 07:56 AM
          9 responses
          383 views
          1 like
          Last Post Gavini
          by Gavini
           
          Started by oviejo, Today, 12:28 AM
          0 responses
          1 view
          0 likes
          Last Post oviejo
          by oviejo
           
          Started by pechtri, 06-22-2023, 02:31 AM
          10 responses
          125 views
          0 likes
          Last Post Leeroy_Jenkins  
          Started by judysamnt7, 03-13-2023, 09:11 AM
          4 responses
          59 views
          0 likes
          Last Post DynamicTest  
          Working...
          X