Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Colour Coordinated?

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

    Colour Coordinated?

    Hi there,

    All four strategies are active but one is green and three are yellow.
    What are the differences?
    I have also noticed that only the green one is trading and the yellow ones aren't.


    #2
    Zhorny, the yellow ones are waiting to be flat to start trading live / turn to green state -

    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hmmm ok. Those other three contracts don't have any positions and are flat as to why I don't understand why they're yellow.

      Could you please explain further? Am I missing something?

      Comment


        #4
        Please check the executions of those yellow strategies, they should be still in a position from historical data waiting to get flat to execute a fresh entry signal then for you.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          I've reset the sim account and also pressed the Flatten Everything button but still getting all yellow strategies.

          Any suggestions please to get greens?

          Comment


            #6
            You can change your 'on starting a realtime strategy' setting to 'immediately submit' and then ensure that 'SyncAccountPosition' is set to 'true' as you enabled the stratgegies - http://www.ninjatrader.com/support/h...tegies_tab.htm
            BertrandNinjaTrader Customer Service

            Comment


              #7
              I've read the articles but it really won't reset the positions.
              I cannot see anywhere to delete these invisible "historic" trades.

              This is asking a lot but is there a step by step to deleting reseting everything and starting again?

              Thanks

              Comment


                #8
                Zhorny, whenever you start up strategies they will go through the historical OnBarUpdate() calls per default, arriving at a virtual position that the strategy would have from historical data - this would be expected behavior - if you do not wish to deal with this please work in either WaitUntilFlat mode or put if (Historical) return before your OnBarUpdate() trade entry conditions, as this will then only allow them to be triggered for realtime received bars.
                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by PaulMohn, Today, 12:36 PM
                2 responses
                16 views
                0 likes
                Last Post PaulMohn  
                Started by Conceptzx, 10-11-2022, 06:38 AM
                2 responses
                53 views
                0 likes
                Last Post PhillT
                by PhillT
                 
                Started by Kaledus, Today, 01:29 PM
                0 responses
                4 views
                0 likes
                Last Post Kaledus
                by Kaledus
                 
                Started by yertle, Yesterday, 08:38 AM
                8 responses
                37 views
                0 likes
                Last Post ryjoga
                by ryjoga
                 
                Started by rdtdale, Today, 01:02 PM
                1 response
                6 views
                0 likes
                Last Post NinjaTrader_LuisH  
                Working...
                X