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.05.03 14:07
Multi-Williams Percent Range trend indicator

Multi-Williams Percent Range trend indicator - indicator for MetaTrader 5

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

votes: 25
vdirection.mq5 (11.33 KB)view


This is the modified version of Position in channel indicator.

The indicator calculates the values, similar to "Williams Percent Range" for 5 different periods. The values are plotted as a histogram. The histogram forms different patterns at different stages of the trend.

Input parameters:

  • TMode – mode: 0 - fast, 1 - normal, 2 - slow;
  • InpXCoord - the horizontal shift relative to the lower left corner;
  • InpYCoord - the vertical shift relative to the lower left corner.

Three sets of periods are used:

  • Fast – 30, 15, 10, 8, 6;
  • Normal – 60, 30, 20, 15, 12;
  • Slow – 120, 60, 40, 30, 24.



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.

Closed_TOTAL Closed_TOTAL

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

Closed_LOSS Closed_LOSS

Closure of all positions with a loss. (You can indicate a specific instrument if you want to).