Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Standard_Error_Bands - MetaTrader 5 Script - MT4/MT5 Resource

author EAcpu | 2 reads | 0 comments |

Standard_Error_Bands - indicator for MetaTrader 5

Standard_Error_Bands - indicator for MetaTrader 5

Standard Error Band Indicator - Smoothed Linear Regression Line: A 21-period linear regression curve smoothed by a three-period simple moving average. Upper channel line - linear regression line plus 2 standard errors. The lowering channel line is the linear regression line minus 2 standard errors.

The indicator was described in a September 1996 article by John Andersen in Stocks & Commodities magazine.

It has four inputs:

Center = SMA(LReg, smoothing period) Top = Center + Multiplier * Deviation Bottom = Center - Multiplier * Deviation

Deviation = StdDev(LReg, smoothing period) LReg - Linear regression with "Apply Price" and "Return Period" calculation periods

Standard_Error_Bands - indicator for MetaTrader 5

Standard_Error_Bands - indicator for MetaTrader 5


Attachment download

📎 standard_error_bands.mq5 (20.87 KB)

Source: MQL5 #22364

Verification code Refresh