Round Number Reaction Map: Analyzing Price Behavior at Key Levels

Round Number Reaction Map: Analyzing Price Behavior at Key Levels
Download ALL MT5 indicators (6102)
YouTube Video Thumbnail



Similar MetaTrader Tools

Round Number Reaction Map: Analyzing Price Behavior at Key Levels

Info

The Round Number Reaction Map: Analyzing Price Behavior at Key Levels is a Indicator for MetaTrader 5 that round number reaction mapcategory: indicators. The idea behind itRound numbers are commonly treated as support and resistance levels.

Usage

This tool is typically used for enhancing chart analysis and decision making.

Platform

This Indicator works exclusively on MetaTrader 5 (both build 600+ and newer versions).

Setup

Place the downloaded file in MQL5/Indicators folder via File ? Open Data Folder in MetaTrader 5.


How to Install and Use Round Number Reaction Map: Analyzing Price Behavior at Key Levels

1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.

2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.

3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.

4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.

Frequently Asked Questions

Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."

Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).

Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.

What this tool does

Round Number Reaction MapCategory: Indicators.

Typical Use Case

This Indicator excels in automated trading and technical analysis on MetaTrader 5.

Compatible Platform & Setup

This Indicator works on MetaTrader 5. Place the file in the MQL5/Indicators folder and restart the terminal.

Description & Settings

Related: Previous Day and Week Levels with Round Numbers - another powerful indicator for MetaTrader 5 traders.

Round Number Reaction Map

Also recommended: Round-Number / Psychological Level Magnet - similar indicator with strong performance on MetaTrader 5.

Category: Indicators.

The idea behind it

Round numbers are commonly treated as support and resistance levels. This indicator quantifies price reactions at these levels. Whenever price touches a level that is a multiple of the instrument's auto-scaled "00" or "50" unit, it initiates an evaluation window to observe subsequent price action. The indicator records whether price is rejected away from the level (a reject) or closes significantly beyond it (a break). These outcomes are tallied both in aggregate (all "00" levels versus all "50" levels) and for each individual level, building a historical performance record for recurring price points.

The auto-scaling mechanism employs the same logarithmic step-sizing found in other round-number tools, adapting to various instruments regardless of their price scale (e.g., 4-digit FX pairs, 2-digit indices, or prices in the thousands). "00" and "50" consistently refer to the relevant round levels within the instrument's specific price scale.

How to interpret it

The summary panel displays the reject percentage and break percentage separately for "00" and "50" levels, along with the sample size (n). Higher sample sizes indicate more reliable statistics.

Levels with fewer touches than the 'InpMinSample' input will display "n/a" to prevent the presentation of misleadingly precise percentages based on insufficient data.

The map on the right visualizes the nearest levels to the current price. Solid lines represent "00" levels, and dotted lines represent "50" levels, each annotated with its historical reject/break record if sufficient data is available.

A level with a high reject rate has historically acted as a significant barrier, while a high break rate suggests price has frequently moved through it. These are historical observations and not guarantees of future performance.

Touches that are currently being evaluated (i.e., price has recently arrived, and the outcome is not yet determined) do not contribute to either the reject or break tallies until their evaluation window closes.

External variables (inputs)

Input

Default

Purpose

InpWorkTimeframe

PERIOD_H1

Timeframe on which the touch/reject/break logic operates.

InpVisibleLevels

4

Number of levels drawn above and below the current price on the map.

InpEvalBars

3

Number of bars allowed for a touch to resolve into a reject or break before it is scored as a reject by default.

InpBreakBufferFrac

0.15

The fraction of a half-step beyond the level that constitutes a confirmed break, used to filter out noise near the line.

InpMinSample

10

The minimum number of touches required before a level's statistics are displayed.

InpLookbackBars

3000

Number of historical bars analyzed upon indicator attachment to initialize the statistics.

InpCorner

CORNER_LEFT_UPPER

Specifies the corner where the summary panel is anchored.

InpCornerX

20

The horizontal offset in pixels for the summary panel.

InpCornerY

20

The vertical offset in pixels for the summary panel.

Recommended use

Apply the indicator to each symbol individually, as reaction rates at round levels are specific to an instrument's order flow and do not transfer to other instruments.

Allow 'InpLookbackBars' to process a sufficient number of bars (e.g., a few thousand H1 bars) before relying on the displayed percentages. Newly attached indicators on thinly traded symbols might initially show "n/a" for a period.

This indicator complements the Round-Number / Psychological Level Magnet from the same collection. While the Magnet identifies the nearest levels, this indicator reveals historical price behavior at those locations.

A level exhibiting a strong reject record does not serve as an independent buy/sell signal; it should be considered as one factor among the broader market trend and structure.

This is a pure visualization tool; it does not execute orders or manage positions.

Fig. 1. Round Number Reaction Map — featuring a summary scorecard and a map of nearby levels with individual reject/break records.

You may also like: Round Numbers: Automatic Psychological Thresholds - excellent alternative for indicator users on MetaTrader 5.

Source Code

#property copyright "RobotFX"
#property link "https://robotfx.org"
#property version   "1.00"
#property description "This code is educational. Feel free to use, modify and upgrade as you wish. Visit ROBOTFX.ORG for professional trading tools"
#property indicator_chart_window
#property indicator_plots 0
input group "Levels";
input ENUM_TIMEFRAMES InpWorkTimeframe   = PERIOD_H1;
input int             InpVisibleLevels   = 4;
input group "Classification";

.......

Leave your opinion, ask a question, share some knowledge

⚠ Limitations & Risk Warning

  • This tool is provided for educational and testing purposes only.
  • Past performance does not guarantee future results.
  • Trading involves substantial risk of loss. Use on a demo account first.
  • Results may vary depending on market conditions, broker, and settings.
  • We recommend thorough backtesting and forward testing before using with real funds.
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.