First of all, i want to say that i'm using NT 7.0.1000.22 version. I didnt follow your newer versions for a while.
Today i tried to develop linear regression line indicator for MetaTrader4 platform. Before that i search from google that existing indicators and didnt like anyone (i'm a little bit rigorous about programming). Anyway i try to understand linear regression formula from wiki and khanacademy.org and at the last i wrote my own regression line indicator.
But after that i want to be sure its working correctly or not and i remember NT has LinReg indicator!!! God! I created new indicator on MetaTrader4 exactly the same as NT and only convert NT c# code to MQL language.
Result is... there is a little bit diffrence! I said myself that NT can not be wrong mine indicator must be wrong. But after a little work i found source of difference. And i'm sure (very likely) NT has a bug about its LinReg indicator.
My opinion for fix the bug : change LinReg source 46. row from "2 * Period - 1" to "2 * (Period - 1)"
But I want to be sure about that please inform me, am i right? or maybe you fixed it subsequent versions.
Best Regards,
Aytaç

This may be a coincidence? I dont think so. I'm looking forward to the answers.
because it's not rich about indicators like NT. I wrote my own custom indicator. Actually i dont know what is that mean divisor etc... in your lin reg indicator so i decide to post my indicator core function. I'm sure your developer team can be read easily the code because MQL syntax very similar c++ like c#.
Comment