Các mẫu biểu đồ
Support and Resistance (High Volume Boxes) [ChartPrime]# 📘 OPERATING MANUAL: Massive Order Spike Detector (v1.0)
## 1. PURPOSE OF THE TOOL
The **Massive Order Spike Detector** is a quantitative analysis tool designed to isolate volume anomalies. By utilizing **Standard Deviation (σ)**, it identifies the exact moments when order flow exceeds statistical norms, signaling institutional intervention ("Smart Money"), high-frequency trading (HFT) activity, or market climax events.
---
## 2. TECHNICAL SPECIFICATIONS & INPUTS
The indicator calculates the ratio between current volume and its historical volatility to define "extreme" participation.
### **Configuration Settings**
* **Volume Spike Multiplier (x σ):** *Default: **4.0***
* *Function:* Sets the sensitivity threshold. A value of 4.0 triggers a signal only if the current volume is 4 times the standard deviation of the lookback period.
* **StDev Lookback Length:** *Default: **200***
* *Function:* Defines the sample size (number of bars) used to establish the "baseline" or "normal" volume.
---
## 3. SIGNAL INTERPRETATION PROTOCOL
The indicator generates real-time visual signals on the price chart:
| Signal | Graphic Icon | Technical Condition | Market Sentiment |
| :--- | :--- | :--- | :--- |
| **Massive Buy Spike** | 🟢 Lime Triangle (Below) | Vol ≥ 4σ + Close > Open | Extreme buying pressure. Potential accumulation or aggressive breakout. |
| **Massive Sell Spike** | 🔴 Red Triangle (Above) | Vol ≥ 4σ + Close < Open | Extreme selling pressure. Potential distribution or panic selling. |
---
## 4. OPERATIONAL PROCEDURES (STRATEGIES)
### **A. Breakout Validation (Trend Following)**
* **Context:** Price is testing a key Support/Resistance or a consolidation zone.
* **Trigger:** A Spike appears (Lime for Long / Red for Short) as the level is breached.
* **Execution:** The signal confirms that institutional volume is backing the move. High probability of trend continuation.
### **B. Exhaustion Climax (Mean Reversion)**
* **Context:** Price is in an extended trend (overbought/oversold).
* **Trigger:** A Spike appears in the direction of the trend, but the candle features a long wick (rejection) or a small body.
* **Execution:** This indicates a "Blow-off Top" or "Selling Climax." Traders should look to take profits or prepare for a reversal once market structure shifts.
---
## 5. ALERT MANAGEMENT
To ensure no institutional moves are missed, follow this setup for TradingView notifications:
1. Open the **"Create Alert"** panel in TradingView.
2. Select **"Massive Order Spike Detector"** as the condition.
3. Set frequency to: **"Once Per Bar Close"** (to prevent false triggers during mid-candle volatility).
4. The automated message includes the **Normalized Volume** value to gauge the magnitude of the spike.
---
## 6. RISK WARNINGS & BEST PRACTICES
⚠️ **Macro Events:** During high-impact news (e.g., NFP, CPI), spikes are common but highly volatile. Use wider stop losses or avoid entry during the first 5 minutes.
⚠️ **Low Liquidity Assets:** On "thin" charts, a 4.0 multiplier may trigger too often. Increase the multiplier to **6.0+** for better accuracy.
⚠️ **Confluence:** Never trade a spike in isolation. Always align signals with Price Action (Support/Resistance) or Trend Filters (e.g., 200 EMA).
EMA 8/20 CrossoverModeled with 10k buying power
risking 5% account value per trade
take profit when 8 day EMA crosses below 20 day EMA
take long position when 8 day EMA crosses above 20 day EMA
4MA / 4MA-1 Interactive Projection and Volatility Envelopehis script is a user-interactive upgrade to my original 4MA projection tool (Code 1). The goal of this version is to keep the same core behavior while adding transparent controls so you can adapt it to different symbols, timeframes, and market regimes.
At its core, the indicator tracks:
MA4 (4-period SMA) and MA4 (the 1-bar lag of MA4) to show short-term alignment and slope, and
A forward projection path plus a deviation “envelope” to visualize typical expansion vs. stretched moves vs. extreme deviations.
What’s on the chart
1) Live structure lines
MA4 and MA4 are plotted on the chart.
Their relationship provides a simple structure read:
MA4 > MA4 → bullish alignment
MA4 < MA4 → bearish alignment
2) Projection path (optional)
The script builds a forward “projection” by sampling a historical MA window and drawing that shape forward by a user-defined bar shift.
Delta-anchor option (recommended):
When enabled, the sampled shape is re-centered onto the current MA level (preserves relative movement rather than absolute price level).
Important: This projection is a visual reference model, not a promise of future price.
3) Standard deviation envelopes (optional)
Deviation bands are derived from the distribution of (close − MA4) across the sampled window, then applied around the projected path using configurable multipliers (a “ladder” of envelopes).
These envelopes are designed to help visualize:
Normal expansion zones
Momentum stretch zones
Extreme deviation zones where the model is more likely to be challenged
4) Projected cross confluence (vertical lines)
Vertical confluence lines mark where the projected MA4 and projected MA4 would intersect (bull / bear).
These are intended as forward structure landmarks, not trade signals.
5) Alerts (optional)
Alerts can be enabled for breaches of the projected deviation envelope:
Band 3 breach: momentum stretch / extension
Band 4 breach: extreme deviation / model challenged (“invalidation” zone)
Wicks or closes can be used for the breach check depending on preference.
6) Table (optional)
A compact table summarizes:
MA values
alignment status
The most recent cross context (BUY/SELL labeling here is informational labeling of the MA cross state, not a guarantee of performance)
How to use (practical workflow)
Set the market + timeframe first
Choose the symbol and timeframe you trade. This tool is designed to be tuned.
Adjust the pattern window
“Pattern Start/End (bars back)” controls what historical sample is used.
Different assets/timeframes respond best to different windows.
Toggle projection + confluence lines
If projection landmarks add clarity, keep them on.
If you want a cleaner chart, toggle them off.
Use bands as context
Movement inside the inner bands often reflects more typical expansion.
Band 3/4 areas represent progressively more stretched conditions.
Use alerts as notifications, not commands
Alerts are best used as “check the chart” prompts rather than auto-trade triggers.
Notes & disclaimers (Publishing-safe)
This script is intended for analysis and decision support.
It does not execute trades and does not guarantee outcomes.
Projections and envelopes are models and can be exceeded or invalidated by volatility.
Always use risk management and confirm with your own framework.
Change log (recommended)
v2 (Interactive Upgrade):
Added user controls for projection window and visualization
Added/expanded optional confluence markers, alerts, and presentation settings
Improved transparency and tunability across symbols/timeframes
This version is the recommended upgrade to the original release: same concept, more user control, clearer documentation, and better adaptability across markets.
Below 250DMA & Gap FinderThis script is a Technical Momentum & Trend Filter. It is designed to find "fallen" stocks—companies that are in a long-term downtrend but have recently experienced a sudden, violent move in price (a gap).
DTG Open Range Breakout
Description:
Overview The Open Range Breakout (ORB) is one of the most statistically significant strategies for day traders, particularly in Futures (ES/NQ) and Forex markets. This indicator automates the process of identifying the "Opening Range" (e.g., the first 30 minutes of the New York session) and visualizing the key High/Low levels that define the day's bias.
Unlike standard indicators that clutter the chart, this tool focuses on Price Action context. It highlights the critical volatility window and alerts you only when price makes a definitive move outside of this established range.
Key Features
Fully Customizable Session: Defaults to 09:30–10:00 (ET), but can be adjusted for any market (London Open, Tokyo Open, etc.).
Visual "No-Trade" Zone: Draws a shaded box representing the range formation period. This helps traders avoid "choppy" price action during the initial volatility.
Auto-Reset: The script automatically detects a new trading day and resets the range, keeping your chart clean without manual intervention.
Dynamic Support/Resistance: Once the range is closed, the High and Low lines extend forward, acting as key support or resistance levels for the rest of the session.
Smart Alerts: Alerts are programmed to trigger only after the range has fully formed, preventing false signals during the volatility establishment phase.
Reversals: If price breaks out but immediately fails and re-enters the box, consider this a "Fakeout" and look for a move to the opposite side.
Settings
Open Range Session: The specific time window to measure (Format: HHMM-HHMM).
Range Box Color: Visual preference for the shaded area.
Extend High/Low Lines: Toggle the dashed projection lines on/off.
DON.TRADES.GOLD@GMAIL.COM
Disclaimer This script is for educational and analytical purposes only. Past performance of a breakout strategy does not guarantee future results. Always manage risk.
Target Lock Algo buy and Sell Signal by Amit NamdeoTarget Lock Algo: Professional Buy & Sell Signals
Target Lock Algo is a comprehensive, institutional-grade trading system designed to filter out market noise and provide high-probability entry signals with automated risk management. It combines Trend Flow, Market Structure (SMC), and Volatility Analysis into a single, clean interface.
Key Features
1. Precision Signal Engine
Trend-Following Logic: The core algorithm uses a smoothed Baseline to detect the dominant market flow. Signals are generated only when the trend flips (Green for Bullish, Red for Bearish).
"One-Shot" Execution: To prevent overtrading, the system never issues consecutive signals in the same direction. It forces a complete trend reversal before signaling again.
Whipsaw Protection: A built-in time filter (Min Bars) prevents signals from clustering together during choppy price action.
2. Institutional Filters (The "Safety Net")
200 EMA Major Trend Filter:
Buys are only enabled when price is ABOVE the 200 EMA.
Sells are only enabled when price is BELOW the 200 EMA.
This prevents catching falling knives or buying into a crash.
ADX Chop Filter:
The system actively monitors market strength using the Average Directional Index (ADX).
If the market enters a sideways "Chop Zone" (ADX < 20), all trading signals are hard-blocked.
Visual Aid: These zones can be highlighted with Gray Boxes to warn you to stay out.
3. Automated Risk Management (Target Lock)
When a signal is generated, the algorithm automatically calculates and draws the exact trade parameters on your chart:
⚡ ENTRY: The precise closing price of the signal candle.
🛑 STOP LOSS: Dynamic stop loss calculated using Market Volatility (ATR). If the market is volatile, the stop widens; if calm, it tightens.
🎯 TP 1, 💰 TP 2, 🚀 TP 3: Three take-profit levels calculated based on strict Risk-to-Reward ratios (1.5R, 2.5R, and 3.5R).
4. Premium Visual Interface
Glassmorphism Dashboard: A modern, transparent HUD in the top-right corner displays real-time data:
Current Trend: (Bullish 🟢 / Bearish 🔴)
Market State: (Active 🔥 / Ranging 💤)
Volatility: (Live ATR value)
SMC Overlay: Subtly plots pivot points and market structure breaks in the background to give you institutional context without cluttering the signals.
High-Contrast Design: Signals appear as modern "Neon Buttons," while TP/SL lines use rich, deep colors (Deep Emerald & Crimson) for professional visibility.
How to Trade with Target Lock Algo
Check the Dashboard: Ensure the Market State says "ACTIVE 🔥". If it says "RANGE 💤", be cautious.
Wait for the Button: Look for the "BUY NOW" (Neon Green) or "SELL NOW" (Neon Red) label.
Verify the Trend:
For BUY: Price should be above the white 200 EMA line.
For SELL: Price should be below the white 200 EMA line.
Execute: Enter the trade at the ⚡ ENTRY price.
Manage: Set your Stop Loss at the 🛑 SL line and take partial profits at TP 1 and TP 2. Leave a "runner" for TP 3 if the trend is strong.
eBacktesting - Learning: Trend LineseBacktesting - Learning: Trend Lines helps you spot clean trend lines automatically, using real swing points (highs/lows) and confirming a line only after it’s “respected” multiple times.
What you’ll see on the chart
- Uptrend lines (support) when price is making higher lows
- Downtrend lines (resistance) when price is making lower highs
- A simple way to study structure, spot “respect” of a trend line, and understand when a trend may be weakening
- Trend line breaks are based on candle closes, not just quick wicks, so the signals are clearer
You can also keep a few older lines on the chart, making it easy to review past reactions and build pattern recognition.
These indicators are built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
ICT Entry V2 [TS_Indie]📌 Description – ICT Entry V2
The market structure, liquidity, FVG, and iFVG mechanisms remain the same as in Version 1.
However, the price action for order entries is different, with the positions of the FVG and iFVG swapped.
Pending orders and stop loss are placed at the iFVG.
⚙️ Core Logic & Working Mechanism
I won’t explain FVG in detail, as most traders are already familiar with it.
Let’s focus on the mechanism of iFVG instead.
The concept of iFVG is based on a supply-to-demand flip and a demand-to-supply flip within an FVG zone.
For an iFVG to be confirmed, the candle close must break through the FVG.
A wick alone does not count as a valid iFVG confirmation.
The confirmation of market structure swings uses a pivot length mechanism combined with price action.
It validates a swing by detecting a structure break formed by candles making new highs or new lows.
📈 Buy Setup
1.Liquidity sweep on the demand side, with price closing above the liquidity level.
2.A demand zone is formed as iFVG and FVG, where FVG is located above iFVG.
3.The gap between the upper box of iFVG and the lower box of FVG must be within the defined Min and Max range.
4.Market Structure must be in a Bullish trend.
5.Place a Pending Order at the upper box of iFVG and set Stop Loss at the lower box of iFVG (Entry and Stop Loss can be adjusted using Entry Zone and ATR-based Stop Loss).
📉 Sell Setup
1.Liquidity sweep on the supply side, with price closing below the liquidity level.
2.A supply zone is formed as iFVG and FVG, where FVG is located below iFVG.
3.The gap between the lower box of iFVG and the upper box of FVG must be within the defined Min and Max range.
4.Market Structure must be in a Bearish trend.
5.Place a Pending Order at the lower box of iFVG and set Stop Loss at the upper box of iFVG (Entry and Stop Loss can be adjusted using Entry Zone and ATR-based Stop Loss).
⚙️ Liquidity Sweep Conditions
➯ When a liquidity sweep occurs on the demand side, the system will start looking for Buy Setup conditions.
➯ When a liquidity sweep occurs on the supply side, the system will immediately switch to looking for Sell Setup conditions.
➯ The system will always prioritize the most recent liquidity sweep and search for setups based on that direction.
➯ The liquidity sweep condition will be invalidated when price closes back below (for demand sweep) or above (for supply sweep) the most recently swept liquidity level.
⭐ Pending Order Cancellation Conditions
A Pending Order will be canceled under the following conditions:
1.A new Price Action signal appears on either the Buy or Sell side.
2.When Time Session is enabled, the Pending Order is canceled once price exits the selected session.
🕹 Order Management Rule
When there is an active open position, the indicator restricts the creation of new Pending Orders to prevent overlapping positions.
⚠️ Disclaimer
This indicator is designed for educational and research purposes only. It does not guarantee profits and should not be considered financial advice. Trading in financial markets involves significant risk, including the potential loss of capital.
🥂 Community Sharing
If you find parameter settings that work well or produce strong statistical results, feel free to share them with the community so we can improve and develop this indicator together.
Liquidity Sweeps by EVThis indicator is designed to detect liquidity sweeps and stop hunts by identifying when price briefly moves beyond key swing highs or lows and then rejects those levels. It highlights areas where buy-side or sell-side liquidity has been taken, offering traders a clear and objective way to read liquidity-driven market behavior.
Buy-side liquidity sweeps occur when price trades above a previous swing high and fails to hold, while sell-side liquidity sweeps occur when price trades below a previous swing low and quickly recovers. All detections are based on confirmed pivots, ensuring the indicator is fully non-repainting and reliable in live trading conditions.
The indicator allows users to choose between close-based or wick-based confirmation and can optionally mark only the first sweep of each liquidity level to reduce chart noise. Liquidity levels can be visualized directly on the chart, providing precise contextual references for market structure, VWAP confluence, and potential reversals.
eBacktesting - Learning: Support & ResistanceeBacktesting - Learning: Support & Resistance helps you spot the price levels where the market repeatedly reacts, bounces, or rejects — the classic “floors” (support) and “ceilings” (resistance) that many day traders use to plan entries, stops, and targets.
This indicator automatically marks historical support and resistance levels right where they formed, so you can scroll back and study how price respected (or broke) those zones over time. It also highlights important moments when a level is broken, showing you how a broken resistance can later act like support (and vice-versa).
These indicators are built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
Sell strategy by SBCan sell at low of the highlighted candles and this works on 5 min time frame with sl and target of 5 points only
Buy Strategy by SBBuy strategy at high of highlighted candles .This will give target of 5 points at 5min time frame and 5 points sl
PLOW/PLHW (Potential weekly highs/lows)AP Capital – PLOW / PLHW (Potential Weekly Low / High)
This indicator highlights Potential Weekly Lows (PLOW) and Potential Weekly Highs (PLHW) in real time, using current-week price action, session context, and confirmed candle closes.
It is designed for intraday and swing traders who want early-week and late-week structure levels without repainting or hindsight bias.
🔹 How It Works
Potential Weekly Low (PLOW)
Detected during early week sessions
Triggers when price prints the current week’s lowest low
Confirmed only on candle close
Typically aligns with liquidity grabs, stop runs, or accumulation
Potential Weekly High (PLHW)
Detected during late week sessions
Triggers when price prints the current week’s highest high
Confirmed only on candle close
Often marks distribution or exhaustion zones
📊 Visual Elements
Clean weekly high & low levels
Optional weekly midpoint
Session-aware confirmation
Non-repainting labels
Minimalist layout (no clutter)
⚙️ Key Features
Works on any intraday timeframe
Fully non-repainting
Session-based logic (early vs late week)
Optional weekly range info panel
Suitable for Gold, FX, Indices, Crypto
🧠 Best Use Cases
Fade moves into weekly extremes
Combine with:
Previous Day High / Low
Liquidity sweeps
Market structure shifts
Identify high-probability reversals
Avoid chasing price late in the week
⚠️ Important Notes
This is NOT predictive — levels are confirmed from live price action
Best used as context, not a standalone entry system
Designed to complement price action & liquidity-based trading
📌 Disclaimer
This indicator is for educational purposes only.
Not financial advice. Always manage risk.
EURUSD 15mThis strategy is a EURUSD 15-minute trend-following signal indicator built around an EMA “basis” and ATR volatility bands. It uses a 20-period EMA as the midline and ATR to form inner/outer channels, helping identify pullbacks and avoid chasing extremes. A 150-period EMA acts as the trend filter, and signals are only considered in the direction of the trend (optionally requiring the trend EMA to slope). Quality filters include ADX strength, a confirmation candle rule, a volatility filter (ATR vs ATR moving average), a “room to outer band” filter, plus anti-spam arming and a cooldown timer to reduce repeated signals. The main entry logic is DR (deep retracement back to the basis and reclaim) with an optional BO (breakout across the inner band) feature. Mode presets (More Trades / Balanced / Quality) adjust strictness to trade off frequency versus selectivity.
Previous Highs and Lows (M, W, D) Displays previous Monthly, Weekly, and Daily key swing highs/lows with clean , timeframe-specific coloring. Essential structure reference for multi-timeframe traders!!
Your Monthly/Weekly/Daily structural backbone in one indicator!!!!
Spearman Correlation🔗 Spearman Correlation – Ranked Relationship Tracker
Overview:
This indicator calculates and plots the Spearman Rank Correlation Coefficient between the current chart’s asset and a custom comparison ticker (the example shown is BTC vs the OTHERS market cap for crypto). Unlike Pearson correlation, which measures linear relationships, Spearman correlation captures monotonic (ranked) relationships—making it better suited for analysing assets that move in sync but not necessarily in a linear fashion.
🧠 What It Does:
Computes ranked correlation between two assets over a user-defined lookback period
Smooths the correlation curve for better readability
Visually shades the background by correlation strength and direction:
🟩 Strong Positive (+0.5 to +1)
🟨 Weak Positive (+0.1 to +0.5)
⬜ No Correlation (–0.1 to +0.1)
🟧 Weak Negative (–0.5 to –0.1)
🟥 Strong Negative (–1 to –0.5)
⚙️ User Inputs:
Lookback Period: Number of bars used to calculate correlation
Comparison Ticker: Choose any asset to compare against
Shading Toggles: Customize which correlation zones are highlighted
📈 Use Cases:
Identify evolving relationships between assets (e.g., BTC vs DXY, ETH vs SPX)
Spot when assets become inversely correlated or lose correlation entirely
Track regime shifts where traditional relationships break down or re-align
Use alongside trend or momentum strategies to add a cross-asset confirmation layer
🔍 Interpreting the Correlation:
+1 → Perfect positive (ranks match exactly)
+0.5 to +1 → Strong positive relationship
+0.1 to +0.5 → Weak but positive relationship
–0.1 to +0.1 → Essentially uncorrelated
–0.5 to –0.1 → Weak negative correlation
–1 to –0.5 → Strong inverse relationship
–1 → Perfect negative (rankings are completely opposite)
🧪 Technical Notes:
Calculation uses ranked returns to better reflect monotonic relationships
Smoothed with a simple moving average (SMA) for stability
Arrays are managed internally to maintain performance and adaptability
This script is ideal for traders seeking deeper insight into cross-asset dynamics, portfolio hedging, or timing divergence-based strategies.
Directional Comparisons - Two Tickers📊 Directional Comparisons – Two Tickers
Overview:
This tool allows you to visually and statistically compare the directional behaviour of any two assets on any chart timeframe. It identifies and color-codes each bar based on how both the current asset and your chosen comparison asset performed in that period (e.g., both up, both down, diverging). A statistical summary table dynamically updates in the corner of your chart, tracking the probability and streak performance of each condition.
🛠 How It Works:
Each candle is analysed and color-coded based on the relationship between the current chart's asset and a comparison asset of your choice:
✅ Green – Both tickers closed higher (bullish alignment)
🔻 Red – Both tickers closed lower (bearish alignment)
🔷 Blue – Current ticker up, comparison ticker down (positive divergence)
🟧 Orange – Current ticker down, comparison ticker up (negative divergence)
You can toggle each colour condition on/off independently.
📈 Statistical Table (Top Right):
For the candles in the visible chart range, the indicator displays:
The frequency (probability) of each condition
Longest, shortest, and average streaks for each condition
Average % change for both the current and comparison asset under each scenario
All stats auto-update as you zoom or scroll through the chart.
🔧 User Inputs:
Comparison Ticker: Choose any ticker symbol to compare against the current chart
Toggle Conditions: Enable or disable individual directional conditions (color-coded)
✅ Use Cases:
Spot high-probability alignment zones between two assets (e.g., BTC vs ETH, SPX vs VIX)
Identify divergence opportunities for trading signals
Analyse historical relationships and co-movements between assets
Perform correlation streak studies directly on the chart
🔍 Notes:
The script works across all timeframes (1min to monthly).
Stats only consider visible bars on your chart for responsiveness.
Ideal for pair traders, macro analysts, or anyone interested in cross-asset relationships.
TDPOWERSYS vs Market-Cap Weighted Peersfor QIC - UnCut Diamonds team..
to compare one company vs its peers bundled as basket.
editable..






















