Download MetaTrader 5

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

2015.12.04 11:21

Dots - indicator for MetaTrader 5

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

votes: 13
dots.mq5 (9.46 KB)view

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.

The indicator's calculations are not based on the standart indicators of the MetaTrader platform. The calculation is based on cosine of a price change angle. The trader can set several input parameters of the indicator:

//| Indicator input parameters        |
input uint Length = 10;                // Depth of smoothing
input uint Filter = 0;                 // parameter allowing to filter price surges without adding display lags.
input Applied_price_ IPC=PRICE_CLOSE_; // Applied price
input int PriceShift=0;                // Vertical indicator shift in points
input int Shift=0;                     // Horizontal indicator shift in bars

Originally this indicator has been written in MQL4 and was first published in the Code Base on 09.06.2015.

Fig.1. The Dots indicator

Fig.1. The Dots indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

Exp_ColorXCCXCandle Exp_ColorXCCXCandle

The Exp_ColorXCCXCandle Expert Advisor is based on the change of color of the ColorXCCXCandle indicator candles.

Super_Trend_HTF Super_Trend_HTF

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

Dots_HTF Dots_HTF

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

DotsSign DotsSign

Semaphore signal indicator based on the Dots trend indicator algorithm.