Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

end of sessiom

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

    end of sessiom

    Hi,

    I built a strategy and I found that some of the trades show losses because it got to the end of session.
    it's affecting my percent profitable.
    is there a way for a trade that got to this point wont effect the result?

    thanks, assi

    #2
    Hello assik,

    Thanks for your post and welcome to the NinjaTrader forums!

    If you have funds that can support trading through the end of session (IE: overnight margin) then you can disable the exit on session close parameter found in the Properties of the strategy. Please test this on your sim101 account.

    Alternatively, if you only want to trade intraday, you may want to establish a trading time filter that only allows you to place trades in a specified time period and then add logic to exit your last trade before the end of the session.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      hi paul,
      I disable the exit on session but the problem remains.
      The end of session accord at the end date (last day), so if the trade still open then it's closed at the last day of the date.

      is it fixable?

      thanks, assi

      Comment


        #4
        Hello assik,

        Thanks for your reply.

        If you are using the strategy analyzer then that would be the expected result that the last trade is closed at the end of the data so that the analyzer can analyze on complete trades.


        Paul H.NinjaTrader Customer Service

        Comment


          #5
          ok.
          is there a way to put out those trade so it wont effect my statistic?

          thanks, assi

          Comment


            #6
            Hello assik,

            Thanks for your reply.

            I just want to confirm that we are talking about 1 (last) trade in the strategy analyzer, is that correct?
            Paul H.NinjaTrader Customer Service

            Comment


              #7
              Yes, the last trade for the stocks, it can be more than one stock at the last day.


              Comment


                #8
                Hello assik,

                Thanks for your reply and confirmation that we are talking about the same thing.

                There would be no means to "put out" those end of session trades in the analyzer.

                You could code your strategy to not place those trades that coincide with the last day of the analysis but you would have to configure your strategy to manually input that date.

                I will create a feature request to request that we provide the ability to disregard the last trade from the analysis. A feature request does not mean that it would be implemented and is used to track user interest in a feature. If the feature request already exists your vote will be added to it.

                I will update this thread when I have further information on the feature request,
                Paul H.NinjaTrader Customer Service

                Comment


                  #9
                  Hi

                  Thanks for your replays, i appriciat the time you took for your answers.

                  You are the best!

                  Assi

                  Comment


                    #10
                    Hello assik,

                    Just to follow-up.

                    Your vote was added to the existing feature request assigned as SFT-2051, " Strategy Analyzer to not include backtest result for last trade".

                    Thank-you for your interest to improve NinjaTrader.
                    Paul H.NinjaTrader Customer Service

                    Comment


                      #11
                      Hi,

                      Thanks for the follow-up.
                      I make sure that the last trade wont be applayed after the 1.3, while the end Date is 21.3.

                      It's showed better results, It's jump from 54% to almost 70%.

                      Thank you for the attention.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by agclub, 04-21-2024, 08:57 PM
                      4 responses
                      18 views
                      0 likes
                      Last Post NinjaTrader_Gaby  
                      Started by Irukandji, Today, 04:58 AM
                      0 responses
                      3 views
                      0 likes
                      Last Post Irukandji  
                      Started by fitspressoburnfat, Today, 04:25 AM
                      0 responses
                      2 views
                      0 likes
                      Last Post fitspressoburnfat  
                      Started by Skifree, Today, 03:41 AM
                      1 response
                      4 views
                      0 likes
                      Last Post Skifree
                      by Skifree
                       
                      Started by usazencort, Today, 01:16 AM
                      0 responses
                      4 views
                      0 likes
                      Last Post usazencort  
                      Working...
                      X