Ten Moving Averages MT4
- Indicadores
-
Mohamed Amr Mohamed Osama Abdelwahab
Desenvolvedor de software, instrutor e líder de equipe técnica com mais de 22 anos de experiência em desenvolvimento de aplicações desktop, web e software financeiro. Freelancer Top Rated no Upwork, com mais de 200 projetos concluídos, mais de $200K entregues e 100% de sucesso nos trabalhos - Versão: 1.2
- Ativações: 10
Ten Moving Averages
Display up to ten moving averages on one chart, with separate settings for each line. This indicator does not open or close trades, provide entry/exit signals or promise profit.
Settings
For each line, choose:
- Type: RMA (Wilder / smoothed), SMA, EMA, WMA, HMA (Hull) or VWMA.
- Length and color. HMA uses a minimum length of 2.
- Price or timeframe: Normal MA, Chart and Multitimeframe MA use the chart close. Open, High, Low, Close, hl2, hlc3, ohlc4 and hlcc4 use the selected chart price. Named timeframes from 1 Minute to Month use that timeframe's close.
Lines 6 to 10 can apply a second moving average to the first line. Enable the base line, then choose the smoothing type, length and color. Show both displays the base and smoothed lines; switching it off displays only the smoothed line when smoothing is enabled.
Defaults: line 1 is enabled with a red EMA 200. Lines 2 to 10 are disabled, with SMA, length 1 and black color. For lines 6 to 10, smoothing is disabled by default, with SMA, length 1, black color and Show both enabled. Choose visible colors for a dark chart.
Timeframe behavior and limits
A named timeframe's MA is mapped to every chart bar within its source bar. Historical chart bars can therefore display values that were not yet known at their time. Values can change while the source bar is forming. This is not a non-repainting or look-ahead-free signal tool.
The 45-minute option can be synthesized from available M15 bars using 45-minute clock buckets. Available history and broker sessions affect the result. VWMA uses tick volume, not exchange-traded volume.
Source code and license
Original Pine Script copyright: hiimannshu. This MetaTrader conversion includes source code covered by the Mozilla Public License 2.0 (MPL 2.0). Buyers can request the covered converted source for their purchased platform and version, including conversion changes and license notices, at no additional charge by sending the seller a private message on MQL5. Your rights to use, modify and redistribute that source under MPL 2.0 are not restricted by the license for the Market executable.
