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

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 ETFVoyageur, Today, 06:11 AM
            2 responses
            16 views
            0 likes
            Last Post ETFVoyageur  
            Started by Belfortbucks, Today, 08:21 AM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by ETFVoyageur, Today, 02:15 AM
            2 responses
            19 views
            0 likes
            Last Post ETFVoyageur  
            Started by EliIsrael, Today, 08:15 AM
            1 response
            9 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by cshox, Yesterday, 11:11 AM
            4 responses
            23 views
            0 likes
            Last Post cshox
            by cshox
             
            Working...
            X