und werden Sie Mitglied unserer Fangruppe
Veröffentliche einen Link auf das Skript, damit die anderen ihn auch nutzen können
Bewerten Sie es im Terminal MetaTrader 5
- Ansichten:
- 24645
- Rating:
- Veröffentlicht:
- 2016.04.26 15:43
-
Benötigen Sie einen Roboter oder Indikator, der auf diesem Code basiert? Bestellen Sie ihn im Freelance-Bereich Zum Freelance
The mathematical formula expressing the linear regression looks the following way:
у = а + bx, where:
у - close price;
х - position of the current time period in the database;
а - 1/п (Ey - bEх);
b - (nExy - EхEу)/nEх2 - (Ex)2;
п - the number of time periods during the summation;
E - the sum for n periods.
The method of least squares is used for linear regressions in order to fit the line in the data set. The best line is found by minimizing the distance from the data points to this line.
Übersetzt aus dem Russischen von MetaQuotes Ltd.
Originalpublikation: https://www.mql5.com/ru/code/7325
![DynamicRS+Channel](https://c.mql5.com/i/code/indicator.png)
The indicator of dynamic resistance/support level with a fixed channel.
![LWMA-Crossover_Signal](https://c.mql5.com/i/code/indicator.png)
In the case of weighted moving average, the latest data is of more value than more early data. Weighted moving average is calculated by multiplying each one of the closing prices within the considered series, by a certain weight coefficient.
![Lines_buy и Lines_sell](https://c.mql5.com/i/code/indicator.png)
The indicators that perform the chart ruling.
![Macd-2](https://c.mql5.com/i/code/indicator.png)
MACD2 generates bearish signals from three main sources. These signals are a reflection of the bullish signals - negative divergence, bearish intersection of the moving averages, bearish intersection of the center line.