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.05.26 09:32

SDX-TzPivots - indicator for MetaTrader 4

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

Published by:
Aleh Sasonka
votes: 20

Real Author:


Calculation of pivot and similar levels based on time zones.

If you want to modify the colors, please scroll down to line 200 and below (where it says "Calculate Levels") and change the colors. Valid color names can be obtained by placing the cursor on a color name (e.g. somewhere in the word "Orange" and pressing F1).

Time Zone Inputs:

  • LocalTimeZone — time zone for which MetaTrader 4 shows your local time, e.g. 1 or 2 for Europe (GMT+1 or GMT+2 for daylight savings time). Use zero for no adjustment. The MetaQuotes demo server uses GMT+2.
  • DestTimeZone — time zone for the session from which to calculate the levels, e.g. 1 or 2 for the European session (without or with daylight savings time). Use zero for GMT.


If your MetaTrader server is located in the EST (Eastern Standard Time, GMT-5) zone and you want to calculate the levels for the London trading session (European time in summer GMT+1), then enter -5 for LocalTimeZone, 1 for DestTimeZone.

Please understand that the LocalTimeZone setting depends on the time on your MetaTrader charts (for example the demo server from MetaQuotes is always located in CDT (+2) or CET (+1), no matter what the clock on your wall says.

If in doubt, leave everything to zero.


SDX-TzPivots Inputs


  • BarForLabels = number of bars from right, where lines labels will be shown.
  • Comment for upper left corner: Range, Highs, Lows, Close - Yesterday, Today.

Translated from Russian by MetaQuotes Software Corp.
Original code:

MA Triple Median MA Triple Median

This indicator draws 3 Moving Averages by median price.

Convergent Divergent Range Volatility Convergent Divergent Range Volatility

The indicator analyzes price volatility for optimal setting of Take Profit and Stop Loss.

ToolBox ToolBox

Gives you information on pip value, spread value, daily pips average, how much you can earn, future range of the present day.

Pivot Point with adjustable closing time Pivot Point with adjustable closing time

Pivot Point (PP) indicator for use on timeframes < D1 with adjustable preceding day close time, elimination of sunday bars, optional display of weekly and monthly PP, preview of tomorrows' PP and current days' midpoints.