Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

GARCH Indicator - Industrial Level Volatility Estimator - indicator for MetaTrader 5

Views:
178
Rating:
(2)
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Example of the indicator in EURUSD, M30


The Generalized AutoRegressive Conditional Heteroskedasticity (GARCH) volatility/volume indicator is based on the GARCH(1,1) recursion model, which is used in financial markets to forecast the volatility of the price action of financial assets. This statistical model is used in financial time series analysis where the variance of a time series is assumed to be autocorrelated and that the error term (difference between model prediction and what actually happens) has an autoregressive moving average process which can be modeled. The error term variation of financial markets is always irregular, hence the name heteroskedacticity

Financial institutions use the GARCH model as an estimator for the volatility of stocks, bonds and market indices. This indicator has been tested with Forex, commodities (XAUUSD) and crypto (BTCUSD). 

Input space:

  • Gamma variable - constant term (unconditional variance)
  • Alpha variable - ARCH coefficient (reaction to last shock)
  • Beta variable - Generalized ARCH coefficient (persistence of past variance)
  • Bar window - Amount of bars to include in rolling mean/std. 
  • Threshold scale - Default is 1.

Lines:

  • The cadet-blue line represent the GARCH one-step forecast values of the volatility (variance) for the next candle. This line is calculated using the GARCH(1,1) formula for volatility. During drastic return changes, the line spikes up and slowly decays back to its baseline, indicating a high volatile period.
  • The red line represents the threshold for identifying high/low volatile periods. This allows for a two-line-cross signal identification for the trader, whilst also allowing expert advisors to easily identify highly volatile areas. The threshold scale can also be amplified.

This indicator might not work as intended with M1, M5 timeframes. 

Learn more about the GARCH: https://www.investopedia.com/terms/g/garch.asp






































































































































































































































































































































































































AutoTrendLines Indicator for MQL5 AutoTrendLines Indicator for MQL5

The AutoTrendLines indicator automatically draws support and resistance trend lines on your MetaTrader 5 chart. It identifies key price levels using two methods: Two Extremums (Type 1) or Extremum and Delta (Type 2). The lines are recalculated only when a new bar forms, ensuring efficient performance.

Auto Tp Auto Tp

Set Auto TP and SL: The “Set Auto TP and SL” (Take Profit and Stop Loss) feature is a crucial tool in any trading strategy, designed to automate risk and reward management. It allows traders to define fixed price levels where a trade should be automatically closed to either secure profits (TP) or limit losses (SL), removing the need for constant manual monitoring. When this feature is enabled, each position you open will automatically include a predefined Take Profit and Stop Loss level based on your custom parameters, such as a specific number of pips, percentage of balance, or technical levels. This not only saves time but also ensures that your trades are protected from sudden market movements and emotional decision-making.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

MACD Signals MACD Signals

Indicator edition for new platform.