Pine Script® indicator
Indicators and strategies
Pine Script® indicator
Anchor-Point AverageAnchor-Point Average (APA) - Pine Script Indicator
Overview
The Anchor-Point Average (APA) is a unique technical indicator that calculates the average price from a user-defined starting point to the present. Unlike traditional Simple Moving Averages (SMA) that use a rolling window of fixed periods, APA uses a fixed anchor point in time, creating a cumulative average that grows with each new bar.
Key Features
Interactive Time Selection
Click-to-Select: Simply click on any bar in the chart to set your anchor point
Visual Markers: Clear labels show the start point with date/time and current average price
Flexible Analysis: Anchor to any significant event, price level, or time period
Multiple Price Types
Choose from 7 different price calculations:
Close: Standard closing price
Open: Opening price for gap analysis
High/Low: Track resistance and support levels
HL2: Midpoint price (High + Low) / 2
HLC3: Typical price (High + Low + Close) / 3
OHLC4: Average price (Open + High + Low + Close) / 4
Customizable Display
Color Settings: Customize both anchor point and current label colors
Clean Interface: Minimalist design with essential information only
Professional Labels: Display average price, sample count, and timestamps
Smart Alerts
Cross Above Alert: Notifies when price crosses above the anchor-point average
Cross Below Alert: Notifies when price drops below the anchor-point average
Visual Markers: Green triangles (bullish cross) and red triangles (bearish cross)
Why Anchor-Point Average?
Different from Traditional SMA
Traditional moving averages use a rolling window (e.g., last 20 bars), which means older data constantly drops out. APA maintains all data from your chosen anchor point, providing a true cumulative average that represents the mean price since that specific moment.
Use Cases
Long-Term Investment Analysis
Calculate average entry cost from your first purchase date
Track performance against your initial investment timing
Identify if current price is above or below your historical average
Event-Based Analysis
Anchor to product launches, earnings reports, or policy announcements
Measure price behavior after significant market events
Compare current price to post-event average levels
Support/Resistance Identification
The anchor-point average often acts as dynamic support or resistance
As more data accumulates, the line becomes increasingly stable
Price reactions to this level can signal trend continuation or reversal
Volatility Assessment
Increasing distance from anchor average indicates growing volatility
Convergence suggests consolidation or equilibrium
Track how current price deviates from long-term mean
Technical Advantages
Stability Over Time
As the sample size grows, the anchor-point average becomes progressively smoother and less sensitive to short-term volatility, providing a robust reference level.
Historical Context
Unlike moving averages that "forget" old data, APA preserves the entire price history from your chosen point, offering complete context for your analysis.
Psychological Significance
Often traders anchor mentally to specific dates or events. This indicator makes that psychological level visible and quantifiable.
How to Use
Add to Chart: Apply the indicator to any TradingView chart
Select Anchor Point: Click on the bar where you want to begin calculation
Choose Price Type: Select which price component to average (default: Close)
Customize Colors: Adjust label colors to match your chart theme
Set Alerts: Create alerts for price crossovers to stay informed
Perfect For
Long-term investors tracking cost basis
Swing traders analyzing from key pivot points
Event-driven traders measuring post-announcement trends
Anyone seeking a stable, cumulative price reference
Technical Notes
Built on Pine Script v5
Overlay indicator (plots directly on price chart)
Real-time calculation with bar-by-bar updates
Supports all timeframes and instruments
Zero repainting - calculations are final once bar closes
Pine Script® indicator
2 Bar Strategy + Fib EntryCustom indicator for my 2 bar strategy, bullish or bearish waring setup signal included and entry zone
Pine Script® indicator
Welles Wilders MAs - MTFWelles Wilder Moving Averages - Multi-Timeframe (MTF)
This indicator displays Welles Wilder's Smoothed Moving Averages calculated from a higher timeframe of your choice, allowing you to view longer-term trend data on lower timeframe charts (such as tick charts, second charts, or any intraday timeframe).
KEY FEATURES:
• Multi-Timeframe Capability: Plot moving averages from any timeframe (default: 5 minutes) on your current chart
• Four Trend Layers: Short (34), Medium (72), Medium Extension (89), and Long (144) period moving averages
• Welles Wilder Smoothing: Uses the original Welles Wilder moving average formula for smoother, less reactive trend lines
• Flexible Coloring Options: Choose between price-based coloring or MA crossover-based coloring
• Visual Trend Zones: Shaded areas between moving averages help identify trend strength and direction
• Customizable: Adjust all periods, colors, and the source timeframe to fit your trading style
IDEAL FOR:
• Tick chart traders who want to see higher timeframe trends
• Day traders needing multi-timeframe analysis on a single chart
• Traders using range bars, Renko, or other non-time-based charts
• Anyone wanting to filter trades based on higher timeframe moving average trends
HOW TO USE:
1. Add the indicator to your chart
2. Set your preferred timeframe in the settings (default is 5 minutes)
3. Adjust MA periods and colors to your preference
4. Use the MA crossovers and price position relative to the MAs to identify trend direction and potential entry/exit points
The Welles Wilder MA is a type of exponential moving average that provides smooth trend-following capabilities with less whipsaw than traditional moving averages.
Pine Script® indicator
Smart Multi-Timeframe Predictive Indicator - JamilTake your trading to the next level with this Powerful Multi-Signal Indicator, designed to provide a complete market overview in one chart. This all-in-one tool combines multiple technical signals to help you make smarter and more confident trading decisions:
📈 Trend Detection: Identify the current market trend to spot profitable trading opportunities.
🔄 RSI & MACD Signals: Get precise signals for overbought/oversold conditions and momentum changes.
💹 Volume Analysis: Analyze market strength and confirm trade setups using volume data.
🛑 Support & Resistance Levels: Automatically highlight key support and resistance zones for accurate stop-loss and target placement.
⚡ All-in-One Dashboard: Visualize all signals clearly in a single chart for quick and efficient decision-making.
This indicator is perfect for both beginners and experienced traders who want to enhance their strategy with data-driven insights.
Note: Always combine indicator signals with your personal trading strategy and maintain proper risk management.
Pine Script® indicator
TTM Squeeze [ST]**TTM Squeeze ** is a streamlined volatility indicator designed to identify periods of consolidation before potential price breakouts.
This version focuses exclusively on the "Squeeze Dots" component, making it a lightweight and minimalist tool for traders who want to filter low-volatility environments without the clutter of a momentum histogram.
### 🛠 Key Concepts
The indicator compares **Bollinger Bands** (Standard Deviation) with **Keltner Channels** (Average True Range):
1. **🔴 Red Dots (Squeeze ON):**
* Occurs when Bollinger Bands contract *inside* the Keltner Channels.
* **Meaning:** Volatility is extremely low. The market is "coiling" or building up energy.
* **Action:** Prepare for a potential breakout. Do not trade the chop; wait for expansion.
2. **⚫ Dark Gray Dots (Squeeze OFF):**
* Occurs when Bollinger Bands expand *outside* the Keltner Channels.
* **Meaning:** The squeeze has "fired." Volatility is expanding.
* **Action:** The move has likely started.
### ⚙️ Standardization
* **Part of the Suite:** Standardized inputs and optimized performance.
* **English Native:** Codebase and settings translated to English.
* **Version Control:** Internal version tracking included.
### 📋 How to Use
Use this tool as a "Go / No-Go" filter for your trades.
* If the dot is **Red**, avoid entering new trend-following positions, as the price is likely chopping sideways.
* Wait for the first **Gray** dot after a series of Red dots to signal the start of a new volatility expansion phase.
---
*Disclaimer: This tool is for educational purposes and technical analysis assistance only. Always manage your risk.*
Pine Script® indicator
ATR % V3Now I'll provide you with the fully translated script and comprehensive documentation:
ATR % V3 Indicator - Introduction
The ATR % V3 is a Pine Script indicator that displays the Average True Range (ATR) as a percentage of price, providing traders with a normalized view of market volatility. Unlike the standard ATR which shows absolute price values, this percentage-based approach allows for easier comparison across different securities and timeframes. The indicator includes advanced features such as multi-day extreme value detection, customizable horizontal reference lines, and optional coordinate inversion for specialized charting needs.
Key Features
Percentage-based ATR calculation relative to either current open or previous close
Flexible smoothing methods (RMA, SMA, EMA, WMA) for different trading styles
Multi-period extreme value markers for 3-day and 7-day highs/lows
Dynamic horizontal reference line showing current ATR% value
Optional coordinate flip for alternative visualization perspectives
Bar confirmation control to prevent repainting on live bars
Technical Explanation
ATR Percentage Calculation
The script calculates ATR% using the formula: ATR% = (ATR / Basis Price) × 100. The basis price can be either the current bar's open price or the previous bar's close price, allowing traders to choose the reference point that best suits their trading methodology.
Smoothing Methods
The indicator supports four moving average types for ATR smoothing:
RMA (Relative Moving Average): Default method, provides exponentially smoothed values similar to Wilder's original ATR implementation
SMA (Simple Moving Average): Equal weighting of all periods
EMA (Exponential Moving Average): Recent prices weighted more heavily
WMA (Weighted Moving Average): Linear weighting scheme
Extreme Value Detection
The script identifies when the current ATR% value represents a local extreme over 3-day or 7-day lookback periods. These markers appear only on the most recent bar and help traders identify volatility compression or expansion zones that may precede significant price moves.
Anti-Repainting Feature
The "Wait for Bar Close to Update" option prevents the indicator from recalculating on every tick within an unconfirmed bar. When enabled, the ATR% value updates only after each bar closes, ensuring consistent historical values that won't change retroactively.
Usage Recommendations
For Volatility Analysis: Use the percentage-based approach to compare volatility across different assets or timeframes objectively. Higher ATR% values indicate increased volatility relative to price.
For Position Sizing: ATR% can inform position size adjustments—reduce exposure when volatility (ATR%) spikes, and potentially increase when volatility contracts.
For Stop Loss Placement: The horizontal reference line provides a quick visual reference for current volatility levels, useful for setting volatility-adjusted stop losses.
For Breakout Confirmation: Watch for 3-day or 7-day extreme markers—volatility extremes often precede or confirm trend reversals or breakouts.
Pine Script® indicator
MTF Table Hariss 369MTF Table Hariss 369
MTF Table Hariss 369 is a multi-timeframe directional dashboard designed to provide a clear EMA-based trend bias along with ATR-derived risk levels across key timeframes — all in one compact table.
This indicator is not a signal spam tool. It is built to help traders align entries with higher-timeframe structure and plan trades with pre-defined risk and reward levels.
🔍 How It Works
For each timeframe shown in the table:
🔹 Direction (DIR)
BUY → Price is above the EMA
SELL → Price is below the EMA
This ensures the table always shows a directional bias and never remains blank.
🔹 Entry
Current close price of the selected timeframe
🔹 Stop Loss (SL)
Calculated using ATR × SL Multiplier
Dynamically adapts to volatility
🔹 Targets (TP1 / TP2)
ATR-based projected targets
Designed for scaling out or partial profit booking
🧠 Key Features
✔ Multi-Timeframe overview (5m → Weekly)
✔ EMA-based trend bias (non-repainting)
✔ ATR-based SL & TP levels
✔ Clean, distraction-free table layout
✔ Uses lookahead_off for safety
✔ Works on Crypto, Indices, Forex & Commodities
📌 Best Use Case
This tool works best as:
A trend alignment dashboard
A trade planning assistant
A confirmation layer for existing strategies
💡 Combine with:
Market structure
Support & resistance
Volume or momentum tools
⚠️ Important Notes
This indicator does not generate candle-by-candle buy/sell alerts.
Signals update only on candle close (no repaint).
ATR levels are reference points, not guaranteed exits.
Always apply proper risk management.
🎯 Who Should Use This?
✔ Swing traders
✔ Intraday traders
✔ Position traders
✔ Traders using EMA-based trend systems
⚠️ Disclaimer
This indicator is provided for educational and informational purposes only.
It does not constitute financial advice, investment advice, or trading recommendations.
All values shown (direction, entry, stop loss, and targets) are algorithmic references based on EMA and ATR calculations and should not be interpreted as guaranteed trade outcomes.
Markets involve risk. Past performance does not guarantee future results.
You are solely responsible for your trading decisions and risk management.
The author assumes no liability for any losses incurred from the use of this indicator.
Always:
Confirm signals with your own analysis
Apply strict risk management
Use this tool alongside price action, structure, and market context
By using this indicator, you agree that you understand and accept these risks.
🛠 Author
Hariss 369
Pine Script® indicator
Pine Script® indicator
GORDAUM SCALP Outside Bar + VWAP + RSI Scale + Range POC + FiBO📘 OFFICIAL MANUAL
SCALP INDICATOR – OUTSIDE BAR + VWAP + RSI + RANGE (POC / VA) + FIBONACCI
📌 INDICATOR OVERVIEW
This indicator was developed for SCALPING operations, focusing on fast entries, reduced risk exposure, and false signal filtering.
The strategy combines price action, momentum, fair value, and range structure, delivering clear, objective, and visual signals, without subjective interpretation.
🔧 INDICATOR COMPONENTS
The indicator is composed of 5 main pillars:
1️⃣ OUTSIDE BAR (PRICE ACTION)
The Outside Bar represents a candle that completely engulfs the previous candle, indicating clear buyer or seller aggression and a potential start of a short movement, ideal for scalping.
This is the main entry trigger.
2️⃣ VWAP (FAIR PRICE OF THE DAY)
VWAP represents the volume-weighted average price and is widely used by institutional traders.
Basic rules:
Price above VWAP indicates bullish bias.
Price below VWAP indicates bearish bias.
The strategy does not trade against VWAP.
3️⃣ RSI WITH STRENGTH SCALE (ANTI-FALSE ENTRY)
RSI is used as a momentum strength indicator.
The indicator measures the distance of RSI from the 50 level, classifying signals as:
Weak signal (gray): RSI very close to 50, trap zone.
Medium signal (yellow/orange): moderate strength.
Strong signal (green/red): RSI far from 50, higher probability of real movement.
The farther RSI is from 50, the lower the chance of false entries.
4️⃣ MARKET RANGE – POC, VAH AND VAL
The indicator identifies the current market range and builds a value-based reading:
POC (Point of Control): area where price trades the most.
VAH (Value Area High): top of the value area.
VAL (Value Area Low): bottom of the value area.
Key concept:
Price near the POC indicates consolidation and false entries.
Price reacting near VAH or VAL indicates cleaner trades.
This context is marked on the chart with a second marker (dot).
5️⃣ DYNAMIC FIBONACCI (CONTEXT AND TARGETS)
Fibonacci levels are calculated automatically based on the recent market range, projecting the following levels:
0.5
0.618
0.666
1.0
These levels act as targets, partial exits, rejection zones, or continuation areas.
🔺 TYPES OF SIGNALS ON THE CHART
The indicator works with two simultaneous markers:
Arrow (Outside Bar): indicates a potential entry based on Outside Bar, VWAP, and RSI.
Dot (Range Context): indicates price position within the range:
Gray: price at POC (trap zone).
Yellow: middle of the range.
Green or red: price near VAH or VAL (favorable zone).
✅ TRADING RULES
LONG (BUY) SETUP:
Price above VWAP.
Bullish Outside Bar formation.
RSI above 50.
Green or yellow arrow.
Green dot indicating proximity to VAL.
When arrow and dot align, the trade is valid.
SHORT (SELL) SETUP:
Price below VWAP.
Bearish Outside Bar formation.
RSI below 50.
Red or orange arrow.
Red dot indicating proximity to VAH.
Dual confirmation increases trade probability.
❌ WHEN NOT TO TRADE
Avoid trades when:
Arrow is gray.
Dot is gray (price at POC).
RSI is too close to 50.
Market is clearly ranging.
Not trading is also a professional decision.
🎯 STOP LOSS AND TARGETS
Stop Loss:
Below the Outside Bar low for long trades.
Above the Outside Bar high for short trades.
Targets:
Next Fibonacci level.
Opposite VAH or VAL.
Minimum risk-to-reward ratio of 1:1.
⏱️ RECOMMENDED TIMEFRAMES
1 minute
2 minutes
3 minutes
Renko charts with small bricks.
⚠️ IMPORTANT CONSIDERATIONS
This indicator is not a trading robot.
It provides context and entry triggers.
Execution and risk management are the trader’s responsibility.
🧠 STRATEGY PHILOSOPHY
This setup was created to avoid overtrading, eliminate entries in the middle of the range, and operate only where the market truly moves.
Price away from value creates opportunity.
Price inside value creates traps.
Pine Script® indicator
MIN OFFSETThis indicator plots the lowest value over a configurable lookback period, using a selectable price source (High, Low, Open, or Close). It is designed to provide a clear and stable reference for dynamic support levels, with the ability to apply a vertical price offset directly on the chart.
The offset allows the line to be shifted upward or downward based on the user-defined value, making it useful for:
Fine-tuning support zones
Defining entry and exit margins
Adapting levels to different trading styles
The indicator uses a single buffer, is lightweight, non-repainting, and fully compatible with any market and timeframe.
🔧 Inputs
Price: High / Low / Open / Close
Period: number of bars used to calculate the low
Offset: vertical price displacement
Positive values move the line upward
Negative values move the line downward
✅ Features
Single buffer (single plotted line)
Clean and thin line
Stable period-low calculation
Works on Forex, indices, stocks, and cryptocurrencies
Ideal as a dynamic support or structural price reference
Pine Script® indicator
RSI Divergence v6RSI Divergence Band (Close inside High/Low)
This indicator is an advanced RSI visualization designed to show real-time momentum dynamics inside a controlled RSI range.
Unlike the standard RSI, this script builds a dynamic RSI band based on RSI calculated from High and Low prices, while ensuring that RSI based on Close always stays inside the band.
🔹 How it works
RSI is calculated separately for:
Close price (main signal line)
High price
Low price
The High/Low RSI values form a dynamic envelope
The band is automatically adjusted so the RSI Close line is always inside it
All values update on the live bar as price changes
🔹 Why this is useful
Visualizes intrabar pressure and volatility
Helps identify compression and expansion of momentum
Improves divergence analysis
Especially useful for scalping and short-term trading
🔹 Features
RSI length customization
Optional High/Low RSI band
Adjustable RSI levels (20 / 50 / 80 by default)
Clean and minimal visual design
No repainting on closed bars
🔹 Best use cases
Divergence trading
Momentum analysis
Scalping strategies
Market structure confirmation
Pine Script® indicator
Bullish Flag Breakout Alert//@version=5
indicator("Bullish Flag Breakout Alert", overlay=true)
// Inputs
flagLookback = input.int(15, "Flag High Lookback")
volMultiplier = input.float(1.5, "Volume Multiplier")
// Calculations
flagHigh = ta.highest(high, flagLookback)
avgVol = ta.sma(volume, 20)
// Breakout condition
breakout = close > flagHigh and volume > avgVol * volMultiplier
// Plot
plot(flagHigh, "Flag High", color=color.orange)
plotshape(breakout, style=shape.triangleup, location=location.belowbar,
color=color.green, size=size.small, text="BO")
// Alert
alertcondition(breakout, title="Bullish Flag Breakout")
Pine Script® indicator
Dual Super Trend IndicatorDual Super Trend Indicator
A powerful trend-following indicator designed to capture clean and reliable market moves using dual SuperTrend confirmation. Signals are generated only when both fast and slow SuperTrend align, helping traders avoid noise and focus on strong directional trends.
✔ One clear signal per trend
✔ Reduced false signals in sideways markets
✔ Automatic signal flip alerts (Long ↔ Short)
✔ Works on Intraday, Swing & Positional trading
✔ Suitable for Index, Stocks, Futures, Crypto & Forex
How to use:
Go Long when both SuperTrends turn bullish.
Go Short when both turn bearish.
Exit or trail using SuperTrend or price structure.
Built for traders who prefer simple, rule-based trend trading with clarity.
For educational purposes only. Use proper risk management.
Pine Script® indicator
Capital Options Gate Overview of the indicator's purpose (multi-timeframe trading for 5m charts)
Key features (HTF trend filter, 5m structure, VWAP, manual levels, setup types, sessions, scoring, risk management)
How it works (gate concept with confluence factors)
Best use practices (5m charts during NY hours, setting HTF levels)
Scoring breakdown (showing how the 100 points are allocated)
Pine Script® indicator
Asia Range + London Breakouts + NY RangeMeasures Asia date and price range, alerts when price breaks out high or low. Also measures NY date and price range. This is a personal script written by ChatGPT for my personal schedule and strategy.
Pine Script® indicator
Volume Profile / Fixed Range [ahDirtCuhzzz.Enhanced]// Enhanced Volume Profile / Fixed Range
// Based on LonesomeTheBlue's original, upgraded to Pine Script v6
// Features: VAH/VAL lines + labels, histogram toggle, histogram flip L/R,
// POC/VAH/VAL y-axis price labels, full color/style customization
// License: Mozilla Public License 2.0
I use TradingViews: Fixed Range Volume Profile Indicator/Drawing Tool regularly but it feels incomplete. I found @LonesomeTheBlue's indicator and made some updates to it.
The features are listed above. Enjoy!
Pine Script® indicator
Triple SMA with Trend Confirmation SignalsA clean and customizable moving average indicator featuring three SMAs (50, 150, 200) with intelligent trend confirmation arrows.
Features:
Three Moving Averages: 50, 150, and 200-period SMAs with fully customizable colors and line widths
50/150 Crossover Dots: Visual markers on the 150 MA line when the 50 MA crosses over/under
Trend Confirmation Arrows: Smart arrows that confirm sustained moves above/below the 150 MA
No False Signals: Arrows only appear after two closes in the same direction, preventing whipsaws
How It Works:
The 150 SMA is the key decision line. The indicator tracks when price moves above or below this level and waits for confirmation before displaying an arrow:
Upward Arrow (↑): Appears above candle when price closes above the 150 MA twice, with the second close higher than the first
Downward Arrow (↓): Appears below candle when price closes below the 150 MA twice, with the second close lower than the first
Arrows alternate - you'll never see two consecutive arrows in the same direction, ensuring you only get signals at genuine trend changes.
Use Cases:
Identify sustained breakouts above/below the 150 MA
Confirm trend direction before entering trades
Spot potential exit points when price weakens below key moving averages
Track golden/death crosses between the 50 and 150 SMAs
Customization :
All colors, line widths, and periods are fully adjustable through the settings panel. Arrow color is also customizable for your preferred chart theme.
Pine Script® indicator
Expectancy Reality Check Most trading discussions focus on entries.
This tool focuses on math.
Expectancy Reality Check is a symbol-agnostic calculator that shows whether your assumed edge is mathematically viable — before you trade it.
It does not generate signals.
It does not predict price.
It exists to answer one question:
“If my assumptions are correct, does this strategy deserve capital?”
What this tool does
Given your assumptions for:
Win rate
Reward-to-Risk (R)
Costs per trade
Risk per trade
Trade frequency
the indicator computes:
Expected Value (R per trade)
Expected Value per month
Break-even win rate (cost-adjusted)
Edge vs break-even (percentage points)
Risk-of-ruin proxy (fixed-fractional approximation)
Estimated sample size needed to validate your win rate at a chosen confidence level
All values are expressed in R-units, not currency, to remain portfolio-independent.
How to use it
Enter honest assumptions — not best-case backtest results.
Observe:
Is EV meaningfully positive?
How small is the margin above break-even?
How many trades are required before results are statistically meaningful?
Decide whether the strategy is worth:
testing,
refining,
or discarding.
If the math fails here, execution quality will not save it.
What this tool is not
❌ Not a strategy
❌ Not a signal generator
❌ Not a performance backtest
❌ Not a guarantee of results
It is a reality check, not a promise.
Notes on methodology
Expectancy is computed in standard R-unit form.
Break-even win rate is adjusted for per-trade costs.
Risk-of-ruin is a proxy, based on a Lundberg-type root for i.i.d. outcomes under fixed fractional risk.
Sample size guidance uses a normal approximation for binomial confidence intervals.
All calculations assume stationarity — real markets may violate this.
Use judgment.
Who this is for
Traders designing rule-based systems
Traders comparing multiple strategies
Traders tired of “high win rate” marketing
Anyone who wants math before emotion
Final note
A strategy with:
high win rate but negative expectancy
or positive expectancy but no statistical margin
is not an edge — it’s noise.
Systems over feelings.
Pine Script® indicator
DSMS - DeltaSurge Matrix Station - 1M Scalping [SurgeGuru]DSMS - DeltaSurge Matrix Station
HOW TO READ THE CHART
=====================================
This guide explains every visual element you see on the chart.
DSMS is a volume profile + order flow indicator built for 1-minute Bitcoin scalping.
It shows WHERE institutional money is sitting and WHERE price is likely to react next.
=====================================
1. THE VOLUME PROFILE (left side of chart)
=====================================
The colored horizontal bars extending left from the candles are the volume profile.
Each bar represents a price level (called a "bin") and shows how much volume traded there.
LONGER BAR = more volume at that price.
BAR COLOR tells you who is in control:
- Green/teal bar = buyers dominated that level (bullish delta)
- Red/orange bar = sellers dominated that level (bearish delta)
- The more intense the color, the stronger the imbalance
SPLIT BARS (bull/bear breakdown):
If enabled, each bar splits into two halves showing exact buy vs sell volume.
Top half = sell volume, bottom half = buy volume.
HEATMAP (wide faded bars behind the profile):
The large transparent boxes behind the profile bars are the heatmap.
They show the same delta information but stretched wider for quick visual scanning.
Bright = high conviction. Faded = low conviction.
=====================================
2. KEY PRICE LEVELS ON THE PROFILE
=====================================
POC (Point of Control):
The bin outlined with a bright border is the POC -- the single price level
with the MOST volume. Price tends to gravitate back to the POC.
A small label shows the POC price and context like "EQUILIBRIUM" or "BULL ATK".
POC FLASH LINE:
A short dashed cyan line appears at the POC when a bounce is detected.
Trigger conditions: price is at the POC, the current candle is bullish after
a bearish candle, and volume is at least 1.2x average. This signals that
the POC is acting as active support and price is reacting to it in real time.
VA HIGH / VA LOW (Value Area lines):
Two horizontal lines mark the top and bottom of the Value Area -- the price range
where approximately 70% of volume traded. These act as support and resistance.
- VA High = resistance when price is below, breakout level when price pushes above
- VA Low = support when price is above, breakdown level when price drops below
When a breakout happens, the line turns green (up) or red (down) and gets thicker.
=====================================
3. LABELS ON PROFILE BINS
=====================================
Each profile bin can show a small text label. These describe what is happening
at that specific price level. Here is what each label means:
ABS (with up/down arrow):
"ABS▼ 7b" = Absorption detected. Institutional players are absorbing selling
pressure at this level (likely accumulating). The "7b" means it held for 7 bars.
ABS▼ = absorbing sells (bullish). ABS▲ = absorbing buys (bearish).
FLOW (with arrow):
"FLOW↑" or "FLOW↓" = A flow shift happened here. The delta direction reversed,
meaning buyers took over from sellers or vice versa. This is a momentum change signal.
FAIL (with arrow):
"FAIL↑" or "FAIL↓" = A flow shift was detected but FAILED to confirm.
The reversal started but price did not follow through. Shown in orange.
Often means the opposing side absorbed the move.
INVAL / INVALID:
"INVAL" or "INVALID" = A previously confirmed flow shift was invalidated.
Price reversed back through the shift level, canceling the signal.
Shown in orange. Treat the original shift direction as no longer valid.
BULL EXH / BEAR EXH:
"BULL EXH" or "BEAR EXH" = Exhaustion zone. Extreme delta (above 65%) combined
with FADING volume. The dominant side pushed too hard and is running out of fuel.
Shown in gold. Often precedes a reversal. Higher delta + lower volume = more exhausted.
IMBALANCE RATIO (number:1):
"4:1" = The ratio of buy volume to sell volume (or vice versa) at this bin.
A 4:1 ratio means one side has 4x the volume of the other.
Only shown when the imbalance exceeds the configured threshold.
ICE:
"ICE" = Iceberg order detected in this bin. High volume traded but price barely
moved, suggesting a large hidden order was absorbing all the activity.
CONFL / CONF+ / CONF-:
Confluence detected. Multiple signals (structure + order flow) agree on direction.
CONF+ = bullish confluence. CONF- = bearish confluence.
CONFLICT:
Structure says one thing, order flow says another. Be cautious.
STK (with multiplier):
"STK x3" = Imbalance stack. Three or more consecutive bins all lean the same
direction. Shows institutional pressure building across multiple price levels.
OB (with arrow):
"OB↑" or "OB↓" = This bin overlaps with an active Order Block (see section 6).
FVG (with arrow):
"FVG↑" or "FVG↓" = This bin overlaps with an active Fair Value Gap (see section 7).
"uFVG↑" or "uFVG↓" = Same but for a micro-level FVG (smaller gap detected
within the profile structure rather than on-chart candle gaps).
uSR:
Micro structure level. A price level that has been tested multiple times with
high volume -- acts as local support or resistance.
EQUILIBRIUM / BULL ATK / BEAR DEF / etc:
Context labels that describe the state of the bin:
- EQUILIBRIUM = balanced buyers and sellers
- BULL ATK = buyers attacking with increasing volume
- BULL DEF = buyers holding but volume fading
- BEAR ATK = sellers attacking with increasing volume
- BEAR DEF = sellers holding but volume fading
CONFIDENCE SCORE (number at end of label):
Example: "ABS▼ CONFL "
The number in brackets is a confidence score from 0-100.
Higher = more signals agreeing. Above 70 is strong.
DWELL TIME:
"8d" at the end means price spent 8 bars dwelling at this level.
More time at a level = stronger support/resistance.
=====================================
4. ARROWS ON PROFILE BINS
=====================================
Small arrows may appear to the right of profile bars:
DELTA ARROWS (^^):
Show if buying/selling pressure is accelerating or decelerating.
pointing up = bullish momentum gaining speed
pointing down = bearish momentum gaining speed
VOLUME ARROWS:
Show if volume is increasing or decreasing at each level.
Up arrow = volume building. Down arrow = volume fading.
VELOCITY BANDS:
Small colored boxes to the right of the profile.
Green = volume accelerating. Red = volume decelerating.
Only appears on high-volume bins.
=====================================
5. CVD LINE (curved line inside the profile)
=====================================
The colored line running through the profile area is the CVD
(Cumulative Volume Delta) line.
It tracks the running total of buy volume minus sell volume across the session.
- Line going UP = buyers accumulating over time
- Line going DOWN = sellers accumulating over time
HOW THE LINE COLOR WORKS:
The line color is NOT random. It checks the CVD value against 5 moving averages
(EMA 8, 13, 21, 34, and 55). Each EMA that CVD is ABOVE scores +1. Each EMA
that CVD is BELOW scores -1. The total score (-5 to +5) sets the color:
+5 (above ALL 5 EMAs) = deep forest green -- strong bullish momentum
+3 to +4 = bright green -- solid bullish
+1 to +2 = light green -- lean bullish
0 = gray -- neutral, no clear direction
-1 to -2 = light red -- lean bearish
-3 to -4 = bright red -- solid bearish
-5 (below ALL 5 EMAs) = deep dark red -- strong bearish momentum
In practice: when the line shifts from red to green, it means CVD has crossed
above its moving averages -- buying pressure is accelerating. When green turns
red, selling pressure is taking over. A gray section means CVD is choppy and
sitting between its averages with no conviction.
CVD LABEL (at the right end of the line):
"CVD +1.2K +5"
First number = raw CVD value (+1,200 net buy volume)
Second number = confirmation count (+5 means 5 consecutive bars where the
adaptive reset system confirmed the bullish direction)
The label color uses a separate gradient based on the confirmation count:
Deep green = many consecutive bullish confirmations
Deep red = many consecutive bearish confirmations
Yellow/gray = few or mixed confirmations
=====================================
6. ORDER BLOCKS (OBs) - colored boxes on candles
=====================================
Order Blocks are zones where institutions placed large orders.
They appear as colored boxes around groups of candles.
ACTIVE OBs (not yet tested):
- Green/teal box = bullish OB (expect support when price returns)
- Red box = bearish OB (expect resistance when price returns)
- Solid fill, extends rightward from the origin candles
BROKEN OBs (breakers):
- Same colors but with a transparent fill and border outline only
- A bullish OB becomes a breaker when price closes below its bottom
- A bearish OB becomes a breaker when price closes above its top
- Once broken, the OB flips role: old support becomes resistance and vice versa
- A dotted midline shows the 50% level of the broken OB
- If price then closes through the breaker in the new direction, it is removed entirely
Two detection methods run simultaneously:
- Fast: simple 3-bar pivot swings for reactive OBs near current price
- Deep: ICS-style fractal depth swings for structural OBs from further back
The "Detection Depth" setting controls the fractal depth (Short/Intermediate/Long Term).
=====================================
7. FAIR VALUE GAPS (FVGs) - striped zones on candles
=====================================
FVGs are gaps in the price action where one side (buyers or sellers) was so
dominant that price skipped over a range. Price tends to come back and fill these gaps.
They appear as small striped/hatched boxes at the gap location.
- Purple-ish stripes = the gap zone
- Each individual stripe is deleted when price crosses through its midpoint,
so the gap visually erodes from the inside out as price fills it
- After 21 bars, remaining unfilled stripes fade to show the gap is aging
- Once every stripe is filled, the FVG is fully removed from the chart
- Maximum 30 FVGs tracked at once (oldest removed first if exceeded)
=====================================
8. MULTI-TIMEFRAME BOXES (2m / 5m / 15m)
=====================================
Colored boxes extending behind and slightly ahead of the current candles.
These show FVGs and Order Blocks detected on HIGHER timeframes (2-minute,
5-minute, 15-minute charts) projected onto your 1-minute chart.
HOW TO TELL THEM APART:
Border style:
- Dashed border = FVG (Fair Value Gap)
- Solid border = OB (Order Block)
Thickness and length:
- Thin border, extends 20 bars back = 2-minute timeframe
- Thin border, extends 30 bars back = 5-minute timeframe
- Thick border, extends 50 bars back = 15-minute timeframe
Color:
- Cyan/teal = bullish (expect support)
- Orange = bearish (expect resistance)
When your 1-minute price touches a higher-timeframe structure, it carries
more weight because institutions watch those levels.
=====================================
9. PREDICTIVE CONFLUENCE ZONES (projected boxes)
=====================================
These are the "ZONE S x3" and "ZONE R x2" boxes that project AHEAD of current price
(to the right of the last candle).
They appear when multiple structures from different sources cluster at the
same price area:
- 1m Order Blocks + 1m FVGs + 2m structures + 5m structures + 15m structures
The system scans all unmitigated levels, finds where they overlap, and projects
a high-probability reaction zone.
"ZONE S x3" = Support zone, 3 structures converge here (green box)
"ZONE R x2" = Resistance zone, 2 structures converge here (red box)
Higher count = stronger zone. These are the highest-conviction levels on the chart.
=====================================
10. SIGNAL LABELS ON CANDLES
=====================================
These labels appear directly on or near candles when specific conditions are met:
SWEEP LABELS (cyan/magenta bubbles):
Example: "VA High 8"
A liquidity sweep happened -- price wicked past a key level and reversed.
The name shows which level was swept. The number is a quality score.
Higher score = more reliable sweep. Cyan = bullish sweep. Magenta = bearish.
ICE (cyan/red squares):
Small squares below (bull) or above (bear) candles.
"ICE 2.3x" = Iceberg order detected. Volume was 2.3x average but price
barely moved. A hidden large order was absorbing all activity.
COILED:
"COILED " = Price has been compressing (low volatility) for 4 bars
while sitting near a wall of support/resistance. Like a spring ready to release.
Green = bullish coil (expect breakout up). Red = bearish coil (expect breakdown).
!!SR (with arrow and count):
"!!SR 5x" = A wall of 5 micro-structure levels stacked at this price.
Strong support (arrow down, green) or resistance (arrow up, red).
CVD DIV:
"CVD DIV (up arrow)" = Bullish CVD divergence. Price is making lower lows but CVD
is improving -- hidden buying.
"CVD DIV (down arrow)" = Bearish CVD divergence. Price making higher highs but CVD
declining -- hidden selling.
VA BREAK:
"VA BREAK (up arrow)" or "VA BREAK (down arrow)" = Price just broke out of the Value Area.
A thick green or red line extends forward showing the breakout level.
This is a high-momentum signal.
VOLUME SPIKE:
"x3.2" = Volume on this candle is 3.2x the average. Shows in magenta above the candle.
REJECT:
"REJECT (arrow)" = Price momentum is pushing into a wall of support or resistance.
Warns of a potential rejection/reversal at that wall.
=====================================
11. SEQUENCE PATTERNS (triangles)
=====================================
These track a full institutional flow sequence through 4 stages:
1. ABSORPTION = institution absorbs orders at a level
2. FLOW SHIFT = delta reverses confirming direction
3. SWEEP = liquidity grab confirms intent
4. BREAKOUT = Value Area breakout completes the pattern
PROGRESS LABELS (small, during build-up):
"SEQ:SHIFT" or "SEQ:SWEEP" = Sequence is building, currently at that stage.
COMPLETED SEQUENCE (large triangle + label):
Hot pink triangle (up or down) with "SEQ BULL " or "SEQ BEAR ".
The number is the sequence score. This is the highest-confidence signal in DSMS.
A full 4-stage institutional sequence just completed.
=====================================
12. CANDLE TECH (colored candle borders)
=====================================
Certain candles get a colored border and a small label:
- Green border = bullish pattern detected (hammer, bullish engulfing, etc.)
- Red border = bearish pattern detected (shooting star, bearish engulfing, etc.)
The label shows:
"R 5" = Reversal pattern, score 5
"(up arrow) 3" = Continuation pattern, score 3
Higher score = more confirming factors (CVD alignment, volume surge, trend direction).
Thicker border = stronger pattern.
=====================================
13. LIQUIDITY VOID LINES
=====================================
Yellow dashed horizontal lines extending left from the profile.
These mark price levels with very low volume -- gaps where price moved
through quickly without much trading. When price returns to these levels,
it tends to move through them fast again or react sharply.
=====================================
14. STATE OF THE ARENA TABLE (corner dashboard)
=====================================
The table in the corner of the chart is the real-time scoring dashboard.
It combines all signals into one weighted score from -100 (max bearish) to +100 (max bullish).
HEADER ROW:
Shows the overall market state and final score.
States: BREAKOUT, TRENDING, COMPRESSED, CONTESTED, or NEUTRAL.
COMPONENT ROWS (each scored -100 to +100, weighted into final score):
Delta Flow (10%) -- raw buying vs selling pressure on current bar
CVD Flow (10%) -- cumulative volume delta trend and EMA band position
Flow Shift (9%) -- recent delta direction reversals
Absorption (9%) -- institutional stop hunt detection
Sequence (8%) -- institutional flow sequence progress
Confluence (7%) -- structural + psychological signal agreement
OB/FVG (7%) -- nearest order block or gap bias
Sweep (7%) -- recent liquidity grab signals
MTF (6%) -- multi-timeframe alignment (2m/5m/15m)
Volume (6%) -- spike detection
Walls (6%) -- support/resistance cluster strength
Accel (5%) -- delta acceleration (2nd derivative of momentum)
Iceberg (4%) -- hidden institutional order detection
Candle (3%) -- pattern recognition score
POC Shift (3%) -- value area migration direction
The final score is the weighted sum, clamped to -100 to +100.
70+ or below -70 = STRONG conviction
40-69 = MEDIUM conviction
15-39 = WEAK conviction
Below 15 = no clear direction
Each row shows a text status, numeric score, and a visual bar made of blocks.
Green blocks = bullish. Red blocks = bearish. More blocks = stronger signal.
SIGNAL SECTION (bottom of table):
Shows the single highest-priority actionable signal right now.
"Key" = what the signal is based on
"Action" = suggested stance (BUY / SELL / HOLD / CAUTION)
"Watch" = what to watch for next
=====================================
QUICK REFERENCE - COLOR GUIDE
=====================================
Cyan/Teal ......... Bullish structures, support, buy signals
Red/Orange ........ Bearish structures, resistance, sell signals
Green ............. Bullish momentum, buyers winning
Red ............... Bearish momentum, sellers winning
Yellow ............ Liquidity voids, caution zones
Purple ............ FVG gap zones
Hot Pink .......... Completed sequence patterns
Magenta ........... Volume spikes, sweep highlights
Gold .............. Predictive zone projections
White text ........ All on-chart signal labels
=====================================
ALERTS
=====================================
DSMS has 6 built-in alerts you can set from TradingView's alert menu:
Flow Shift -- delta direction reversed at a price level
Volume Spike -- volume exceeds threshold with bin concentration
VA Breakout -- price broke out of the Value Area
Strong Confluence -- multiple signals align above the confluence threshold
Absorption -- institutional absorption pattern detected
Sequence Complete -- full 4-stage institutional sequence finished
To set an alert: click the alarm clock icon in TradingView, select DSMS as
the condition source, pick the alert type, and choose your notification method.
Each alert can be toggled on/off in the settings panel.
=====================================
SETTINGS OVERVIEW
=====================================
Everything is toggleable. The main groups in settings are:
Core Settings -- lookback period, number of bins, profile width
Display Options -- toggle heatmap, delta flow, volume breakdown, POC
1M Scalping -- CVD line, zoomed-out mode, volume trend arrows
Signal Settings -- enable/disable each signal type
Advanced Tuning -- compression bars, confidence thresholds
OB/FVG Settings -- order block depth, FVG stripe count, max blocks
Candle Tech -- pattern detection and scoring
Liquidity Sweeps -- wick ratio, volume requirement, score display
Tier 3: Flow Intel -- sequence patterns, multi-timeframe (2m/5m/15m), predictive zones
Colors -- customize every major visual element
State of the Arena -- table position, size, and which components to show
Pine Script® indicator
Manus Gold Daily Range Choppy Filter### Manus Gold Daily Range Choppy Filter
This indicator is designed to answer one simple but critical question **before trading begins**:
**Is today a day worth trading, or is the market too choppy?**
Instead of generating entries or signals, this tool acts as a **daily market condition filter**. It helps traders avoid low-quality sessions where breakouts fail and price action is dominated by noise and mean-reversion.
---
### 🔍 What the indicator does
The script evaluates **market tradability once per day**, based on **yesterday’s completed data**, and then locks that decision for the entire trading day.
It combines two independent concepts:
#### 1️⃣ Choppiness Analysis (core logic)
* Calculates the **Choppiness Index** on **1H and 4H timeframes**
* Detects whether the market is:
* **Trending / expanding** (low & falling choppiness)
* **Range-bound / noisy** (high choppiness)
* Optional requirement that choppiness must be **falling** (early expansion phase)
#### 2️⃣ Daily Range Contraction (optional filter)
* Detects **NR days** (narrowest range in N days)
* Detects **ADR contraction** (yesterday’s range significantly smaller than normal)
* Used to identify potential **breakout-ready environments**
Both components are combined into a single **daily tradability decision**.
---
### 🟢 / 🔴 Output logic
* **Green bar** → Market is considered **tradable**
* **Red bar** → Market is **not tradable** (choppy / low quality)
Important characteristics:
* **Exactly one bar per day**
* No intraday repainting
* Decision is locked using **yesterday’s final data**
* Designed to be used on **any intraday chart**
---
### 📊 Visual elements
* Histogram bar (green / red) indicating daily tradability
* Optional background highlight on the first bar of each new day
* Optional table showing:
* Choppiness values (1H / 4H)
* Choppy / not-choppy status
* Falling expansion state
* DRB / contraction filter status
---
### 🎯 How to use it
This indicator is **not a trading strategy** and does **not provide entries**.
It is best used as:
* A **pre-market filter**
* A **“trade / no-trade” switch**
* A **risk and expectation management tool**
Typical usage:
* Trade breakout and trend strategies **only on green days**
* Reduce size or avoid trading entirely on red days
* Combine with your existing setups (London Breakout, NY session, trend continuation, etc.)
---
### ⚠️ Notes
* Designed and optimized for **Gold (XAUUSD)** but works on other instruments
* Uses higher-timeframe context to protect against intraday noise
* Especially useful for traders who struggle with **overtrading in ranges**
---
### ✅ Summary
This indicator helps you **stay out of bad days**, not chase more trades.
Sometimes, **the best trade is not trading at all**.
Pine Script® indicator
NYX08green bar color when market breaks above 13 ,25 and 30 ema
red bar color when market breaks below 13 ,25 and 30 ema
updated signal has to be above / below EMA200 ,SMA100 AND SMA300
with alerts
requested script feel free to make requests
Pine Script® indicator






















