Quant Key Levels

Quant Key Levels, version 1.0. The reference levels a discretionary trader actually works from, on one chart and in one visual language. It is not a levels dump. Eleven families were chosen deliberately and every one of them can be switched off on its own.

The Camarilla set is the spine of the default chart. The other ten exist because they are the levels a Camarilla trader keeps checking anyway: where the imbalance is, where the real trading day started, where the last completed periods ended, where each session opened and closed, where the volatility trailing stop currently sits, and where the octave grid puts the middle of the range. Every level is defined from a period that has already closed, so once it is drawn it does not move. There is exactly one exception and it is labelled as such, today running high and low, which is a live range by definition.

Release notes, chart examples and new product announcements are posted on the TrendTower channel: https://www.mql5.com/en/channels/trendtower

Camarilla pivots

The levels are calculated from the previous completed daily bar, with R as the previous high minus the previous low. H4 and L4 sit at Close plus or minus R times 1.1 divided by 2, H3 and L3 at 1.1 divided by 4, H2 and L2 at 1.1 divided by 6, H1 and L1 at 1.1 divided by 12. H5 is the previous high divided by the previous low, multiplied by Close, and L5 is H5 mirrored around Close.

This is the Camarilla Channel that ships with MetaTrader 5, drawn exactly the way it draws it: all ten lines on every bar of the chart, solid, green above the close and red below it, with H3 and L3 heavy and the other eight thin. The colours are this product’s own — rose above the close and teal below it, measured for contrast rather than picked by eye — and the daily joining lines are gone: a Camarilla level is flat for a day and jumps at the boundary, and drawing it as one continuous line paints a vertical through prices that were never a level. Each day is a separate flat shelf here. That is deliberate and it is the point of the module: switch all four pairs on, put the stock Camarilla Channel on the same chart, and every VALUE sits exactly on top of its own. You can check that yourself, against something already in your terminal, which is the only kind of proof worth offering.

What ships ON is the mean reversion pair alone, H3 and L3. Ten lines at once is a wall and those are the two a trader actually works from. The other three pairs are one switch each, because a level and its mirror are read together, and turning a pair off removes its line, its right edge label and its touch alert together. The arithmetic is untouched: every level is still computed, so turning a pair back on shows the numbers that were always there.

What this module adds to it is correctness, never a different picture. The stock indicator builds its object prefix from the clock, so it changes on every restart and leftover labels can never be swept away; here the prefix is fixed and a sweep runs before anything is drawn. The stock indicator can stall permanently when the previous daily bar is missing, and not only for that bar but for the whole rest of the chart; here the history is actively requested, the affected bar is left blank and the levels repair themselves when the data arrives. The stock indicator divides by the previous Low without checking it; here H5 and L5 are left out rather than invented when that division is not safe. The stock indicator refuses to start at all above D1; here Camarilla simply stops drawing above D1 while the other ten families carry on — all but the read, which is a daily construction too and goes quiet above D1. And the special case that hid the labels on the built-in VPS is gone. Several vendors publish different H5 and L5 conventions; the one used here is the MetaQuotes published extension, and it is written on the tooltip of the level itself, so a number that differs from another package is a convention difference rather than an error.

H3, H4, L3 and L4 can each raise an alert when a bar closes beyond them, and every alert is off by default, with popup, push notification or email delivery chosen separately. Alerts follow the same rule as the drawing: only the last closed bar is judged, nothing fires for history that was already on the chart when you attached the indicator, and each level fires at most once per day.

Fair value gaps

The classic three candle imbalance, scanned over the last 300 bars by default and drawn as a shaded block extended to the right for as long as the gap stays open. A gap counts as filled the moment price trades through its far edge, the bottom of a bullish gap or the top of a bearish one, because reaching that edge means the whole imbalance has been traded back through. The box is cut at the candle that fills it and is never drawn past that candle. A filled gap is not deleted: it is dimmed and its right edge is frozen there, so the record of where imbalance was resolved stays on the chart. At most twenty gaps are kept, open ones claim the slots first, and the first thing dropped is always the oldest already resolved gap.

