Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Prior Levels and Pivots - indicator for MetaTrader 5

Views:
16
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Prior Levels and Pivots puts the levels many gold (XAUUSD), oil and forex traders watch every session on the chart in one tool: the prior period's high, low and close, the current period's open, and pivot support and resistance.PLP_XAUUSD_M15



Levels

- Build levels from the previous day, week or month.

- Pivot formula: Classic, Fibonacci, Camarilla (R1-R4 / S1-S4) or Woodie.

- Prior high, low and close (PDH / PDL / PDC, PWH / PWL / PWC or PMH / PML / PMC).

- Current period open (DO / WO / MO).

- Optional midpoints between pivot levels (Classic, Fibonacci and Woodie).

- Levels are drawn period by period for as many past periods as you choose, so you can see how price behaved around them before.

- The current period is drawn thicker and labelled. Labels that would sit on top of each other are merged into one, e.g. "PDC / DO / PDL". Hover a line to see its exact price.


Panel

- Current price.

- The nearest level above and below price, with its price and the distance in points.

- How much of the prior period's range the current period has already covered (for example "38% of prior").


An optional alert fires when price crosses one of the current period's levels, with an adjustable tolerance in points.


Notes

- Levels use your broker's D1, W1 and MN1 bars, so they follow the broker's server time.

- Distances are in points of the symbol (for a 3-digit gold quote, 1 point is 0.001).

- Works on any symbol and timeframe.


The indicator only reads prices and draws on the chart. It never opens, modifies or closes trades and makes no promise about results.


Inputs

- Level period (Daily): daily, weekly or monthly levels

- Pivot formula (Classic): Classic, Fibonacci, Camarilla or Woodie

- Number of periods to draw (5): 1 = current period only

- Show pivot, R and S levels / prior high, low and close / current period open (true)

- Show midpoints (false)

- Show level labels, add the price to labels (true)

- Colours, line widths (2 current / 1 older) and label font size (8)

- Show nearest-level panel (true), panel X/Y offset (10/20), font size (9), colour

- Alert when price touches a current level (false), touch tolerance in points (0 = exact cross)

Currency Strength Meter Currency Strength Meter

Shows the relative strength of USD, EUR, GBP, JPY, CHF, CAD, AUD and NZD, plus an optional gold (XAU) line, built from the 28 major pairs, with a strongest-to-weakest ranking panel.

Periodic VWAP Bands Periodic VWAP Bands

Volume-weighted average price that resets every day, week or month, with two pairs of standard-deviation bands, the previous period's final VWAP and a panel showing how far price is from VWAP in price, points and sigma units.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

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

MACD Signals MACD Signals

Indicator edition for new platform.