Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Indicatori

MACD TradingView Style for MT4 - indicatore per MetaTrader 4

Marco Rosato
Marco Rosato
Appassionato di programmazione fin da bambino, oggi mi concentro sullo sviluppo di Expert Advisors e strumenti per MT5/MQL5.
Visualizzazioni:
16
Pubblicato:
Freelance MQL5 Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

MACD TradingView Style for MT4

Image MT4


Image TradingView

Image TradingView


This indicator brings TradingView's exact MACD implementation natively into MetaTrader 4, replicating both the visual style and the mathematical precision of Pine Script's built-in MACD.

Why this indicator is different:


The standard MT4 MACD uses a Simple Moving Average for the Signal line. TradingView instead uses an Exponential Moving Average seeded with an SMA — this is Pine Script's ta.ema()
initialisation. The difference is subtle but real: values diverge on historical bars, making direct comparison between MT4 and TradingView impossible with standard indicators.

This indicator solves that problem exactly.


Key features:

- 4-color histogram identical to TradingView:

  Dark Green  — histogram above zero and rising
  Light Green — histogram above zero and falling
  Light Coral  — histogram below zero and rising
  Red             — histogram below zero and falling


- Signal line seeded with SMA, matching Pine Script's
  ta.ema() initialisation exactly


- EMA calculated internally — no iMA() calls,
  no external indicator dependencies


- Works on any symbol and timeframe

- Fully customisable: Fast EMA, Slow EMA, Signal length,
  price source (Close, Open, High, Low, Median, 

  Typical, Weighted)


No DLL, no external dependencies. Plug and play.


Also available for MetaTrader 5:

https://www.mql5.com/en/code/74050

Institutional Kyle's Lambda Market Impact Engine Institutional Kyle's Lambda Market Impact Engine

An institutional market microstructure indicator for MT4 that computes Kyle's Lambda and Amihud Illiquidity ratios to identify institutional order absorption and toxic liquidity vacuums.

Stochastic Moving Average Stochastic Moving Average

This indicator is an implementation of Stochastic of Moving Average. This indicator can be used as a filter indicator. It can be associated with my free indicator "HLPeak_Trend".

Trade in Channel Trade in Channel

A form of trading system using Price Channel principles has been implemented.

Period Converter Optimized Period Converter Optimized

Improved period converter support real-time refreshing, low CPU cost and other features.