True New York midnight open

The daily open at midnight New York time, which is 05:00 UTC in winter and 04:00 UTC in summer, switching on the real United States daylight saving dates rather than on a broker server offset that someone typed in once.

To place that instant on your chart the indicator needs to know how far your broker clock sits from UTC, and it measures that instead of assuming it, by reading the weekly opening bar of a reference market out of your own terminal and solving for the single whole hour offset that puts that opening on Sunday at its known UTC time. There is no internet request and no external service. The chart symbol itself cannot serve as the anchor, because many brokers trim foreign exchange to broker midnight and that silently produces an offset one hour wrong, so a continuously traded instrument is used and gold is the default. The name tokens searched for are an input, and if nothing can be resolved the indicator falls back to manual winter and summer offsets and says which method is in use in the Experts log.

Multi period high and low

Four periods, each with its own switch. Yesterday, last week and last month ship on; today running ships off because it is the one level that moves all day. In order: yesterday, last week and last month. Every value is read from a completed daily, weekly or monthly bar rather than assembled by scanning intraday bars across a boundary, which is what makes weekend and holiday gaps a non issue. On a Monday the previous day is simply the previous daily bar, which is Friday.

Style carries recency rather than colour. All four use one steel blue family, and you read the age of a level from how it is drawn:

  • Today, solid and brightest
  • Yesterday, solid and slightly muted
  • Last week, dashed
  • Last month, dotted and most muted

Session open and close

Six price levels, not ranges: the open and the close of Tokyo, London and New York. These are not the rounded 08:00 to 17:00 blocks most session tools draw. They are the published trading hours of the three exchanges, to the minute. Tokyo runs 09:00 to 15:30 JST, with a closing auction from 15:25 that sets the official close, a 15:30 close that has been in force since November 2024, and no daylight saving anywhere in Japan, so it is 00:00 to 06:30 UTC every day of the year. London runs 08:00 to 16:30 London, with an opening auction ending at 08:00 and a closing auction from 16:30, which is 07:00 to 15:30 UTC on British Summer Time and 08:00 to 16:30 UTC on Greenwich Mean Time. New York runs 09:30 to 16:00 Eastern, the core open auction at 09:30 rather than 09:00, which is 13:30 to 20:00 UTC on Eastern Daylight Time and 14:30 to 21:00 UTC on Eastern Standard Time.

Every one of those times is entered as the exchange's own local time, hour and minute, exactly as that exchange publishes it. You never type a UTC number and you never type a summer variant and a winter variant: the conversion and the changeover are done for you, so nothing has to be re-entered twice a year. Change the local times if your working definition of a session differs and the UTC placement and the daylight saving shift stay correct on their own. Each level's tooltip shows both clocks, the UTC instant and the exchange local time with the zone in force that day, so you can check the placement without doing the arithmetic.

The two zones do not switch on the same weekend. In late October the United Kingdom has already fallen back while the United States has not, and for that week London and New York shift on different days. Each zone follows its own calendar here, so that week is handled correctly rather than smoothed over with one shared offset. Open is drawn solid and close dash dot in one violet family, so you can tell an open from a close by pattern alone. A boundary that has not happened yet draws nothing at all, and the close level appears only once the session has actually closed.

ARC trend pair

ARC stands for Average Range times Constant, from Welles Wilder Jr, 1978. A constant times the Average True Range is measured off price to give a level that trails the market, and the rule is short: if close minus factor times ATR is above the level the level moves up to it, if close plus factor times ATR is below the level it moves down to it, and otherwise the level does not move at all. The level is therefore dragged along only when price gets further than one ARC away from it. Inside that band nothing happens, which is why the line sits on long flat shelves and why price can cross it without moving it a single tick. The ATR used is the plain average of true range, not Wilder smoothing.

