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 pechtri, 06-22-2023, 02:31 AM
                10 responses
                124 views
                0 likes
                Last Post Leeroy_Jenkins  
                Started by judysamnt7, 03-13-2023, 09:11 AM
                4 responses
                59 views
                0 likes
                Last Post DynamicTest  
                Started by ScottWalsh, Yesterday, 06:52 PM
                4 responses
                36 views
                0 likes
                Last Post ScottWalsh  
                Started by olisav57, Yesterday, 07:39 PM
                0 responses
                7 views
                0 likes
                Last Post olisav57  
                Started by trilliantrader, Yesterday, 03:01 PM
                2 responses
                22 views
                0 likes
                Last Post helpwanted  
                Working...
                X