More exclusive indicators from QuantAlgo
订阅QuantAlgo Essential,每月只需支付$49.99美元,即可获取该作者的独家指标。您可以在TradingView直接付款,并立即在图表上使用这些指标。
Explore QuantAlgo Essential🟢 Overview
The Round Number Levels is a support and resistance tool that draws the round prices traders watch, such as 75,000 on Bitcoin or 1.1000 on EUR/USD, and measures how price has reacted to them. It sizes the level spacing to the price automatically or to a fixed step, labels each level with its distance from price, and follows touches of the levels to report how often price held on the side it came from or broke through, split by whether it approached from above or below. This lets traders and investors check whether round numbers have actually acted as support and resistance on a given symbol and timeframe, with alerts for approaches, crosses, and touches.

🟢 What are Round Number Levels?
Round number levels, often called psychological levels, are prices ending in one or more zeros, such as 100, 50,000, or 1.2000, where traders tend to place profit targets and stops. Research on currency markets by Carol Osler, published in the Journal of Finance in 2003, found that take-profit orders cluster particularly strongly at round numbers and stop-loss orders cluster just beyond them, offering an explanation for two patterns technical analysts watch for at such levels: trends reversing there, and trends speeding up once they are crossed. How strongly round numbers behave this way can differ from one market and timeframe to the next, so the indicator measures it on the chart itself, following touches of the levels for a set number of bars and recording whether each one held or broke.

🟢 Key Features
▶ Round Level Grid
Round levels are drawn at a step set by Step Mode. Auto divides the power of ten at or below the price by Auto Divisions, so 10 places levels every 1,000 on a five-digit price and every 0.1 on a price between 1 and 10, and the spacing shifts by a factor of ten as price moves into a new power of ten. Values that divide a power of ten evenly, such as 2, 4, 5, 20, or 50, keep every level on a round number. Custom keeps a fixed step in price units, such as 5 for levels every five dollars on a stock or 0.01 for levels every 100 pips on most currency pairs. Grid Range sets which levels are drawn: Around Price draws only the levels nearest the current price, so the grid follows it, while Full History covers every level within the high-low range of the loaded bars, so the levels where price traded earlier remain drawn for reference as price moves on. Levels Each Side sets how many levels sit on each side of price, as the full set under Around Price and the minimum under Full History, and optional dotted half levels mark the midpoints between them as finer references that stay out of the statistics and alerts.

▶ Level Labels and Markers
Each round level carries a label at its right end showing its price and its distance from the current price as a percentage, with decimal places added as the distance shrinks so levels near price stay distinguishable. A circle above the bar marks each touch that starts a reaction window. It prints once the bar closes and stays in place, showing where the levels were tested across the loaded history.

▶ Touch Detection
A touch is a closed bar whose range reaches a round level after a previous close more than the Min Approach Distance away from it, measured as a percentage of the step, so bars drifting along a level are not counted as fresh tests. The side of that previous close sets whether price approached from above, testing the level as support, or from below, testing it as resistance. When a bar reaches several levels, the touch is taken at the one furthest from the previous close, and when it reaches levels on both sides, the side the bar closed toward decides. Touches are followed one at a time, so a touch during an open reaction window is treated as part of that reaction rather than a new sample.

▶ Configurable Reaction Rules
How a touch is judged has more than one reasonable definition, and each part can be set to match the approach being tested.
1. Reaction Window: The number of bars after a touch over which its reaction is judged, from the immediate response at 1 to 3 bars to a longer stretch at 10 to 20.
2. Hold Rule: Window Close counts a touch as held if the close at the end of the window is at the level or on the side price came from. No Close Through counts it as held only if no close from the touch bar to the end of the window went through the level, and No Wick Through only if price never traded through it over those bars, wicks included, which reads the level from the view of a stop placed just beyond it and pairs with a Break Buffer set to that stop distance. Each rule is stricter than the one before it, so its held shares read equal or lower.
3. Break Buffer: The distance beyond the level, as a percentage of its price, that a close, or a wick under No Wick Through, must exceed to count as a break, so shallow moves through the level can be treated as noise.
4. Max Touches per Side: The number of most recent judged touches kept for each side, so the shares can follow a rolling sample of recent behavior or draw on the full loaded history.