Two lines are drawn, used the way an Ichimoku uses its two fast lines but built from Average True Range instead of fixed period highs and lows: the Tenkensen on a nine period ATR with factor one, drawn thin, and the Kijunsen on a twenty six period ATR with factor 2.9, drawn heavy. Both period and factor are inputs. Each line has two colour inputs, one for while it sits below price and one for while it sits above, on separate plots so the handover at a side change is flat rather than a jump. They ship set to the same value per line, white for the Tenkensen and aqua for the Kijunsen, so each line reads as one colour unless you choose to have the side called out. The value drawn on a bar is the level as it stood after the previous bar closed, so nothing on the current bar can change it: the line is already fixed when the bar opens.

Murrey Math 4/8

Murrey Math takes the range of the last sixty four bars by default, snaps it onto a base eight octave grid and cuts that octave into eight equal eighths. The 4/8 line is the middle one, the main pivot, where price is treated as being in balance. Only the 4/8 is drawn here: the other twelve lines of a full Murrey set would turn the chart into a grid, and the 4/8 is the one that behaves like a key level. The calculation is a line for line port of the Murrey Math indicator that is already in the terminal, quirks included rather than tidied up, so the two agree to the last digit and can be checked against each other on the same chart.

The window is the bars BEFORE the current one and never includes it, which is what makes the level non repaint: it is fixed the moment its bar opens and cannot be revised by what that bar goes on to do. The level is a flat shelf that jumps when the octave frame changes, and the bar where it jumps is left blank so the two shelves are drawn as separate flats rather than joined by a diagonal through a price that was never a level.

Session VWAP

The volume weighted average price, accumulated from the start of the session: each bar contributes its typical price weighted by that bar's activity, and the line is the running average of the two. By default the session starts at the open of the broker's own daily bar, the same boundary the Camarilla levels use and the same one your daily chart draws, so the two never disagree about where the day began; the alternative anchor is true midnight New York, the same instant the third family marks, on the real United States daylight saving calendar.

Where the feed supplies real traded volume it is used. No retail foreign exchange or CFD feed does, so on those instruments the weight is the tick count, the number of price changes in the bar. That was measured rather than assumed, and so was what it tracks: tick count correlates 0.74 with the bar's range, which means it follows activity and volatility rather than traded size, while its shape through the day does match the real liquidity curve. On foreign exchange this line is honestly a volatility weighted mean price, and knowing that is worth more than a footnote.

It does not repaint. The value on a bar that has already closed never changes afterwards; that was measured to the last digit across every session tested and it is re-checked on every verification run. What moves is the bar still forming, which is what price itself does and what every charting platform shows. It is timeframe dependent, and so is every other VWAP: each bar contributes a single typical price, so a coarser chart folds more of the movement inside each bar into one number. Read it on the timeframe you trade.

Three optional band pairs sit at plus and minus a multiple of the weighted standard deviation of price around the line, using the same weights, so a band is wide when the session has been spread out and narrow when it has been coiled. Multipliers are one, two and three, each on its own switch, and all three ship switched off: they are six more lines on a chart that already carries more than twenty, and six lines that move together crowd out everything else.

Colours and settings

A small set of muted hue families, each distinguished inside itself by line style and weight rather than by adding more colours. Nothing is neon and nothing is a pure red or green, and the shipped values are chosen to stay readable across a long session on a dark chart. Every colour is an input, so the whole palette can be retuned to your own theme without losing the structure.

With everything switched on the eleven families put their levels on the chart, and their labels all want the same strip of screen at the right edge. Rather than let them print on top of each other, the labels go into one queue and a single pass lays out the whole column at once. Labels that land within one text height of each other belong to one row, and a shared row is written side by side: they are not merged and nothing is thrown away, so each label keeps its own text, its own price and its own colour. A shared row is set 25 percent smaller than a label that has its row to itself, which is what buys the horizontal space back, and the widths are measured with the real font metrics rather than guessed from a character count. Grouping runs in order of importance and the rows come out correctly spaced on their own, so no label is nudged off its own price and none is hidden. A row holds at most six labels by default; past that the last one carries a "+N" so the count stays honest. Crowding is measured in pixels, so the column is recomputed as you zoom.

