Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strange results in Analyzer

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

    Strange results in Analyzer

    Hello all!

    Found some interesting and strange things in analyzer when backtesting my strategy.
    Look on this screenshots and I will explain.
    Look on the first enter - entered & closed on the same bar. Looks like everything OK on 15m chart.




    Here is this trade in statistics


    But what I found when I opened 1m chart and found this bar.
    The price doesnt was there after enter.


    So, can anybody explain me how can I resolve this problem, cause I have many examples of this issue. I need REAL results of backtesting, because in such way as now I cant know what result is correct.
    Thanks!

    #2
    Hello YevhenShynkarenko,

    Thank you for your post.

    You are viewing the historical trade performance of the strategy over the 15 minute bars, this is a backtest. This means that the orders report a fill on the close of the bar, as the 15 minute bar shows a range from 1187 to around 1199 it shows a fill within the bar.

    If you want to try to simulate intrabar fills when backtesting please visit the following link: http://www.ninjatrader.com/support/f...ead.php?t=6652

    Please let me know if you have any questions.

    Comment


      #3
      Originally posted by NinjaTrader_PatrickH View Post
      Hello YevhenShynkarenko,

      Thank you for your post.

      You are viewing the historical trade performance of the strategy over the 15 minute bars, this is a backtest. This means that the orders report a fill on the close of the bar, as the 15 minute bar shows a range from 1187 to around 1199 it shows a fill within the bar.

      If you want to try to simulate intrabar fills when backtesting please visit the following link: http://www.ninjatrader.com/support/f...ead.php?t=6652

      Please let me know if you have any questions.
      I added Tick Timeframe as in example. But nothing changes. What can be the problem?

      Comment


        #4
        Hello YevhenShynkarenko,

        Thank you for your response.

        Are you submitting the orders to the secondary series now?

        Comment


          #5
          Originally posted by NinjaTrader_PatrickH View Post
          Hello YevhenShynkarenko,

          Thank you for your response.

          Are you submitting the orders to the secondary series now?
          Yes.
          i have Primary timeframe is 15 minute
          and i add new timeframe using Add(PeriodType.Tick, 1);

          EnterLong and EnterShort writed in
          if(BarsInProgress == 1){
          ....EnterLong("someEnterLong");
          .....
          ....EnterShort("someEnterShort");
          }
          and i try using
          EnterLong(1, 1, "someEnterLong")
          EnterShort(1, 1, "someEnterShort")
          Result was be same as i using BarsInProgress == 1
          Last edited by YevhenShynkarenko; 05-13-2015, 04:59 PM.

          Comment


            #6
            Hello YevhenShynkarenko,

            Thank you for your response.

            Can you provide the performance results?

            Comment


              #7
              Originally posted by NinjaTrader_PatrickH View Post
              Hello YevhenShynkarenko,

              Thank you for your response.

              Can you provide the performance results?
              Sure. Here is 1 year results.

              Comment


                #8
                Hello YevhenShynkarenko,

                Thank you for your response.

                Unfortunately, the image did not upload. If you prefer you can send the image to platformsupport[at]ninjatrader[dot]com with this thread in the subject line: "http://www.ninjatrader.com/support/forum/showthread.php?t=73974"

                Comment


                  #9
                  Hello YevhenShynkarenko,

                  Thank you for sending over the image.

                  Can you provide a screenshot of the executions and the charts as you did in the original post? This way I can see what is occurring with the executions as you are submitting these to the secondary series.

                  Comment


                    #10
                    Originally posted by NinjaTrader_PatrickH View Post
                    Hello YevhenShynkarenko,

                    Thank you for sending over the image.

                    Can you provide a screenshot of the executions and the charts as you did in the original post? This way I can see what is occurring with the executions as you are submitting these to the secondary series.
                    Yes.
                    Here is the executions and screenshots of Trades tab. Examples:
                    1st



                    2nd



                    3rd



                    As you can see - enter time can be any, but exits are always on 15m chart like 0:15;00, 0:30:00 ...

                    Comment


                      #11
                      Hello YevhenShynkarenko,

                      Thank you for your response.

                      SetStopLoss() and SetProfitTarget() will execute on the primary series. If you want to exit on the secondary series you need to use the Exit methods.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by frslvr, 04-11-2024, 07:26 AM
                      7 responses
                      109 views
                      1 like
                      Last Post caryc123  
                      Started by rocketman7, Today, 09:41 AM
                      3 responses
                      7 views
                      0 likes
                      Last Post NinjaTrader_Jesse  
                      Started by traderqz, Today, 09:44 AM
                      2 responses
                      4 views
                      0 likes
                      Last Post NinjaTrader_Gaby  
                      Started by stafe, 04-15-2024, 08:34 PM
                      8 responses
                      40 views
                      0 likes
                      Last Post stafe
                      by stafe
                       
                      Started by rocketman7, Today, 02:12 AM
                      7 responses
                      31 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Working...
                      X