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 Human#102, Today, 09:54 AM
                  1 response
                  2 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by reynoldsn, 05-04-2024, 02:34 PM
                  3 responses
                  29 views
                  0 likes
                  Last Post NinjaTrader_Jesse  
                  Started by bill2023, Today, 08:21 AM
                  1 response
                  11 views
                  0 likes
                  Last Post NinjaTrader_Jesse  
                  Started by Johnny Santiago, 10-11-2019, 09:21 AM
                  97 responses
                  6,276 views
                  0 likes
                  Last Post NinjaTrader_BrandonH  
                  Started by patrickmlee007, Today, 09:33 AM
                  0 responses
                  3 views
                  0 likes
                  Last Post patrickmlee007  
                  Working...
                  X