Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
5409
Rating:
(15)
Published:
2015.12.04 11:21
Updated:
2016.11.22 07:32
dots.mq5 (9.46 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 Ltd.
Original code: https://www.mql5.com/ru/code/14265

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.