• Get access

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 5

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

Published by:
Vladimir Lyopa
votes: 21
2015.07.03 11:16
2016.11.22 07:32
dots.mq5 (4.35 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: https://www.mql5.com/ru/code/13180

ColorZerolagRVI ColorZerolagRVI

This RVI oscillator analogue is calculated based on four Relative Vigor Index indicators.


The indicator determines and marks WRB (Wide Range Bars or Wide Range Bodies).

ColorZerolagStochs_HTF ColorZerolagStochs_HTF

The ColorZerolagStochs indicator with the timeframe selection option available in the input parameters.

GainLossInfo GainLossInfo

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