Attachments forums

List of attachments posted on this forum.


All files on forums: 135704

Re: Moving Average indicators for MT4

Banzai, Thu Jun 09, 2022 9:10 am

mrtools wrote: Mon Apr 17, 2017 5:17 am Quoting Mladen :::::::

Linear regression ...

This is a kind of "all about liner regression" indicator.

It is shoving linear regression value (sometimes wrongly called LSMA), linear regression line (and a projection of liner regression line into the "future"), linear regression channel (projected too) and can color the linear regression value based on the slope of the linear regression line.

Visibility of linear regression line, channel and projection can be chosen with parameters (for projections just set the projection length to 0 to turn it off). By default a close-close is used for channel (that is the way how metatrader built in liner regression channel works) but you can use a high-low channel too. Coloring of the linear regression line is by default using linear regression line slope but you can choose to color according to linear regression value slope (slope of the main indicator) or you can turn it off altogether


I think it covers most of what linear regression is used for now
R-Squared and Linear Regression

Coder: Onur Sirek
Release date: June 7th, 2022

Also, it can do some other things:
Slope
Slope in degrees
Variance
Std Deviation
Mean
"Fake Graphs"
With this function (fake graphs) you can plot the actual data from a indicator. This is valuable when you are coding an EA and testing it on MT4, as the strategy tester does not show in real-time the actual graph from the indicators... Just fill the array with the actual N-values and call the procedure "Fake Graph" to plot it rigth on the main window
All files in topic