Rejoignez notre page de fans
- Vues:
- 4868
- Note:
- Publié:
- 2018.10.25 15:29
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
The author believes that in most cases, the price tends to return back to the corridor after leaving it. Then it heads to the central line.
Unlike the author's calculation, the upper and lower lines of the corridor are calculated using the standard deviation.
The indicator has three input parameters:
- Linear regression period - linear regression period for calculating the central line of the channel
- Standard deviation period - standard deviation period for calculating extreme channel lines
- Multiplier - multiplier for calculating the channel width
Calculation:
Central = LinearReg((Open+High+Low+(2*Close))/5) Top Band = Central + Multiplier * Deviation Bottom Band = Central - Multiplier * Deviation
where:
Deviation = StdDev(Close,Standard deviation period,SMA)
- If Central < PrevTop && Central > PrevBottom
Top = PrevTop Central = PrevCentral Bottom = PrevBottom
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/22089
![Sensitive](https://c.mql5.com/i/code/expert.png)
The Expert Advisor based on iMACD(). Displaying MACD values via Point().
![Proffessor v3](https://c.mql5.com/i/code/expert.png)
Grid of pending orders. The EA applies iADX (Average Directional Movement Index, ADX) indicator.