OPEN-SOURCE SCRIPT

Market Memory Levels [forexobroker]

1 548
Markets have memory. The price levels that mattered yesterday still matter today, because thousands of traders are watching the exact same numbers.

Market Memory Levels automatically plots the levels that institutional traders, algorithms, and retail traders all reference -- and detects when price reacts at them.

Three Types of Memory Levels:

Previous Day High/Low/Close -- These are the most-watched intraday reference points in professional trading. The previous day's high represents yesterday's ceiling; the low represents the floor. The close represents the settlement -- where the market found agreement. Moves above or below these levels define intraday bias.

Previous Week High/Low -- Weekly levels carry even more significance because swing traders, fund managers, and position traders use them. A break of the weekly high attracts momentum; a hold of the weekly low confirms support.

Round Number Levels -- The indicator auto-detects your instrument type and plots the appropriate psychological levels:

Forex: Every 50 pips (1.0800, 1.0850, 1.0900...)
Crypto: Every $1,000 ($60,000, $61,000, $62,000...)
Stocks: Every $5 ($150, $155, $160...)
Round numbers work because humans are drawn to them. Limit orders, stop losses, and take profits cluster at these levels, creating self-fulfilling support and resistance.

Signal Logic:

BUY when price approaches a memory support level within ATR proximity, prints a bullish candle with strong body (body > 40% of range), and volume confirms above SMA(20). This is a "bounce" -- the level held and buyers stepped in.

SELL when price approaches a memory resistance level, prints a bearish rejection candle, and volume confirms. This is a "rejection" -- the level held and sellers defended it.

The Info Table:

The real-time table displays all active levels, their exact prices, the current round number spacing, and distance to the nearest round number. When price is within striking distance of a level, the table highlights it.

How to Use:

Start each trading day by checking where price sits relative to the memory levels. Is it above or below the previous day close? Has it tested the weekly high? Is a round number nearby? These levels form the battlefield map for the session.

When signals fire at these levels with volume, the probability of a genuine reaction increases because you have institutional-level awareness of where orders cluster.

Works best on intraday timeframes (5-minute to 1-hour) for forex, crypto, and stock markets.

LIMITATIONS

Previous day/week levels require sufficient chart history to display
On non-standard chart types (Heikin Ashi, Renko), values may differ from standard candles
Round number spacing is preset for common asset classes and may not suit all instruments
Bounce/rejection detection uses single-candle patterns which can produce false signals
Volume filtering depends on data feed quality (tick volume for forex)
Signals are confirmed after bar close, adding one bar of delay
Memory levels are observational reference points, not predictive guarantees
Not financial advice

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.