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

2012.12.05 10:47

Pivot Lines TimeZone - indicator for MetaTrader 5

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

votes: 16

The indicator is rewritten from MQL4, the author Alejandro Galindo, published by Scriptor, link to the source -

How it works

The indicator draws the Pivot levels, the Pivot sublevels and the Camarilla levels.

Levels can be displayed by indicator buffers (by the whole history) and/or only current levels by horizontal lines.

Drawing levels using the indicator buffers. 

Drawing levels using the horizontal lines.


  • DayStartHour - Hour of day start.
  • DayStartMinute - Minutes of day start.
  • PivotsBuffers - Draw the Pivot levels using the indicator buffers.
  • MidpivotsBuffers - Draw the Pivot sublevels using the indicator buffers.
  • CamarillaBuffers - Draw the Camarilla levels using the indicator buffers.
  • PivotsLines - Draw the current Pivot levels using the horizontal lines.
  • MidpivotsLines - Draw the current Pivot sublevels using the horizontal lines.
  • CamarillaLines - Draw the current Camarilla levels using the horizontal lines.
  • ClrPivot - Color of the Pivot horizontal line.
  • ClrS - Color of S1, S2, S3 horizontal lines.
  • ClrR - Color of R1, R2, R3 horizontal lines.
  • ClrM - Color of M0, M1, M2, M3, M4, M5 horizontal lines.
  • ClrCamarilla - Color of the Camarilla horizontal lines.
  • ClrTxt - Color of texts with horizontal lines names.
  • AttachSundToMond - Attach Sunday bars to Monday.

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.

Example of MACD Automated Example of MACD Automated

Code example of MACD automated with advanced money management function.

Pivot Star Pivot Star

Pivot indicator. Standard, Fibonacci, Camarilla, Woody's, Demark. Calculates pivot points from previous bar of chosen period (M5 - MN).