Ram-ban Support & Resistance System [% Adaptive for Stocks]
Apr 21, 2026

The Ram-ban Support & Resistance System indicator is a dynamic mapping tool designed to identify significant market turning points using higher timeframe pivot structures and an adaptive percentage-based model. It provides a clean, automated way to visualize supply and demand zones that scale across any asset class, including stocks, forex, and crypto.
Usage
The script identifies key levels of support and resistance based on macro market structures. It is best used for:
- Identifying Trend Context: Higher timeframe (HTF) levels act as major boundaries. Green lines represent demand (support), while red lines represent supply (resistance).
- Assessing Level Strength: The indicator uses a dynamic consolidation heatmap. As the price tests a specific zone, the line thickness increases. A thicker line suggests a more significant historical level with a higher probability of price reaction.
- Wick-Based Entries: The tool generates "BUY" signals when price enters a tolerance zone near a support level and shows signs of rejection (wicks).
- Risk Management: Upon a signal, the indicator calculates a dynamic Stop Loss based on user-defined percentages and provides visual labels for invalidation points.
- Profit Taking: A "BOOK PROFIT" logic is included to identify potential exits when price reaches the opposite resistance boundary.
Details
The system utilizes an adaptive percentage-based model rather than fixed point values. This ensures the mapping logic remains consistent whether trading high-value assets like Bitcoin or lower-priced equities.
The "Option Mode" feature provides intelligent fading, where levels far from the current price are automatically dimmed or removed to reduce visual noise. The consolidation logic tracks how many candles close within a specific percentage distance of a level, dynamically updating the line width to reflect market contention.
Settings
Main Settings
- HTF for Pivots (1H): Determines the higher timeframe used to calculate major pivot levels.
- Pivot Left/Right Bars: The number of bars required to confirm a pivot high or low.
Level Filtering & Aesthetics
- Min Distance Between Any Levels (%): Sets the minimum percentage gap required between lines to prevent overlapping.
- Max High/Low Levels: Limits the total number of resistance and support lines drawn on the chart.
- Option Mode (Fade distant levels): When enabled, levels far from the current price will fade.
- Fade Distance from Close (%): The threshold at which levels begin to fade based on price proximity.
Consolidation Strength
- Consolidation Zone Tolerance (%): Defines the area around a line where price action counts toward increasing its thickness.
- Candles per Width Increment: Determines how many touches are needed to increase the line width.
- Min/Max Line Width: Sets the visual limits for the level thickness.
Signals & Risk Management
- Enable BUY/SELL Signals: Toggles the entry and exit labels.
- Signal Tolerance from Level (%): How close price must be to a level to trigger a signal.
- Stop Loss (%): Sets the percentage distance for the automated SL calculation.
- Signal Session Filter: Restricts signals to specific trading hours (useful for avoiding pre-market/post-market volatility).
FAQ
How do I interpret the different line thicknesses?
The line thickness represents the "heat" or strength of a level. A thin line is a new or lightly tested level, while a thick line indicates heavy consolidation and significant historical importance.
Can this be used for scalping?
Yes, by adjusting the "HTF for Pivots" to a lower timeframe (like 15m or 30m), the indicator will generate more localized support and resistance levels suitable for intraday scalping.
How do I get access to the Ram-ban Support & Resistance System?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.