Colour, line style and width come from the Inputs tab and are re-applied every time the indicator starts, so edits made in the Colors tab do not stick. That is deliberate. A chart stores the plot settings of every indicator attached to it and pushes them back over what the indicator asks for, so a chart that once held a different version of this tool can force that version's settings onto this one, and when the two disagree about how a line is drawn the line does not appear at all. Rather than let a stale chart setting silently blank out a level, the indicator puts its own definition back. Set your colours in the Inputs tab and they hold on every chart.

The complete input reference, including every default, every allowed range and the behaviour that has no switch, is in the Manual.txt file, published on the channel linked at the foot of this page. A Market product carries one file, so the manual is not packed with the EX5.

The broker clock

The broker clock is measured, and the answer is on the chart. Three of the eleven families are built on one number - the true New York midnight open, the six session levels, and both daylight saving calendars run off the broker’s UTC offset. Most level indicators assume it. This one measures it, from the weekly opening of a reference market rather than from the chart’s own symbol, and reports it in the journal at start-up, with an optional tag on the chart for anyone who wants the number in front of them. When it CANNOT be measured a warning appears on the chart and that one cannot be switched off, because a wrong offset puts those levels on wrong prices while the chart still looks entirely reasonable. In the Strategy Tester, where only the tested symbol is loaded and the reference is usually missing, it says that too.

Alerts

Alerts on the levels, not just on the pivots. Camarilla H3, H4, L3 and L4 raise a close alert; so do the previous day, week and month highs and lows, the true New York midnight open, and the session opens and closes. Every one of them judges the last CLOSED bar and never the forming one, none fires for the history that was already on the chart when the indicator loaded, and each level fires at most once a day. Delivery is popup, push notification or email. Every alert ships off.

The Central Pivot Range

The Central Pivot Range, and the width is the reading. P, TC and BC from yesterday’s daily bar. A narrow central range says yesterday closed near its own midpoint and the market did not decide; a wide one says it trended. TC is not always above BC — when yesterday closed below its own midpoint the pair inverts, and that flip is information, so both are drawn where they fall rather than sorted. The classic R1 S1 R2 S2 ride on the same pivot and ship off, because this family exists for the range. The TC label carries that width in daily ATR, as in “TC 0.42 ATR wide”, so a narrow day is a number rather than an impression.

The Data Window

Every level is readable in the Data Window. Hover a bar and read the exact number — previous day, week and month high and low, the New York midnight open, the pivot range, the session levels — instead of taking it off a label that shortens when the right edge is crowded. A level is only reported from the bar that defined it onward, so hovering last month does not report today’s previous day high.

The read

And a running read of the chart, in the language a desk would use. “Pinned to L3 4412.80, 0.04 ATR off it. Four touches in the last thirty bars and no close through.” It measures the distance from price to every level in daily ATR, decides which of seven situations that is — pinned, failed break, holding, pressing, between, confluence, open air — and prints the sentence for it with the real numbers in. The panel holds eight lines; on the rare read that fills them the last line ends in three dots, which is the panel saying it ran out of room rather than the read stopping there.

It is a classifier, not a crystal ball, and the distinction is the point: there is no model, no forecast and no network anywhere in this product. Nothing on that panel says where price is going or what to do about it. Every sentence is a statement about what has already happened — the only thing a chart can honestly tell you.

Multi symbol proximity

And the question a single chart cannot answer: which of the things you trade is on a level right now. The multi symbol proximity readout scans your Market Watch, or a list you give it, and reports each symbol’s distance to its nearest key level — in that symbol’s OWN daily ATR, so a gold row and a EURUSD row can be read against each other. 0.05 means price is on the level; 1.00 means a full average day away. Nine levels per symbol, all from its previous completed daily bar. It never adds anything to Market Watch to fill the list out, and a symbol still downloading its history is shown as waiting rather than reported as a zero. In the Strategy Tester only the tested symbol is loaded, so the readout shows one row there and says so on the plate; that is the tester, not the product. When a symbol has no live quote, because the market is closed or it has not ticked since the terminal opened, its last daily close stands in for the price.

