Dots (MetaTrader indicator) is based on the 2006 indicator by TrendLaboratory. It displays the current trend direction by placing the dots on the main chart. The blue dots signal bullish trend and the red dots signal bearish trend. Although the indicator doesn't rely on any standard MetaTrader indicators, it uses a call to iMA() (moving average) to get the price values depending on the input price type used (Close, Open, High, Low, Typical, etc.) The calculation is based on the cosine of the angle of price change. Trader can modify several input parameters. The indicator is available both for MT4 and MT5 versions of the platform.

Input parameters

  • Length (default = 10) — the period of the indicator. The higher is the value the more it lags but less false signals appear.
  • AppliedPrice (default = PRICE_CLOSE) — price type to use in calculations.
  • Filter (default = 0) — particularly useful parameter to filter out spikes without adding lag.
  • Deviation (default = 0) — shifts indicator display vertically.
  • Shift (default = 0) — shifts indicator display horizontally.


Dots Indicator Example MetaTrader Chart

The recommended strategy is to wait for 2 dots of the same color and enter the trade with the trend. Unfortunately, it sometimes fails. Using one dot signal with Filter parameter set to something like the currency pair's spread x 3 could be a better idea.

Downloads (ver. 1.02, 2021-03-02)

Dots for MetaTrader 4

Dots for MetaTrader 5


Warning! If you do not know how to install this indicator, please read the MetaTrader Indicators Tutorial.

Do you have any suggestions or questions regarding this indicator? You can always discuss Dots with the other traders and MQL programmers on the indicators forums.


1.02 - 2021-03-02

  • Fixed Filter input parameter operation.

1.01 - 2021-02-28

  • Updated MT4 code to current standards.
  • Fixed a bug in MT5 version that caused the color of the current candle's dot to remain unchanged.

1.00 - 2011-05-22

  • Dots indicator first published on

© 2005–2022

Design — Mart Studio

Forex trading bears intrinsic risks of loss. You must understand that Forex trading, while potentially profitable, can make you lose your money. Never trade with the money that you cannot afford to lose! Trading with leverage can wipe your account even faster.

CFDs are leveraged products and as such loses may be more than the initial invested capital. Trading in CFDs carry a high level of risk thus may not be appropriate for all investors.