Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why does my strategy send orders by itself?

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

    Why does my strategy send orders by itself?

    I made a stategy to handle all my orders by my self. It ran very good in similation mode. However, when I run it in real time mode, the strategy send close position orders by itself? This makes my losing control to my strategy. I noticed that there is some items in strategy default, such as exit on close.
    My questions are:
    1. how can I access those default settings in code and change it?
    2. where can I find the meanings of those default stuff?
    3. why do the simulation and real time run have so much difference(from running pretty good to basically not run at all)?

    #2
    Please see these articles:

    1. http://www.ninjatrader-support.com/v...06&postcount=5
    2. http://www.ninjatrader-support.com/H...romAChart.html
    3. http://www.ninjatrader-support.com/H...TimeVsBacktest
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks, Josh! Can you give me a full list of the defaults so that I can re-initialize them? Also, can I make a strategy purelly coded by myself without those hidden defaults? Thanks again!

      Comment


        #4
        Not sure what you mean by "re-initialize" and "hidden defaults". Please clarify.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          The link http://www.ninjatrader-support2.com/...06&postcount=5 you provided is using override to re-initialize the hidden defaults. However, it is only part of them. Can you provide a full list of those defaults? Also, can I make a strategy without those hidden stuff? And how? Thanks!

          Comment


            #6
            What is on the list is what is provided. Even some of the things on that list are not supported properties.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            637 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            366 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            107 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            569 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            571 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X