Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Strategy Public or Private?

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

    Custom Strategy Public or Private?

    New to NinjaTrader. When you create a custom strategy using the Strategy Builder is it automatically made available to the public or is it kept private until you make it public (if this option exists)? Thank you

    #2
    I think you may be confused.

    In the code, when an Indicator or Strategy is defined as public,
    that is a C# access modifier, and has absolutely nothing to do with
    you making the thing available to other people.

    Every Indicator and Strategy uses the public access modifier.

    If you want to keep the thing private for yourself, then don't
    give it to anybody, but the access modifier is always public.

    When you're ready to distribute your Indicator/Strategy to friends
    and/or family, or for sale, now you're talking about distribution
    issues, which is a whole new ballgame.

    Again, the C# access modifier public has nothing to do with
    distribution of your NinjaScript object.

    Access modifiers and distribution are completely separate
    concepts and do not overlap.

    Comment


      #3
      Thank you bltdavid!

      Comment


        #4
        Hello obiwan_cashobi,

        Thanks for your post.

        NinjaScript strategies will be held locally on your machine and are not accessible to the public unless you share your strategy with others, such as posting the strategy code on the NinjaTrader Forums.

        bltdavid is correct with the information they shared regarding access modifiers.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by michelz, 02-18-2025, 08:30 AM
        31 responses
        1,018 views
        0 likes
        Last Post rockmanx00  
        Started by TraderYoda, 05-24-2019, 03:33 AM
        43 responses
        2,118 views
        1 like
        Last Post pwmmmm
        by pwmmmm
         
        Started by jb805, 02-04-2025, 12:34 PM
        5 responses
        168 views
        0 likes
        Last Post Swagpapifrio  
        Started by Newtrader101, Today, 11:27 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by mrmccraig, Yesterday, 05:13 PM
        2 responses
        21 views
        0 likes
        Last Post mrmccraig  
        Working...
        X