Göstergeler ve stratejiler
First day of NIFTY Monthly ExpiryAutomatically identifies and marks the first Wednesday that occurs after the last Tuesday of each calendar month on your charts. Designed specifically for NSE traders using Indian timezone (GMT+5:30). Automatically adjusts for market holidays by marking the next available trading day. Handles cases where the Wednesday falls in the following month (e.g., Sept 30 → Oct 1).
Compression Breakout [30min 65+33 EMA]Compression Breakout
by GhostMMXM (inspired by Chris Cady & Steidlmayer Market Profile principles)
This indicator automates the exact compression-to-displacement setup that veteran CBOT floor trader and Market Profile pioneer Chris Cady describes in interviews and his work with Peter Steidlmayer.
Core idea
Chris Cady uses two simple moving averages on the 30-minute chart — a 33-period and a 65-period — to visually detect when the market falls into “balance” (compression). When both lines go almost perfectly flat for several bars, the market is in a low-volatility, high-consensus state — the calm before a violent vertical breakout.
What this script does
• Detects when both the 33 EMA and 65 EMA are virtually flat (user-adjustable sensitivity)
• Requires a minimum of 6 consecutive flat bars (adjustable) before declaring compression
• Draws a light-grey background + live-updating box showing the detecting compression
• Triggers only on the first strong displacing bar that:
– closes entirely above the compression high OR entirely below the compression low
– has a range ≥ 1.5× the average bar range inside the compression zone (adjustable)
• Plots a clear “LONG Cady Break” or “SHORT Cady Break” label on the breakout bar
• Fires a clean alert instantly usable on entire watchlists:
BTC → Compression LONG breakout!
ES1! → Compression SHORT breakout!
Designed for 30-minute charts (BTC, ETH, SOL, NQ, CL, GC, etc.) but works on any timeframe.
Perfect for traders who want to catch the highest-conviction vertical moves that Chris Cady has traded for decades with only a few contracts scaled in aggressively on the break.
Settings
• Minimum flat bars for compression (default 6)
• Max % slope to be considered flat (default 0.08 %)
• Minimum range multiplier vs compression average (default 1.5×)
Enjoy the cleanest, most mechanical version of Chris Cady’s famous compression breakout strategy available on TradingView.
Happy trading!
Multi MAThis TradingView indicator displays four customizable moving averages on your price chart: two Exponential Moving Averages (EMAs) and two Simple Moving Averages (SMAs).
The default settings show a 10-period EMA (aqua), 21-period EMA (orange), 50-period SMA (green), and 200-period SMA (red), which are commonly used timeframes for trend analysis.
Each moving average can be individually toggled on or off, and their lengths and colors are fully adjustable through the indicator settings.
The EMAs react more quickly to price changes while the SMAs provide smoother, more gradual trend indicators, making this useful for identifying support/resistance levels and trend direction.
Traders often watch for crossovers between these moving averages as potential entry or exit signals, with the 50/200 SMA cross being particularly significant as the "golden cross" or "death cross."
CoreMACDHTF [CHE]Library "CoreMACDHTF"
calc_macd_htf(src, preset_str, smooth_len)
Parameters:
src (float)
preset_str (simple string)
smooth_len (int)
is_hist_rising(src, preset_str, smooth_len)
Parameters:
src (float)
preset_str (simple string)
smooth_len (int)
hist_rising_01(src, preset_str, smooth_len)
Parameters:
src (float)
preset_str (simple string)
smooth_len (int)
CoreMACDHTF — Hardcoded HTF MACD Presets with Smoothed Histogram Regime Flags
Summary
CoreMACDHTF provides a reusable MACD engine that approximates higher-timeframe behavior by selecting hardcoded EMA lengths based on the current chart timeframe, then optionally smoothing the resulting histogram with a stateful filter. It is published as a Pine v6 library but intentionally includes a minimal demo plot so you can validate behavior directly on a chart. The primary exported outputs are MACD, signal, a smoothed histogram, and the resolved lengths plus a timeframe tag. In addition, it exposes a histogram rising condition so importing scripts can reuse the same regime logic instead of re-implementing it.
Motivation: Why this design?
Classic MACD settings are often tuned to one timeframe. When you apply the same parameters to very different chart intervals, the histogram can become either too noisy or too sluggish. This script addresses that by using a fixed mapping from the chart timeframe into a precomputed set of EMA lengths, aiming for more consistent “tempo” across intervals. A second problem is histogram micro-chop around turning points; the included smoother reduces short-run flips so regime-style conditions can be more stable for alerts and filters.
What’s different vs. standard approaches?
Reference baseline: a standard MACD using fixed fast, slow, and signal lengths on the current chart timeframe.
Architecture differences:
Automatic timeframe bucketing that selects a hardcoded length set for the chosen preset.
Two preset families: one labeled A with lengths three, ten, sixteen; one labeled B with lengths twelve, twenty-six, nine.
A custom, stateful histogram smoother intended to damp noisy transitions.
Library exports that return both signals and metadata, plus a dedicated “histogram rising” boolean.
Practical effect:
The MACD lengths change when the chart timeframe changes, so the oscillator’s responsiveness is not constant across intervals by design.
The rising-flag logic is based on the smoothed histogram, which typically reduces single-bar flip noise compared to using the raw histogram directly.
How it works (technical)
1. The script reads the chart timeframe and converts it into milliseconds using built-in timeframe helpers.
2. It assigns the timeframe into a bucket label, such as an intraday bucket or a daily-and-above bucket, using fixed thresholds.
3. It resolves a hardcoded fast, slow, and signal length triplet based on:
The selected preset family.
The bucket label.
In some cases, the current minute multiplier for finer mapping.
4. It computes fast and slow EMAs on the selected source and subtracts them to obtain MACD, then computes an EMA of MACD for the signal line.
5. The histogram is derived from the difference between MACD and signal, then passed through a custom smoother.
6. The smoother uses persistent internal state to carry forward its intermediate values from bar to bar. This is intentional and means the smoothing output depends on contiguous bar history.
7. The histogram rising flag compares the current smoothed histogram to its prior value. On the first comparable bar it defaults to “rising” to avoid a missing prior reference.
8. Exports:
A function that returns MACD, signal, smoothed histogram, the resolved lengths, and a text tag.
A function that returns the boolean rising state.
A function that returns a numeric one-or-zero series for direct plotting or downstream numeric logic.
HTF note: this is not a true higher-timeframe request. It does not fetch higher-timeframe candles. It approximates HTF feel by selecting different lengths on the current timeframe.
Parameter Guide
Source — Input price series used for EMA calculations — Default close — Trade-offs/Tips
Preset — Selects the hardcoded mapping family — Default preset A — Preset A is more reactive than preset B in typical use
Table Position — Anchor for an information table — Default top right — Present but not wired in the provided code (Unknown/Optional)
Table Size — Text size for the information table — Default normal — Present but not wired in the provided code (Unknown/Optional)
Dark Mode — Theme toggle for the table — Default enabled — Present but not wired in the provided code (Unknown/Optional)
Show Table — Visibility toggle for the table — Default enabled — Present but not wired in the provided code (Unknown/Optional)
Zero dead-band (epsilon) — Intended neutral band around zero for regime classification — Default zero — Present but not used in the provided code (Unknown/Optional)
Acceptance bars (n) — Intended debounce count for regime confirmation — Default three — Present but not used in the provided code (Unknown/Optional)
Smoothing length — Length controlling the histogram smoother’s responsiveness — Default nine — Smaller values react faster but can reintroduce flip noise
Reading & Interpretation
Smoothed histogram: use it as the momentum core. A positive value implies MACD is above signal, a negative value implies the opposite.
Histogram rising flag:
True means the smoothed histogram increased compared to the prior bar.
False means it did not increase compared to the prior bar.
Demo plot:
The included plot outputs one when rising is true and zero otherwise. It is a diagnostic-style signal line, not a scaled oscillator display.
Practical Workflows & Combinations
Trend following:
Use rising as a momentum confirmation filter after structural direction is established by higher highs and higher lows, or lower highs and lower lows.
Combine with a simple trend filter such as a higher-timeframe moving average from your main script (Unknown/Optional).
Exits and risk management:
If you use rising to stay in trends, consider exiting or reducing exposure when rising turns false for multiple consecutive bars rather than reacting to a single flip.
If you build alerts, evaluate on closed bars to avoid intra-bar flicker in live candles.
Multi-asset and multi-timeframe:
Because the mapping is hardcoded, validate on each asset class you trade. Volatility regimes differ and the perceived “equivalence” across timeframes is not guaranteed.
For consistent behavior, keep the smoothing length aligned across assets and adjust only when flip frequency becomes problematic.
Behavior, Constraints & Performance
Repaint and confirmation:
There is no forward-looking indexing. The logic uses current and prior values only.
Live-bar values can change until the bar closes, so rising can flicker intra-bar if you evaluate it in real time.
security and HTF:
No higher-timeframe candle requests are used. Length mapping is internal and deterministic per chart timeframe.
Resources:
No loops and no arrays in the core calculation path.
The smoother maintains persistent state, which is lightweight but means results depend on uninterrupted history.
Known limits:
Length mappings are fixed. If your chart timeframe is unusual, the bucket choice may not represent what you expect.
Several table and regime-related inputs are declared but not used in the provided code (Unknown/Optional).
The smoother is stateful; resetting chart history or changing symbol can alter early bars until state settles.
Sensible Defaults & Quick Tuning
S tarting point:
Preset A
Smoothing length nine
Source close
Tuning recipes:
Too many flips: increase smoothing length and evaluate rising only on closed bars.
Too sluggish: reduce smoothing length, but expect more short-run reversals.
Different timeframe feel after switching intervals: keep preset fixed and adjust smoothing length first before changing preset.
Want a clean plot signal: use the exported numeric rising series and apply your own display rules in the importing script.
What this indicator is—and isn’t
This is a momentum and regime utility layer built around a MACD-style backbone with hardcoded timeframe-dependent parameters and an optional smoother. It is not a complete trading system, not a risk model, and not predictive. Use it in context with market structure, execution rules, and risk controls.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Delta Force Index - DFI [TCMaster]This indicator provides a proxy measurement of hidden buying and selling pressure inside each candle by combining tick volume with candle direction. It calculates a simulated delta volume (buy vs. sell imbalance), applies customizable scaling factors, and displays three components:
Delta Columns (green/red): Show estimated hidden buy or sell pressure per candle.
Delta Moving Average (orange line): Smooths delta values to highlight underlying momentum.
Cumulative Delta (blue line): Tracks the long-term accumulation of hidden order flow.
How to use:
Rising green columns with a positive Delta MA and upward Cumulative Delta suggest strong hidden buying pressure.
Falling red columns with a negative Delta MA and downward Cumulative Delta suggest strong hidden selling pressure.
Scaling parameters allow you to adjust the visual balance between columns and lines for different timeframes.
Note: This tool uses tick volume and candle direction as a proxy for order flow. It does not display actual bid/ask data or Level II market depth. For professional order flow analysis, footprint charts or DOM data are required.
1M XAU Cumulative Delta Volume with OB Breakouts
### Overview
This is a **session-based CVD strategy** built around the **00:00–07:00 CEST range**. It finds the high/low of that session, turns them into **adaptive ATR-based support (yellow)** and **resistance (purple)** zones, and trades only **CVD-confirmed reversals** off those levels.
---
### How it Works
* For each day, the script:
* Builds a 00:00–07:00 CEST **profile high/low**.
* Creates a **support zone** around the session low and a **resistance zone** around the session high.
* Using lower timeframe data, it reconstructs **Cumulative Volume Delta (CVD)** and a **recent delta** filter.
* It arms “pending” states when price **enters a zone from the correct side**, then confirms:
* **BUY (long):** price reclaims above support and recent CVD is strongly positive.
* **SELL (short):** price rejects below resistance and recent CVD is strongly negative.
Only these two CVD signals (`buySignal` / `sellSignal`) open trades.
---
### Strategy Logic
* **Entries**
* `buySignal` → open **long** (if flat).
* `sellSignal` → open **short** (if flat).
* No pyramiding; one position at a time.
* **Exits (only TP & SL)**
* Long: TP at `avg_price * (0.5 + TP%)`, SL at `avg_price * (1 – SL%)`.
* Short: TP at `avg_price * (0.5 – TP%)`, SL at `avg_price * (1 + SL%)`.
* No opposite-signal exits.
---
### Extras
* **Reversal markers** on yellow/purple zones and **breakout/retest markers** are plotted for context and alerts but **do not trigger entries**.
* Zone width and “thickening” are ATR-based so important touches and near-touches are easy to see.
* Only suited for **1m intraday scalping** (e.g. XAU/USD), but can be tested on other markets/timeframes.
Money Flow Matrix This comprehensive indicator is a multi-faceted momentum and volume oscillator designed to identify trend strength, potential reversals, and market confluence. It combines a volume-weighted RSI (Money Flow) with a double-smoothed momentum oscillator (Hyper Wave) to filter out noise and provide high-probability signals.
Core Components
1. Money Flow (The Columns) This is the backbone of the indicator. It calculates a normalized RSI and weights it by relative volume.
Green Columns: Positive money flow (Buying pressure).
Red Columns: Negative money flow (Selling pressure).
Neon Colors (Overflow): When the columns turn bright Neon Green or Neon Red, the Money Flow has breached the dynamic Bollinger Band thresholds. This indicates an extreme overbought or oversold condition, suggesting a potential climax in the current move.
2. Hyper Wave (The Line) This is a double-smoothed Exponential Moving Average (EMA) derived from price changes. It acts as the "signal line" for the system. It is smoother than standard RSI or MACD, reducing false signals during choppy markets.
Green Line: Momentum is increasing.
Red Line: Momentum is decreasing.
3. Confluence Zones (Background) The background color changes based on the agreement between Money Flow and Hyper Wave.
Green Background: Both Money Flow and Hyper Wave are bullish. This represents a high-probability long environment.
Red Background: Both Money Flow and Hyper Wave are bearish. This represents a high-probability short environment.
Signal Guide
The Matrix provides three tiers of signals, ranging from early warnings to confirmation entries.
1. Warning Dots (Circles) These appear when the Hyper Wave crosses specific internal levels (-30/30).
Green Dot: Early warning of a bullish rotation.
Red Dot: Early warning of a bearish rotation.
Usage: These are not immediate entry signals but warnings to tighten stop-losses or prepare for a reversal.
2. Major Crosses (Triangles) These occur when Money Flow crosses the zero line, confirmed by momentum direction.
Green Triangle Up: Major Buy Signal (Money Flow crosses above 0).
Red Triangle Down: Major Sell Signal (Money Flow crosses below 0).
Usage: These are the primary trend-following entry signals.
3. Divergences (Labels "R" and "H") The script automatically detects discrepancies between Price action and the Hyper Wave oscillator.
"R" (Regular Divergence): Indicates a potential Reversal.
Bullish R: Price makes a lower low, but Oscillator makes a higher low.
Bearish R: Price makes a higher high, but Oscillator makes a lower high.
"H" (Hidden Divergence): Indicates a potential Trend Continuation.
Bullish H: Price makes a higher low, but Oscillator makes a lower low.
Bearish H: Price makes a lower high, but Oscillator makes a higher high.
Dashboard (Confluence Meter)
Located in the bottom right of the chart, the dashboard provides a snapshot of the current candle's status. It calculates a score based on three factors:
Is Money Flow positive?
Is Hyper Wave positive?
Is Hyper Wave trending up?
Readings:
STRONG BUY: All metrics are bullish.
WEAK BUY: Mixed metrics, but leaning bullish.
NEUTRAL: Metrics are conflicting.
WEAK/STRONG SELL: Bearish equivalents of the buy signals.
Trading Strategies
Strategy A: The Trend Rider
Entry: Wait for a Green Triangle (Major Buy).
Confirmation: Ensure the Background is highlighted Green (Confluence).
Exit: Exit when the background turns off or a Red Warning Dot appears.
Strategy B: The Reversal Catch
Setup: Look for a Neon Red Column (Overflow/Oversold).
Trigger: Wait for a Green "R" Label (Regular Bullish Divergence) or a Green Warning Dot.
Confirmation: Wait for the Hyper Wave line to turn green.
Strategy C: The Pullback (Continuation)
Context: The market is in a strong trend (Green Background).
Trigger: Price pulls back, but a Green "H" Label (Hidden Bullish Divergence) appears.
Action: Enter in the direction of the original trend.
Settings Configuration
The code includes tooltips for all inputs to assist with configuration.
Money Flow Length: Adjusts the sensitivity of the volume calculation. Lower numbers are faster but noisier; higher numbers are smoother.
Threshold Multiplier: Controls the "Neon" overflow bars. Increasing this (e.g., to 2.5 or 3.0) will result in fewer, more extreme signals.
Divergence Lookback: Determines how many candles back the script looks to identify pivots. Increase this number to find larger, macro divergences.
Disclaimer
This source code and the accompanying documentation are for educational and informational purposes only. They do not constitute financial, investment, or trading advice.
SMB Master Hub Pro1 Bull Flag Strong uptrend, small consolidation, breakout above flag high
2 Range Breakout Consolidation range, breakout with volume
3 VWAP Reclaim Price crosses above VWAP after being below
4 EMA9 Bounce Price bounces off EMA9 in uptrend
5 Pre-market Gap Stock gaps up or down with momentum, looks for continuation
Candle Identification + Cardwell Strength (w/ Slope Velocity)Identifies candle patterns pin bar, inside bar, outside bar, and shaved bars. The script also indicates the strength of the candle formation based upon Cardwell RSI principles, ADX, and price in relation to the VWAP.
The settings are available to the user to adjust for there specific style of trading.
Apex Liquidity & Trend Architect [Smart]Trading charts often suffer from two problems: Noise (too many false signals in chopping markets) and Clutter (too many old lines and zones obscuring price).
ALTA solves both. It is a streamlined, institutional-grade trend system that uses ADX filtering to silence weak signals and Time-Decay logic to automatically clean up old liquidity zones. It respects your screen real estate, showing you only what matters, right now.
1. The "Smart" Engine
Unlike standard trend indicators that repaint or clutter the screen, ALTA introduces three key innovations:
A. Hull Moving Average (HMA) Baseline
We have upgraded the core engine to use the Hull Moving Average. HMA is significantly faster and smoother than standard EMAs or SMAs, reducing lag on entry signals.
Note: You can switch back to WMA or SMA in the settings if you prefer a slower pace.
B. ADX Momentum Filtering
Quality over Quantity: The script monitors the ADX (Average Directional Index). If the trend flips, but the ADX is below 20 (weak trend), the signal is blocked.
This prevents you from getting chopped out during sideways accumulation phases. You only get a "BUY" or "SELL" label when there is actual momentum behind the move.
C. Adaptive Gradient Coloring
The candles do not just turn Green or Red. They change intensity based on trend strength.
Bright/Vivid Candles: Strong Momentum (High ADX).
Dark/Dull Candles: Weak Momentum (Low ADX).
Visual Cue: If the candles are fading into the background, stay out of the market.
2. Self-Cleaning Liquidity Zones
Most support/resistance indicators leave old boxes on the chart forever. ALTA uses a Decay Protocol.
Volume Validation: Supply/Demand zones are only drawn if the pivot point had volume significantly higher than average (configurable).
Mitigation: If price wicks through a zone, it is deleted instantly.
Time Decay (New): If a zone is not hit within a set number of bars (Default: 100), it automatically deletes itself. This keeps your chart focused on fresh levels only.
3. The Minimalist HUD
A simplified dashboard in the corner of your screen provides an instant health check of the market:
ALTA Label: System Status.
Trend: BULL / BEAR / WAIT (Squeeze).
Power: WEAK / SOLID / STRONG (Based on ADX).
4. How to Trade (The Strategy)
The High-Probability Buy
Trend: Ribbon is Green.
Candles: Candles are Bright Green (indicating High ADX Strength).
Signal: A "BUY" label appears (confirmed by ADX filter).
Liquidity: Price is bouncing off a valid Demand Zone.
The High-Probability Sell
Trend: Ribbon is Red.
Candles: Candles are Bright Red (indicating High ADX Strength).
Signal: A "SELL" label appears.
Liquidity: Price is rejecting off a valid Supply Zone.
When to STAY OUT
The Squeeze: If the ribbon turns Grey/White, volatility is compressing. Wait for the breakout.
The Fade: If the candles are dark/translucent, momentum is dying. Take profits or wait for a fresh impulse.
5. Settings & Customization
Basis Type: Switch between HMA (Fast), WMA (Standard), or SMA (Slow).
Signal Quality Filter: Toggle the ADX filter on/off.
Zone Life: How many bars should a Supply/Demand zone survive before decaying?
Tooltips: Every single setting in this script includes a descriptive tooltip. Hover over the "i" icon in the settings menu for detailed explanations of every feature.
Disclaimer
This indicator is for educational purposes only. Past performance (even with smart filtering) does not guarantee future results. Always manage your risk.
Liquidity Trend & Squeeze RadarThe Liquidity Trend & Squeeze Radar is a comprehensive trading system designed to visualize the three most critical components of price action: Trend, Volatility, and Momentum. The core philosophy of this tool is to identify periods of market "compression" (low volatility), where energy builds up, and then signal when that energy is released (expansion) for a potential breakout trade. It combines an EMA Cloud for trend direction with a TTM-style Squeeze indicator and a linear regression momentum filter.
Key Components
Trend Cloud (Structure) This component identifies the overall market bias. It uses a Fast EMA and a Slow EMA to create a shaded "Cloud."
Uptrend: The Fast EMA is above the Slow EMA. The Cloud is shaded green (default).
Downtrend: The Fast EMA is below the Slow EMA. The Cloud is shaded red (default).
Usage: Generally, traders should look to take Long signals only when the Trend Cloud is bullish and Short signals when the Trend Cloud is bearish.
Volatility Radar (The Squeeze) This logic detects when the market enters a period of low volatility. It calculates this by comparing Bollinger Bands (Expansion) against Keltner Channels (Average Range).
Squeeze Active: When the Bollinger Bands narrow and go inside the Keltner Channels, a "Squeeze" is active. This is represented by gray dots plotted along the Fast EMA and gray-colored price candles.
Usage: Do not trade during a Squeeze. This indicates indecision and chop. Treat this as a "Wait" signal while potential energy builds.
Momentum Filter (Hidden Logic) While the Squeeze is active, the script calculates the underlying momentum using Linear Regression. This predicts the likely direction of the breakout before it happens. This data is displayed in the Dashboard.
Breakout Signals (Fire) When the Squeeze condition ends (volatility expands), the script checks the Momentum filter.
Bullish Breakout: If the Squeeze ends and Momentum is positive, a triangle pointing up is plotted below the bar.
Bearish Breakout: If the Squeeze ends and Momentum is negative, a triangle pointing down is plotted above the bar.
Status Dashboard A table located in the top-right corner provides a real-time summary of the market state without needing to interpret the chart visuals manually. It lists the current Trend direction, Volatility state (Squeeze vs. Expansion), and Momentum value (Positive vs. Negative).
How to Trade This Indicator
Step 1: Identify the Trend Observe the background Cloud. Ensure you are trading in the direction of the dominant flow. If the Cloud is green, favor Longs. If red, favor Shorts.
Step 2: Wait for the Squeeze Look for the gray dots to appear on the moving average line and for the candles to turn gray. This indicates the market is resting and building energy. During this phase, you are stalking the trade. Avoid entering positions while the gray dots remain visible.
Step 3: The Breakout (The Trigger) Wait for the gray dots to disappear. This means the Squeeze has "Fired."
Long Entry: Look for a Triangle Up signal. Ideally, this should occur when the Trend Cloud is green.
Short Entry: Look for a Triangle Down signal. Ideally, this should occur when the Trend Cloud is red.
Step 4: Confirmation Check the Dashboard table. High-probability trades occur when all three metrics align (e.g., Trend is BULL, Volatility is EXPANSION, and Momentum is POSITIVE).
Settings Guide
Trend Structure:
Fast/Slow EMA Length: Adjusts the sensitivity of the Trend Cloud. Higher numbers effectively smooth out noise but react slower to trend changes.
Show Trend Cloud: Toggles the shaded area between EMAs on or off.
Volatility Radar:
Bollinger/Keltner Settings: These define the Squeeze sensitivity.
Keltner Mult: The most important setting. The default is 1.5. Lowering this to 1.0 will make the Squeeze harder to trigger (requiring extreme compression), leading to fewer but potentially more explosive signals.
Momentum:
Momentum Length: The lookback period for the linear regression calculation used to determine breakout direction.
Visuals:
Colorize Candles: Paints the price bars based on the current state (Gray for Squeeze, Green/Red for Trend).
Show Dashboard: Toggles the visibility of the data table.
Disclaimer This indicator and guide are for educational and informational purposes only. They do not constitute financial, investment, or trading advice. Trading in financial markets involves a significant risk of loss and is not suitable for every investor. Past performance of any trading system or methodology is not necessarily indicative of future results. The user assumes all responsibility for any trades made using this tool. Always use proper risk management.
GOLD TAS/TAM (Cartoon_Futures)Highlights the 5min close range around the TAM and TAS times of gold. it works on 5min charts and belwo. it works on the 5min candle close, not the vwap per true cme TAS and TAM calculations. you need to move to 1min and adjust preset times to get the proper london settlements
CME times
NY TAS: Sun-Fri 6:00 p.m. - 1:30 p.m. ET (5:00 - 12:30 CT) Central time
TAM:
Asia TAM: Sun - Frid 6:00 p.m. ET - 3:30 p.m. China
London a.m. TAM: Sun-Fri 6:00 p.m. ET - 10:32 a.m. London
London p.m.: TAM Sun-Fri 6:00 p.m. ET - 3:02 p.m. London
50-Week EMA & 100-Week MA (any TF)50-Week EMA & 100-Week MA
EMA 50W retains your stepline style.
MA 100W uses a normal smooth line (you can change style to stepline if you want).
Works on any timeframe — weekly calculation
Apex Trend & Liquidity Master v2.1CONCEPT & OVERVIEW The Apex Trend & Liquidity Master v2.1 is a comprehensive trading suite designed to unify Trend Following, Smart Money Concepts (SMC), and Momentum detection into a single, clutter-free interface.
While the original version provided a foundational trend cloud and pivot points, this v2.1 Edition represents a complete architectural overhaul. It moves beyond simple signal generation by incorporating institutional-grade filters (ADX & Volume), advanced oscillator logic (WaveTrend), and dynamic risk management tools (Chandelier Exits).
KEY IMPROVEMENTS VS. ORIGINAL
From Static to Dynamic Momentum: Replaced the rigid RSI filter with a Multi-Engine Oscillator (WaveTrend, MFI, or RSI), allowing for smoother cycle detection.
From "Pivots" to "Smart Structure": The liquidity engine now detects Swing Failure Patterns (SFP)—identifying when price "pokes" a level to trap traders before reversing—and automatically cleans up mitigated zones.
Choppy Market Protection: Added an ADX (Average Directional Index) integration to strictly filter out signals during flat/sideways markets.
Risk Management Layer: Introduced a Smart Trailing Stop (ATR-based Chandelier Exit) to help traders manage active positions objectively.
Visual Overhaul: Features a modern gradient trend cloud and a fully adaptive "Heads-Up Display" (HUD) that provides real-time market stats.
MAIN FEATURES
1. The Gradient Trend Cloud Uses a volatility-adjusted Moving Average (HMA/EMA/SMA) to define the baseline bias. The cloud expands and contracts based on market volatility (ATR).
Green Gradient: Bullish Bias (Look for Longs).
Red Gradient: Bearish Bias (Look for Shorts).
2. Smart Liquidity & SFPs Automatically plots Supply (Resistance) and Demand (Support) zones.
Mitigation Logic: Zones are automatically removed when price validates and breaks through them, keeping the chart clean.
SFP Detection: Detects "Fake-outs" where price sweeps a high/low but closes back within the range—a high-probability reversal signal.
3. The Momentum Engine You can now select the engine that drives your signals:
WaveTrend (Default): An institutional oscillator that is smoother than RSI and excellent for spotting cycles.
MFI: Volume-weighted RSI that ignores price moves unsupported by volume.
RSI: Classic price velocity.
Includes hidden divergence detection for all three engines.
4. Signal Filters
Volume Filter: Ensures signals are backed by above-average volume.
ADX Filter: Prevents signals when the trend strength is weak (ADX < 20).
HOW TO USE
For a Long Setup:
Trend: The Cloud must be Green.
Signal: Wait for a BUY label (confirmed by Volume + ADX).
Confluence: Ideally, price is bouncing off a Green Demand Zone or forming a Bullish Divergence.
Exit: Trail your stop loss along the Smart Trailing Stop line until price closes below it.
For a Short Setup:
Trend: The Cloud must be Red.
Signal: Wait for a SELL label (confirmed by Volume + ADX).
Confluence: Ideally, price is rejecting a Red Supply Zone or forming a Bearish Divergence.
Exit: Trail your stop loss along the Smart Trailing Stop line until price closes above it.
SETTINGS & TOOLTIPS Every single setting in this script includes a detailed tooltip. Simply hover over the "i" icon in the settings menu to understand exactly what each input controls and how to adjust it for your specific asset (Crypto, Forex, or Stocks).
3. Disclaimer
DISCLAIMER This script is for educational and informational purposes only and does not constitute financial advice. Trading financial markets involves a high level of risk and may not be suitable for all investors. Past performance of any indicator or strategy is not indicative of future results. The author accepts no liability for any losses incurred while using this script. Always practice proper risk management.
GOLD EMA Crossover Strategy This EMA Crossover Strategy is designed for intraday trading on the 5-minute chart.
It uses three EMAs (fast, mid, slow) to identify momentum shifts and trigger long or short entries. Risk management is dollar-based, with default settings of $100 risk per trade and $300 profit target. Entries are taken when the fast EMA crosses above/below the mid or slow EMA, with stops and targets calculated dynamically. The strategy runs across all hours and uses fixed position sizing (default 3 contracts). It is intended as a framework for traders to adapt and optimize to their own instruments and risk preferences.
Bitcoin vs. S&P 500 Performance Comparison**Full Description:**
**Overview**
This indicator provides an intuitive visual comparison of Bitcoin's performance versus the S&P 500 by shading the chart background based on relative strength over a rolling lookback period.
**How It Works**
- Calculates percentage returns for both Bitcoin and the S&P 500 (ES1! futures) over a specified lookback period (default: 75 bars)
- Compares the returns and shades the background accordingly:
- **Green/Teal Background**: Bitcoin is outperforming the S&P 500
- **Red/Maroon Background**: S&P 500 is outperforming Bitcoin
- Displays a real-time performance difference label showing the exact percentage spread
**Key Features**
✓ Rolling performance comparison using customizable lookback period (default 75 bars)
✓ Clean visual representation with adjustable transparency
✓ Works on any timeframe (optimized for daily charts)
✓ Real-time performance differential display
✓ Uses ES1! (E-mini S&P 500 continuous futures) for accurate comparison
✓ Fine-tuning adjustment factor for precise calibration
**Use Cases**
- Identify market regimes where Bitcoin outperforms or underperforms traditional equities
- Spot trend changes in relative performance
- Assess risk-on vs risk-off periods
- Compare Bitcoin's momentum against broader market conditions
- Time entries/exits based on relative strength shifts
**Settings**
- **S&P 500 Symbol**: Default ES1! (can be changed to SPX or other indices)
- **Lookback Period**: Number of bars for performance calculation (default: 75)
- **Adjustment Factor**: Fine-tune calibration to match specific data feeds
- **Transparency Controls**: Customize background shading intensity
- **Show/Hide Label**: Toggle performance difference display
**Best Practices**
- Use on daily timeframe for swing trading and position analysis
- Combine with other momentum indicators for confirmation
- Watch for color transitions as potential regime change signals
- Consider using multiple timeframes for comprehensive analysis
**Technical Details**
The indicator calculates rolling percentage returns using the formula: ((Current Price / Price ) - 1) × 100, then compares Bitcoin's return to the S&P 500's return over the same period. The background color dynamically updates based on which asset is showing stronger performance.
Market Cycle Master The Market Cycle Master (MCM) by © DarkPoolCrypto is a sophisticated trading system designed to bridge the gap between standard retail trend indicators and institutional-grade risk management. Unlike traditional indicators that simply provide entry signals based on a single timeframe, this system employs a "Confluence Engine" that requires multi-timeframe (MTF) alignment before generating a signal.
Crucially, this script integrates a live Risk Management Calculator directly into the chart overlay. This feature allows traders to stop guessing position sizes and instead execute trades based on a fixed percentage of account equity at risk, calculating the exact lot size relative to the dynamic stop-loss level.
Core Concept and Logic
This system operates on three distinct layers of logic to filter out noise and identifying high-probability trend continuations:
1. The Trend Architecture (Layer 1) At its core, the script utilizes an adaptive ATR-based SuperTrend calculation. This allows the system to adjust to market volatility dynamically. When volatility expands, the trend bands widen to prevent premature stop-outs. When volatility contracts, the bands tighten to capture early reversals.
2. Institutional Context / Multi-Timeframe Filter (Layer 2) This is the primary filter of the Pro system. The script monitors a higher timeframe (default: 4-Hour) in the background.
Bullish Context: If the Higher Timeframe (HTF) is in an uptrend, the script will only permit LONG signals on your current chart.
Bearish Context: If the HTF is in a downtrend, the script will only permit SHORT signals.
Grayscale Filters: If the current chart's trend opposes the Higher Timeframe trend (e.g., a 5-minute uptrend during a 4-hour downtrend), the candles will be painted GRAY. This indicates a low-probability "Counter-Trend" environment, and no signals will be generated.
3. Money Flow Filtering (Layer 3) To prevent buying tops or selling bottoms, the system utilizes the Money Flow Index (MFI). Long signals are filtered if volume-weighted momentum is already overbought, and Short signals are filtered if oversold.
The Risk Management HUD
The Heads-Up Display (HUD) is the distinguishing feature of this tool. It transforms the indicator from a visual aid into a trading terminal.
Trend Direction: Displays the current verified trend.
MTF Status: Shows the state of the Higher Timeframe trend.
Volatility: Displays the current ATR value.
Stop Loss: Displays the exact price level of the trend line.
Risk Calculator:
Risk ($): Shows the total dollar amount you will lose if the stop loss is hit (based on your settings).
Units: Calculates exactly how much Crypto, Stock, or FX lots to purchase to match your risk parameters.
Guide: How to Use
Configuration
Trend Architecture: Adjust the "Volatility Factor" (Default: 3.0). Higher values reduce noise but delay entries. Lower values are faster but riskier.
Institutional Context: Select the "Higher Timeframe."
If trading 1m to 15m charts: Set HTF to 4 Hours (240).
If trading 1H to 4H charts: Set HTF to Daily (1D).
Risk Calculator:
Account Size: Enter your total trading capital.
Risk Per Trade: Enter the percentage of your account you are willing to lose on a single trade (e.g., 1.0%).
Trading Strategy
The Signal: Wait for a "Sniper Long" or "Sniper Short" label. This appears only when price action, volatility, and the higher timeframe consensus all align.
The Execution: Look at the HUD under "Units." Open a position for that specific amount.
The Stop Loss: Place your hard Stop Loss at the price shown in the HUD ("Stop Loss" row). This corresponds to the trend line.
The Exit: Close the position if the candle color turns Gray (loss of momentum/consensus) or if an opposing signal appears.
Disclaimer
This script and the information provided herein are for educational and entertainment purposes only. They do not constitute financial advice, investment advice, trading advice, or any other advice. Trading in financial markets involves a high degree of risk and may result in the loss of your entire capital.
The "Risk Calculator" included in this script provides theoretical values based on mathematical formulas relative to the price data provided by TradingView. It does not account for slippage, spread, exchange fees, or liquidity gaps. Always verify calculations manually before executing live trades. Past performance of any trading system is not indicative of future results. The author assumes no responsibility for any losses incurred while using this script.



















