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

2008.07.03 08:21

TimeOut - indicator for MetaTrader 4

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

votes: 5
TimeOut.mq4 (6.44 KB)view

The indicator displays the time between sending a quote by the broker and receiving it by you: the current, maximal and minimal lag.

ATTENTION! For the indicator to work properly, your system clock must be synchronized with the same server as the clock of your broker. Otherwise the usage of the indicator is meaningless.
The indicator will show the time of quote passing between the server of your broker and your terminal. The problems with the connection will be noticed at once (if there are), and also the obligingness of the broker and many other stuff.

If the indicator's value is 1-2 seconds, this can be the result of the connection quality and server's workload. But if the indicator shows >5 seconds - you need to pay attention to it (you can ask your broker's technical support, whether it is normal or not). That's not certainly the point, there can be a lot of causes. But at least you'll know that you receive the price by "n" seconds later than the others.
The indicator can not be a subject or a reason to assert a claim to a broker, it just acts as the information source!

External variables:

GMT_shift - Time zone (GMT_shift = 3 for Moscow)

DrawBars - The number of indicator's bars to be drawn (1 tick - 1 bar)

and 4 colors just to be safe ;)

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.

TP-SL_Removing TP-SL_Removing

Immediately deletes the SL/TP of all positions.

Closed_TOTAL Closed_TOTAL

Total closure of all positions (winners/losers). You can also select which are of a single instrument.