+1 888 340 6572
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
bug_report_small.png
Open Bug report MC-2034

LinearRegCustom gives incorrect result for lookback periods greater than 1024

action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

MultiCharts .NET64 Version 9.1 Release (Build 12589)
The LinearRegCustom method gives incorrect results for lookback periods greater than 1024. I wrote a simple signal (attached) to illustrate the issue:
In my example, a regression line with lookbackPeriod = 1024 minute bars gives a strong negative slope. Adding just one minute to the lookbackPeriod flips the regression to a positive slope. This is clearly mathematically impossible.
Please see the attached screen print: it is obvious that the green 1024 line is corrent while the red 1025 line is completely incorrect.

Steps to reproduce this issue

Run my attached signal. The test is done on a EUR/USD minute chart.

Comments (0)
History
Issue basics
  • Type of issue
    Bug report
  • Category
    Usability
  • Targeted for
    MultiCharts 10.0 (RELEASED)
  • Status
    Released
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (2)
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
  • Severity
    Normal
Attachments (1)
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates