Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 Flatten on Friday

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

    NT8 Flatten on Friday

    Possibly add an option to flatten all positions and cancel all working orders at Friday 16:00 for example
    Make sure people can flatten at Friday close… as I met a few who didn’t understand about gaps!!! and the like who get destroyed by over weekend positions yet want to keep in during the week overnight
    MicroTrends
    NinjaTrader Ecosystem Vendor - micro-trends.co.uk

    #2
    NT8 Add bars Method OverLoad

    //sometimes we do not want historical data loaded

    bool loadHistorical =false;
    Add(PeriodType…, Period, loadHistorical);
    MicroTrends
    NinjaTrader Ecosystem Vendor - micro-trends.co.uk

    Comment


      #3
      Agreed!

      It would be nice to stop historical data. Right now in NT7 I usually put in a line in at the top like:

      if (Historical)
      return;

      If there were a way to have the "State.Historical" allow some form of SKIP option... That would be easier.

      Comment


        #4
        Hello NJA_MC,

        Thank you for your post.

        You can use if(State == State.Historical) return; inside of the OnBarUpdate().

        Comment


          #5
          Hello MicroTrends,

          Thank you for your suggestion.

          I will forward this over to development.

          Comment


            #6
            Hello MicroTrends,
            Originally posted by MicroTrends View Post
            //sometimes we do not want historical data loaded

            bool loadHistorical =false;
            Add(PeriodType…, Period, loadHistorical);
            You can use the AddDataSeries() overload barsToLoad as in the following syntax:
            Code:
            AddDataSeries(string instrumentName, BarsPeriod barsPeriod, int barsToLoad, string tradingHoursName, bool? isResetOnNewTradingDay)

            Comment


              #7
              Flatten on:

              Day, Week and before Rollovers. Auto Roll might be harder since it would be using some spread logic.

              Comment


                #8
                Hello Nullid,

                Thank you for your suggestion.

                Comment


                  #9
                  Hello Nullid,

                  Thank you for your suggestion on how we can improve our product. It has been inserted into our tracking system with the unique ID # SFT-364.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Mindset, Today, 06:46 AM
                  0 responses
                  9 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by M4ndoo, Yesterday, 05:21 PM
                  0 responses
                  14 views
                  0 likes
                  Last Post M4ndoo
                  by M4ndoo
                   
                  Started by M4ndoo, 04-19-2026, 05:54 PM
                  0 responses
                  15 views
                  0 likes
                  Last Post M4ndoo
                  by M4ndoo
                   
                  Started by cmoran13, 04-16-2026, 01:02 PM
                  0 responses
                  82 views
                  0 likes
                  Last Post cmoran13  
                  Started by PaulMohn, 04-10-2026, 11:11 AM
                  0 responses
                  48 views
                  0 likes
                  Last Post PaulMohn  
                  Working...
                  X