Auto Level Map

What Gets Drawn

Most level tools mark every swing they can find, and a chart with forty lines answers nothing. This one keeps a level only when price came back to it, and prints the evidence next to the line: the number of touches and the age in days.

Lines above current price and lines below it are drawn in different colours, so the map reads at a glance without counting.

What Puts A Level On The Chart

A swing high is a bar whose high is not lower than its neighbours on both sides, within the number of bars you set; a swing low is its mirror. Swings that land within the merge distance of each other are not separate levels, they are one level touched twice, and the price of that level is the running average of everything merged into it, so a single outlier does not drag it.

A level with fewer touches than your threshold is not drawn at all. That is the whole point: the chart shows the few places price kept returning to, not every place it ever turned.

Touches And Age Are Printed, Not Implied

Next to each line stands the count and the age: "4 touches, 31 days". Both are verifiable on your own chart in a minute. Scroll back, find the swings near that price, count them. If the count on the screen disagrees with what you count by hand, write it in the comments with the symbol and the timeframe.

Choosing The Merge Distance

Two swings a few points apart are the same level on gold and two different levels on a currency pair. The merge distance therefore defaults to a share of ATR rather than to a fixed number of points, and adapts to the instrument by itself. Where you want the old behaviour, switch the mode to Points and set the number you prefer.

Input Parameters

  • SwingBars - bars on each side that make a swing
  • HistoryBars - how far back swings are looked for
  • ToleranceMode - merge distance as a share of ATR, or in fixed points
  • ToleranceValue - the share, or the number of points
  • AtrPeriod - ATR period used by the share mode
  • MinTouches - how many touches a level needs before it is drawn
  • MaxLevels - how many levels appear on the chart, taken by touch count
  • ShowLabels - print the touch count and age next to each line
  • ColorAbove - colour of levels above price
  • ColorBelow - colour of levels below price
  • ObjectPrefix - prefix for every chart object created

Reading The Figures From An Expert Advisor

Four buffers are published: the nearest level above price, the nearest below, the distance to the closer of the two in points, and the touch count of that level. An expert advisor can ask "how far is the nearest level and how strong is it" without redoing the search. Buffers hold an empty value while no level passes the threshold.

Requirements

Any symbol and any timeframe. Levels are rebuilt once per finished bar, not on every tick: a swing needs finished bars on its right side, so nothing about it can change inside the current bar. The indicator places no orders and writes nothing to disk.

Support

Questions about a parameter, or a level whose count you cannot reproduce by hand: reply in the comments of this page with the symbol, the timeframe and the settings, and I will look into it. A rating helps other traders decide whether a free tool is worth their time, whichever way it goes.

More from author
Swept Liquidity Pools
Vasilii Makarenko
5 (1)
A liquidity sweep is a bar that pushes past a prior swing high or swing low, where protective stop orders tend to rest, and then closes back on the inner side of that level. The same event is known under several names: a stop hunt, a stop run, a liquidity grab, a false breakout, a failed breakout, or a swing failure. Swept Liquidity Pools marks those levels and those bars on the chart. The indicator tracks liquidity pools - confirmed swing levels that have not yet been taken - and marks the exac
FREE
Hourly Spread Map answers one question: at which hours does this symbol cost more to enter, and by how much. It reads the spread field that the terminal stores in every closed M1 bar of your own broker feed, sorts those measurements into 24 hours by 7 days of the week, and shows the result as a grid in the indicator sub-window. What It Measures Every closed M1 bar carries one spread measurement. The indicator collects them over the period you choose, groups them by the hour and weekday of the ba
FREE
Swap is the part of the cost that is easy to forget, because it arrives once a day, quietly, and never appears in the spread. Swap Cost Calendar puts it on the chart as a number you can act on. What It Shows The panel reads what the broker publishes for the current symbol and shows four things. The cost of one night for a long position and for a short one, in your account currency or in points. The weekday line, showing how many nightly charges a position carries on each day of the week. The tri
FREE
Three Anchors On One Chart Most volume weighted average lines restart once a day. This one draws three at the same time: one anchored to the current trading session, one to the day, one to the week. Their spread tells you something a single line cannot. When the session line sits far under the weekly one, the week has been trading higher than today is; when all three sit together, the market has spent the week in one place. Why The Session Anchor Is Not Midnight The session line starts where the
FREE
What It Shows Candle Clock Desk puts four lines on the chart. The first is the time left until the current bar closes. The next three answer a question the clock alone cannot: is this bar unusually busy, or unusually quiet, right now. Bar closes in - the countdown, in minutes and seconds So far - volume this bar has accumulated since it opened Usual here - what this symbol had accumulated by this same minute, in the past Pace - the first divided by the second The Pace Line Pace of 1.00 means the
FREE
A liquidity pool is a confirmed swing high or swing low that has not yet been taken. A liquidity sweep is the bar on which price trades beyond that level and then closes back inside the range - the same event traders also call a stop hunt, a stop run, a liquidity grab or a false breakout. Liquidity Sweep Pools MTF marks both the pools and the liquidity sweeps taken on them, on the current chart and on a higher timeframe you choose, and adds a live panel of active pools, a volume filter on pool f
Structure Desk
Vasilii Makarenko
An expert advisor for XAUUSD on MetaTrader 5. It works one basket at a time: it opens in a fixed set of server hours, adds to the position while price moves against it, and closes the whole basket together. There is no stop loss and no take profit on individual positions. How It Trades One symbol, XAUUSD, one basket at a time, up to 5 orders in the same direction. Entries are allowed only in fixed server hours, and only when price sits at the edge of its four-hour range. Entries are blocked betw
Sarveon
Vasilii Makarenko
Sarveon is an expert advisor for XAUUSD on MetaTrader 5. Nine independent strategies run side by side on one chart. Each has its own magic number, its own entry timeframe and its own set of distances, and none of them ever adds to a position opened by another. How It Trades Each strategy scans the recent bars of its own entry timeframe for a swing level: a high that no later bar has exceeded, or a low that no later bar has broken. The level must sit at a minimum distance from the current price,
Ridgeline
Vasilii Makarenko
Ridgeline waits at the price levels that gold has left alone. It reads daily bars, marks the highs and lows that no later bar has taken out, and parks a pending stop order there. Seven sets of rules search at different depths of history, so one may be waiting at a level formed last week while another watches one from three months back. A set that takes a loss stands down for two days before it places anything again. Each set carries its own magic number and its own distances, and no set ever add
Sixfold Gold
Vasilii Makarenko
Sixfold Gold trades XAUUSD on the hourly chart. It looks for the points where the market turned and left an extreme behind, places a pending stop order a little inside that level, and attaches a stop loss and a take profit before the order is ever filled. Six zones do this independently, each with its own search depth, and between them they read three timeframes and four sessions, so the advisor is rarely committed to a single view of the market. A trade that goes wrong is closed by its stop. No
Trade Risk Desk
Vasilii Makarenko
Trade Risk Desk answers one question at the moment you need it answered: what volume makes this stop cost exactly what you decided to risk. Drag the stop line to where it belongs on the chart and the panel prints the volume, the money behind it, and the margin the position will hold. What It Answers Set the risk as a percent of balance or as a fixed amount in account currency. Put the stop where your idea says it belongs. The panel reads the symbol settings your broker publishes and prints: the
FREE
Filter:
No reviews
Reply to review