New free code from MQL5: indicators, EAs, and scripts for traders.
Levels
Experience adaptive trading with the Fluid Expert Advisor for MT4/MT5. Dynamic money management and trend detection. Click for info.
- 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)
Thanks for reading. Discover premium MetaTrader solutions at RobotFX.
79457