당사 팬 페이지에 가입하십시오
- 조회수:
- 3863
- 평가:
- 게시됨:
- 2018.10.25 18:13
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Standard Error Bands indicator - Smoothed linear regression line: 21-period linear regression curve smoothed by a three-period simple moving average. Upper channel line - linear regression line plus 2 standard errors. Lower channel line is a linear regression line minus 2 standard errors.
The indicator was described by John Andersen in "Stock and Commodities" magazine in September 1996.
It has four inputs:
- Regression period - linear regression period
- Smoothing period
- Multiplier - standard deviation ratio
- Applied price
Calculation:
Central = SMA(LReg,Smoothing period) Top = Central + Multiplier * Deviation Bottom = Central - Multiplier * Deviation
where:
Deviation = StdDev(LReg,Smoothing period) LReg - linear regression at 'Applied price' with the 'Regression period' calculation period
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/22364