▶ Statistics Dashboard
The dashboard summarizes the level grid and the touch record in a single table that can be placed in any of nine chart positions.
1. Round Number Step: The distance between levels on the latest bar, with the Step Mode in use.
2. Next Level Above: The nearest round level above price and its distance as a percentage of price.
3. Next Level Below: The nearest round level at or below price and how far below price it sits.
4. Count: The number of judged touches from above and from below in the sample.
5. Held: The share of judged touches from each side that held under the Hold Rule and Break Buffer.
6. Broke: The remaining share, where price went through the level beyond the Break Buffer under the Hold Rule.
The touch figures update only on closed bars, while the step and nearest-level rows follow the live price, and every figure covers the bars loaded on the chart, which depend on the symbol’s history, the chart timeframe, and the TradingView plan.

▶ Built-in Alerts
Three ready-made alert conditions cover approaches, crosses, and touches of the round levels, and all of them fire on closed bars.
1. Approaching Round Level: Fires when a close first comes within the Approach Alert distance of the nearest round level after a close farther away.
2. Round Level Crossed: Fires when a close moves through a round level.
3. Round Level Touched: Fires on each touch that starts a new reaction window.
Alert messages include exchange, ticker, and timeframe for immediate context, and the Any alert() function call option also delivers a detailed message with the level’s price and direction, adding for approaches and touches how often judged touches from that side have held.

▶ Visual Customization
Six color presets (Classic, Aqua, Cosmic, Cyber, Neon, Custom) give the round levels, their labels, the touch markers, and the Held figures in the dashboard one color and the Broke figures a contrasting one, while Custom sets the Held, Broke, and Round Level colors independently. The half levels keep their own Half Level Color under every preset, and every color adapts automatically to light and dark chart backgrounds. The level labels, touch markers, and dashboard can each be toggled, and four text sizes cover everything from compact charts to presentation, so the chart stays as clean or as detailed as the workflow requires.