Questions, bug reports and feature requests are welcome on the TrendTower channel: https://www.mql5.com/en/channels/trendtower

This is an indicator for analysis and decision support. It does not place trades. Always test thoroughly before using any tool in live trading. Trading involves risk.

algoteknik

Support, updates and every other product: mql5.com/en/users/bugraky123
Product channel: mql5.com/en/channels/trendtower

Quant Key Levels version 1.0

More from author
Refine OBV
Bugra Kaan Yildirim
Refine OBV  Refine OBV measures cumulative volume flow read against its own adaptive signal line with a color-coded spread and non-repainting divergence detection. Raw On Balance Volume answers one question: is volume being credited to the buyers or the sellers? While useful, raw OBV is a single wandering line with no reference point. Refine OBV adds an adaptive EMA of the flow itself as a reference line. The distance between the flow and its signal line (the spread) is rendered as a color-coded
FREE
Smart Exit EA
Bugra Kaan Yildirim
Smart Exit EA — Ride the Trend, Skip the Chop Smart Exit EA follows a trend with an adaptive ATR trailing line and stays in the move until the trend really turns. It is built for two problems every trend trader knows: getting shaken out of a good trade too early, and getting chopped up in a sideways market. Release notes, chart examples and new product announcements are posted on the TrendTower channel:   https://www.mql5.com/en/channels/trendtower What It Does Rides trends longer.   The trailin
FREE
Smart Chandelier Exit
Bugra Kaan Yildirim
5 (3)
Smart Chandelier Exit Smart Chandelier Exit is an adaptive trailing-stop and trend-direction indicator. It plots a multi-layer ratchet stop line that follows price: green below price in an uptrend, red above price in a downtrend. The line only ever ratchets in the trend's favor, never against it, so it doubles as a mechanical trailing stop and a clear trend-state signal. What makes it smart is the built-in Pearson R trend-quality filter. A raw stop line tells you where the stop is; the Pearson R
FREE
Trix Trend
Bugra Kaan Yildirim
Trix Trend algoteknik · MetaTrader 5 Indicator Manual Overview Trix Trend is a momentum oscillator based on TRIX — the rate of change of a triple-smoothed exponential moving average of price. Triple smoothing removes most of the short-term noise, so the oscillator reacts to the underlying momentum of the move rather than to every small wiggle, while staying more responsive than a simple long moving average. The indicator draws a slope-colored TRIX line, a weighted signal line, a zero line, and t
FREE
SVS Assistant
Bugra Kaan Yildirim
SVS Assistant SVS Assistant is the execution half of Smart Volatility Squeeze MT5. It carries out the orders you request from that indicator's 1-Click Trading Desk, applies your risk rules to them, and manages the resulting positions. It is published free of charge. Please read this before downloading: it does not analyse the market and it produces no signals of its own. Without the Smart Volatility Squeeze indicator running on the same chart there is nothing for it to listen to, and it will do
FREE
Smart Volatility Squeeze MT5 Smart Volatility Squeeze MT5 is a volatility compression and momentum expansion indicator for MetaTrader 5. It builds on John Carter's Volatility Squeeze framework and extends the usual single-tier squeeze into three compression tiers, so you can see not only whether the market is compressed but how tightly it is compressed before it expands. The indicator opens in a separate window and draws two elements: a linear regression momentum histogram and a row of coloured
Quant Desk Pro
Bugra Kaan Yildirim
Quant Desk Pro An R-native trade manager for MetaTrader 5.   It manages the trades you have already opened: it measures what each one is really risking, protects it, scales out of it on a plan you set, trails what is left, and stops the whole book when the day has gone far enough wrong. Read this first.   Quant Desk Pro does not open trades and has no signal. And it ships in   VIEW ONLY : it will not send a single order until you set   I understand the risks   to true in the inputs. Until you do
Filter:
No reviews
Reply to review