Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator & Chart Bugs in Optimization

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

    Indicator & Chart Bugs in Optimization

    Note: NT-Bug38.Jpg - LinReg(35) has a value of 1448 when it should be about 1115.
    I have Min Bars Required set to 50 with a LinReg of 35.
    The LinReg dropped in a very questionable way until it basically Flat Lined @ 1112.

    Note: NT-Bug39.Jpg - Lin Reg shows a value of 1114.25, but the chart is still Flat Lined at about 1112. Also note that it continues until about 17:00.

    Note: NT-Bug40.Jpg - LinReg is still Flat Lined until about 22:40/23:00 the same day.

    Note: NT-Bug41.Jpg - LinReg magically changed a ton to a more realistic display as soon as I moved the curson to about 23:40. All of the previous days seemed to correct themselves.

    A couple trades were missed during this timeframe.
    Attached Files

    #2
    NT-Bug38 - LinReg(35) requires at least 35 bars before it will be plotted accurately. You setting "Min. bars required" sets that for the strategy, not the indicator plotting. The indicator plotting will begin at bar #21 because the default for all indicator's BarsRequired setting is 20. This obviously would generate inaccurate values because bars required is 35 not 20. When the required bars for the indicator is met then the plot stabilizes and it will be accurate.

    NT-Bug39 - Expected. Reason is because the indicator is plotting the unstable period and that is getting used in your y-axis scale for that indicator. The unstable period generates values too far off ~1110 levels thus when the prices have stabilized at bar #36 it looks like it is a flat line. Just scroll the chart to the right and push the unstable period out of the x-axis and then it will look fine.

    NT-Bug40 - Again, unstable period still in your chart. Push it out of the chart and it will be fine.

    NT-Bug41 - This is a proper looking chart without the unstable period. Everything working fine as you have noted.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    597 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    343 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    556 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    555 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X