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

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.

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:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Modify All TP SL Modify All TP SL

The script modifies all orders (market and pending) on the symbol with specified Take Profit and Stop Loss.

iFractals 4all TF iFractals 4all TF

Buy or sell just by looking at the "arrow" as a signal. Very easy and simple.