The Round Number Levels is a support and resistance tool that draws the round prices traders watch, such as 75,000 on Bitcoin or 1.1000 on EUR/USD, and measures how price has reacted to them. It sizes the level spacing to the price automatically or to a fixed step, labels each level with its distance from price, and follows touches of the levels to report how often price held on the side it came from or broke through, split by whether it approached from above or below. This lets traders and investors check whether round numbers have actually acted as support and resistance on a given symbol and timeframe, with alerts for approaches, crosses, and touches.
🟢 What are Round Number Levels?
Round number levels, often called psychological levels, are prices ending in one or more zeros, such as 100, 50,000, or 1.2000, where traders tend to place profit targets and stops. Research on currency markets by Carol Osler, published in the Journal of Finance in 2003, found that take-profit orders cluster particularly strongly at round numbers and stop-loss orders cluster just beyond them, offering an explanation for two patterns technical analysts watch for at such levels: trends reversing there, and trends speeding up once they are crossed. How strongly round numbers behave this way can differ from one market and timeframe to the next, so the indicator measures it on the chart itself, following touches of the levels for a set number of bars and recording whether each one held or broke.
🟢 Key Features
▶ Round Level Grid
Round levels are drawn at a step set by Step Mode. Auto divides the power of ten at or below the price by Auto Divisions, so 10 places levels every 1,000 on a five-digit price and every 0.1 on a price between 1 and 10, and the spacing shifts by a factor of ten as price moves into a new power of ten. Values that divide a power of ten evenly, such as 2, 4, 5, 20, or 50, keep every level on a round number. Custom keeps a fixed step in price units, such as 5 for levels every five dollars on a stock or 0.01 for levels every 100 pips on most currency pairs. Grid Range sets which levels are drawn: Around Price draws only the levels nearest the current price, so the grid follows it, while Full History covers every level within the high-low range of the loaded bars, so the levels where price traded earlier remain drawn for reference as price moves on. Levels Each Side sets how many levels sit on each side of price, as the full set under Around Price and the minimum under Full History, and optional dotted half levels mark the midpoints between them as finer references that stay out of the statistics and alerts.
▶ Level Labels and Markers
Each round level carries a label at its right end showing its price and its distance from the current price as a percentage, with decimal places added as the distance shrinks so levels near price stay distinguishable. A circle above the bar marks each touch that starts a reaction window. It prints once the bar closes and stays in place, showing where the levels were tested across the loaded history.
▶ Touch Detection
A touch is a closed bar whose range reaches a round level after a previous close more than the Min Approach Distance away from it, measured as a percentage of the step, so bars drifting along a level are not counted as fresh tests. The side of that previous close sets whether price approached from above, testing the level as support, or from below, testing it as resistance. When a bar reaches several levels, the touch is taken at the one furthest from the previous close, and when it reaches levels on both sides, the side the bar closed toward decides. Touches are followed one at a time, so a touch during an open reaction window is treated as part of that reaction rather than a new sample.
▶ Configurable Reaction Rules
How a touch is judged has more than one reasonable definition, and each part can be set to match the approach being tested.
1. Reaction Window: The number of bars after a touch over which its reaction is judged, from the immediate response at 1 to 3 bars to a longer stretch at 10 to 20.
2. Hold Rule: Window Close counts a touch as held if the close at the end of the window is at the level or on the side price came from. No Close Through counts it as held only if no close from the touch bar to the end of the window went through the level, and No Wick Through only if price never traded through it over those bars, wicks included, which reads the level from the view of a stop placed just beyond it and pairs with a Break Buffer set to that stop distance. Each rule is stricter than the one before it, so its held shares read equal or lower.
3. Break Buffer: The distance beyond the level, as a percentage of its price, that a close, or a wick under No Wick Through, must exceed to count as a break, so shallow moves through the level can be treated as noise.
4. Max Touches per Side: The number of most recent judged touches kept for each side, so the shares can follow a rolling sample of recent behavior or draw on the full loaded history.
▶ Statistics Dashboard
The dashboard summarizes the level grid and the touch record in a single table that can be placed in any of nine chart positions.
1. Round Number Step: The distance between levels on the latest bar, with the Step Mode in use.
2. Next Level Above: The nearest round level above price and its distance as a percentage of price.
3. Next Level Below: The nearest round level at or below price and how far below price it sits.
4. Count: The number of judged touches from above and from below in the sample.
5. Held: The share of judged touches from each side that held under the Hold Rule and Break Buffer.
6. Broke: The remaining share, where price went through the level beyond the Break Buffer under the Hold Rule.
The touch figures update only on closed bars, while the step and nearest-level rows follow the live price, and every figure covers the bars loaded on the chart, which depend on the symbol’s history, the chart timeframe, and the TradingView plan.
▶ Built-in Alerts
Three ready-made alert conditions cover approaches, crosses, and touches of the round levels, and all of them fire on closed bars.
1. Approaching Round Level: Fires when a close first comes within the Approach Alert distance of the nearest round level after a close farther away.
2. Round Level Crossed: Fires when a close moves through a round level.
3. Round Level Touched: Fires on each touch that starts a new reaction window.
Alert messages include exchange, ticker, and timeframe for immediate context, and the Any alert() function call option also delivers a detailed message with the level’s price and direction, adding for approaches and touches how often judged touches from that side have held.
▶ Visual Customization
Six color presets (Classic, Aqua, Cosmic, Cyber, Neon, Custom) give the round levels, their labels, the touch markers, and the Held figures in the dashboard one color and the Broke figures a contrasting one, while Custom sets the Held, Broke, and Round Level colors independently. The half levels keep their own Half Level Color under every preset, and every color adapts automatically to light and dark chart backgrounds. The level labels, touch markers, and dashboard can each be toggled, and four text sizes cover everything from compact charts to presentation, so the chart stays as clean or as detailed as the workflow requires.
🟢 Access our best trading & investing tools: joinquantalgo.com
🟢 Free Special Edition indicators: joinquantalgo.com/special-editions
🟢 Discord: discord.gg/hJaFyGEAyX
🟢 Free Special Edition indicators: joinquantalgo.com/special-editions
🟢 Discord: discord.gg/hJaFyGEAyX
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
🟢 Access our best trading & investing tools: joinquantalgo.com
🟢 Free Special Edition indicators: joinquantalgo.com/special-editions
🟢 Discord: discord.gg/hJaFyGEAyX
🟢 Free Special Edition indicators: joinquantalgo.com/special-editions
🟢 Discord: discord.gg/hJaFyGEAyX
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
