Assista a como baixar robôs de negociação gratuitos
Encontre-nos em Facebook!
Participe de nossa página de fãs
Script interessante?
Coloque um link para ele, e permita que outras pessoas também o avaliem
Você gostou do script?
Avalie seu funcionamento no terminal MetaTrader 5
Indicadores

MTF MACD - indicador para MetaTrader 4

Visualizações:
44387
Avaliação:
(17)
Publicado:
2009.05.27 06:07
Atualizado:
2014.04.21 14:53
Precisa de um robô ou indicador baseado nesse código? Solicite-o no Freelance Ir para Freelance

MTF MACD is a MetaTrader indicator based on well known MACD. Moving Average Convergence / Divergence, is a technical analysis indicator created by Gerald Appel in the 1960s. It shows the difference between a fast and slow exponential moving average (EMA) of closing prices. Additionally it has signal line which is simple moving average (SMA) of main value of indicator. MACD is a trend following indicator, and is designed to identify trend changes. It's generally not recommended in ranging market conditions.

In MetaTrader we have MACD already included as a standard technical indicator. However it can be used only for current timeframe. When we are looking for trend, it is very desirable to have MACD showing higher timeframes. MTF MACD presented here has additional parameter - TimeFrame. You can use it to set up higher timeframe from which MACD will calculate its values. Because values are derived from bars, when using higher timeframes, you will notice rough shape of indicator lines.

MTF MACD settings:

  • TimeFrame

Default value is 0 - means current timeframe. For other timeframes: 1=M1, 5=M5, 15=M15, 30=M30, 60=H1, 240=H4, 1440=D1, 10080=W1, 43200=MN1

  • FastEMA

Default value is 12. This is fast exponential moving average.

  • SlowEMA

Default value is 26. This is slow exponential moving average.

  • Signal

Default value is 9. This is signal line and it is simple moving average.

  • Applied_price

Default value is 0 - means Close price used for MA calculations. For other types of price: 0-CLOSE, 1-OPEN, 2-HIGH, 3-LOW, 4-MEDIAN, 5-TYPICAL, 6-WEIGHTED.

  • Shift

Default value is 0. This parameter shifts whole indicator by Shift number of bars from set timeframe to the right on the chart.

Example.

MTF MACD screenshot

ytg_Multi_Stoch ytg_Multi_Stoch

The multiple currency adviser on the indicator Stochastic.

TST TST

Without the display adviser.

MTF Relative Strength Index MTF Relative Strength Index

Multi timeframe Relative Strength Index - has additional parameter - TimeFrame. You can use it to set up higher timeframe from which Relative Strength Index will calculate its values.

Trainyourself EA Trainyourself EA

This is an EA I coded to make trades and experiment with trading in the Strategy Tester. Drag and drop objects in a yellow basket and control your orders.