Linear Regression Value – indicator MetaTrader 5

Linear Regression Value - indicator for MetaTrader 5
In the “good old days” coders were trying to optimize all the code that could be optimized. One such example was the optimization of Liner regression calculation. Coder that was coding by the name “mathemat” (if I remember correctly, if I am wrong please correct me) came up with a simplified formula for linear regression … Read more

Linear Regression Line (apply to) – indicator MetaTrader 5

Linear Regression Line (apply to) - indicator for MetaTrader 5
Not all indicators are suitable to have an option to be applied to another indicator data via mt5 designed / allowed options. Linear regression line (original that uses “simple” prices posted here : Linear Regression line) is one that is suitable We have regression channel as objects, but it needs to be constantly adjusted if we … Read more

Linear Regression Channel – indicator MetaTrader 5

LRChannel (Linear Regression Channel) indicator
The indicator plots a channel using the linear regression model: y=b+a*x. When calculation of regression coefficients (a and b) it uses only completed bars. The number of bars should be greater than 2 (and less than total bars in history-1), it is specified in InChPeriod input parameter. The indicator values for the last (uncompleted) bar … Read more

Regression Analysis – indicator MetaTrader 4

Regression Analysis - indicator for MetaTrader 4
Description: This indicator compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed. This analysis is done every time there is a new tick. // —- inputs // dp_limiter  It should be >2 . If not it will be autoset to default value // endpos      Last value … Read more

Regression Analysis v2.0 – indicator MetaTrader 4

Regression Analysis v2.0 - indicator for MetaTrader 4
This indicator compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed. This version: Fixed an error in calculating the standard deviation; Makes more use of the indicators of MQL4 standard library; Improved the functions of calculation of the regressions; Frees a buffer. It only … Read more