Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


Dots - indicator for MetaTrader 4

TrendLaboratory | English Español Português Русский Deutsch 日本語

Published by:
Vladimir Lyopa
votes: 10
2016.02.08 11:35
2016.11.22 07:32
dots.mq4 (3.8 KB)view

Real author:


The Dots indicator is based on an indicator developed by TrendLaboratory in 2006. The indicator shows current trend direction by placing colored dots on the main chart. Blue dots indicate an uptrend, red dots indicate a downtrend.

Although the indicator calculation is not based on standard MetaTrader platform indicators, it uses the iMA (Moving Average) function to get prices of a specified type (Open, Close, Maximum, Minimum, Typical etc.). The calculation is based on cosine of a price change angle. The user can set several input parameters.

Input Parameters:

  • Length (by default = 10) — indicator period. The higher this value, the higher the time lag, and the fewer false signals are displayed.
  • AppliedPrice (by default = PRICE_CLOSE) — price type to use in calculations.
  • Filter (by default = 0) — useful parameter allowing to filter price surges without adding display lags.
  • Deviation (by default = 0) — vertical indicator shift.
  • Shift (by default = 0) — horizontal indicator shift.


  • Recommended strategy is to wait for 2 identical dots and open positions by trend. Unfortunately, sometimes it fails. A suitable alternative would be to use one dot as a signal with Filter parameter set as Spread x 3.

Translated from Russian by MetaQuotes Software Corp.
Original code:


The indicator detects and marks the WRB (Wide Range Bars) or candlesticks with Wide Range Bodies.

Divergence Petr Divergence Petr

The indicator of divergences on 30 oscillators of choice.

Easy Trend Visualizer Easy Trend Visualizer

A simple visualizer of trends.

GainLossInfo GainLossInfo

Shows the current gain and loss for the candlesticks on the chart.