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 -

    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.

        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

            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.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by CarlTrading, 03-31-2026, 09:41 PM
                1 response
                35 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by CarlTrading, Yesterday, 02:41 AM
                0 responses
                16 views
                0 likes
                Last Post CarlTrading  
                Started by CaptainJack, 03-31-2026, 11:44 PM
                0 responses
                25 views
                1 like
                Last Post CaptainJack  
                Started by CarlTrading, 03-30-2026, 11:51 AM
                0 responses
                40 views
                0 likes
                Last Post CarlTrading  
                Started by CarlTrading, 03-30-2026, 11:48 AM
                0 responses
                34 views
                0 likes
                Last Post CarlTrading  
                Working...
                X