Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Possible bug in the NT last version 7.0.1000.12

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

    Possible bug in the NT last version 7.0.1000.12

    Hi ninjas,

    I´ve downloaded the NT last version and began to do some backtest but I think something might not run good.

    For example I run this simple code

    if (Close[0]>=Close[1])
    {
    EnterLong(100000, "BUY");
    }

    ExitLong();

    When you run a simple backtest for Range bars, the results come out but:

    - If you look at the executed trades you´ll see that between the Buy and sell there are several bars in the chart when following the code the Sell must be the next bar after the buy; although the Strategy Analyzer column that call " # Bars" says 2, weird

    - If you call a chart from the executions list, you could see even that actually there are "Buys" in down bars, I can not understand that

    Please let me know if it's something that I'm wrongly doing or if I must to downgrade my NT to the previous version.

    Meanwhile I gonna downgrade to NT previous version. Please review and debug it.

    Thanks a lot

    Here you go a sample as you can see in the image added. This result was for a 9 range bar, and strategy analyzer still gives a 4 range bar and bad sell signals
    Attached Files
    Last edited by pstrusi; 04-06-2013, 04:01 AM. Reason: Adding an image

    #2
    To better assist you and compare to what I'm seeing on my end, can you send me a screen shot of your results?
    MatthewNinjaTrader Product Management

    Comment


      #3
      I've already realized that despite the chart show several bars of distance between Buy and Sell, actually there are just 2 as programmed in the code, the issue is whenever you call for that chart from executed trades in Strategy Analyzer it shows the chart in other Range Bar, so as you can see is a little bug not a big problem.

      The other problem that Buy orders in a down bars is a consequence of that bad chart draw

      Thanks for your assistance

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by helpwanted, Today, 03:06 AM
      1 response
      7 views
      0 likes
      Last Post sarafuenonly123  
      Started by Brevo, Today, 01:45 AM
      0 responses
      7 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      5 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      242 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      384 views
      1 like
      Last Post Gavini
      by Gavini
       
      Working...
      X