APEX TREND: Macro & Hard Stop SystemAPEX TREND: Macro & Hard Stop System
The APEX TREND System is a composite trend-following strategy engineered to solve the "Whipsaw" problem inherent in standard breakout systems. It orchestrates four distinct technical theories—Macro Trend Filtering, Volatility Squeeze, Momentum, and Volatility Stop-Loss—into a single, hierarchical decision-making engine.
This script is not merely a collection of indicators; it is a rules-based trading system designed for Swing Traders (Day/Week timeframes) who aim to capture major trend extensions while strictly managing downside risk through a "Hard Stop" mechanism.
🧠 Underlying Concepts & Originality
Many trend indicators fail because they treat all price movements equally. The APEX TREND differentiates itself by applying an "Institutional Filter" logic derived from classic Dow Theory and Modern Volatility Analysis.
1. The Macro Hard Stop (The 200 EMA Logic)
Origin: Based on the institutional mandate that “Nothing good happens below the 200-day moving average.”
Function: Unlike standard super trends that flip constantly in sideways markets, this system integrates a 200-period Exponential Moving Average (EMA) as a non-negotiable "Hard Stop."
Synergy: This acts as the primary gatekeeper. Even if the volatility engine signals a "Buy," the system suppresses the signal if the price is below the Macro Baseline, effectively filtering out counter-trend traps.
2. The Volatility Engine (Squeeze Theory)
Origin: Derived from John Carter’s TTM Squeeze concept.
Function: The script identifies periods where Bollinger Bands (Standard Deviation) contract inside Keltner Channels (ATR). This indicates a period of potential energy build-up.
Synergy: The system only triggers an entry when this energy is released (Breakout) AND coincides with Linear Regression Momentum, ensuring the breakout is genuine.
3. Anti-Chop Filter (ADX Integration)
Origin: J. Welles Wilder’s Directional Movement Theory.
Function: A common failure point for trend systems is low-volatility chop. This script utilizes the Average Directional Index (ADX).
Synergy: If the ADX is below the threshold (Default: 20), the market is deemed "Choppy." The script visually represents this by painting candles GRAY, signaling a "No-Trade Zone" regardless of price action.
4. The "Run Trend" Stop Loss (Factor 4.0 ATR)
Origin: Adapted from the Turtle Trading rules regarding volatility-based stops.
Function: Standard Trailing Stops (usually Factor 3.0) are too tight for crypto or volatile equities on daily timeframes.
Optimization: This system employs a wider ATR Multiplier of 4.0. This allows the asset to fluctuate naturally within a trend without triggering a premature exit, maximizing the "Run Trend" potential.
🛠 How It Works (The Algorithm)
The script processes data in a specific order to generate a signal:
Check Macro Trend: Is Price > EMA 200? (If No, Longs are disabled).
Check Volatility: Is ADX > 20? (If No, all signals are disabled).
Check Volume: Is Current Volume > 1.2x Average Volume? (Confirmation of institutional participation).
Trigger: Has a Volatility Breakout occurred in the direction of the Macro Trend?
Execution: If ALL above are true -> Generate Signal.
🎯 Strategy Guide
1. Long Setup (Bullish)
Signal: Look for the Green "APEX LONG" Label.
Condition: The price must be ABOVE the White Line (EMA 200).
Execution: Enter at the close of the signal candle.
Stop Loss: Initial stop at the Green Trailing Line.
2. Short Setup (Bearish)
Signal: Look for the Red "APEX SHORT" Label.
Condition: The price must be BELOW the White Line (EMA 200).
Execution: Enter at the close of the signal candle.
Stop Loss: Initial stop at the Red Trailing Line.
3. Exit Rules (Crucial)
This system employs a Dual-Exit Mechanism:
Soft Exit (Profit Taking): Close the position if the price crosses the Trailing Stop Line (Green/Red line). This locks in profits during a trend reversal.
Hard Exit (Emergency): Close the position IMMEDIATELY if the price crosses the White EMA 200 Line against your trade. This prevents holding a position during a major market regime change.
⚙️ Settings
Momentum Engine: Adjust Bollinger Band/Keltner Channel lengths to tune breakout sensitivity.
Apex Filters: Toggle the EMA 200 or ADX filters on/off to adapt to different asset classes.
Risk Management: The ATR Multiplier (Default 4.0) controls the width of the trailing stop. Lower values = Tighter stops (Scalping); Higher values = Looser stops (Swing).
Disclaimer: This script is designed for trend-following on higher timeframes (4H, 1D, 1W). Please backtest on your specific asset before live trading.
趨勢分析
Bull/Bear/Consolidation Zones Hariss 369This indicator helps to identify bullish, bearish, and consolidation zones using EMA and ATR-based calculations. It visually highlights zones on the chart and provides buy and sell signals with ATR-based stop-loss (SL) and take-profit (TP) levels.
Key Features:
EMA Trend Filter: Determines the direction of the market.
Bull / Bear / Consolidation Zones: Colored zones to easily spot market phases.
ATR-Based SL & TP: Automatic calculation for each trade signal.
Buy / Sell Signals: Based on price relative to EMA and consolidation zones.
Relative Volume (RVOL) Filter: Optional filter to trade only when volume is significant, helping reduce low-probability signals.
Extended Zones: Option to extend zones forward until a breakout occurs.
Customizable Inputs: EMA length, ATR length, multipliers, RVOL period & multiplier, and toggle RVOL filter.
How to Use:
Identify bull/bear/consolidation zones on your chart. (These are already there) You can change the line as well zone color according to your needs.
Look for buy signals above EMA and consolidation zone, or sell signals below EMA and consolidation zone. The buy and sell labels are already there.
Confirm with RVOL filter (optional) to ensure higher volume support.
Use the plotted SL and TP levels for trade management.
This tool is designed for trend-following and market structure traders who want a visual guide to high-probability trading zones combined with volume confirmation.
One can also trail with EMA in trending market.
Beast Mode Adaptive Oscillator V6⭐ Beast Mode Adaptive Oscillator V6
Description (Copy/Paste for Publishing)
Beast Mode Adaptive Oscillator V6 is a high-precision, regime-aware momentum engine that adapts dynamically to market conditions.
It blends ADX-based market regime filtering, StochRSI adaptive oscillation, and ATR-driven signal validation to deliver a powerful, low-noise, context-smart oscillator.
Instead of giving the same overbought/oversold signals in every environment, this oscillator changes its behavior depending on market regime:
Market Regime Filter (MRF)
Automatically detects:
✔ Strong Bull Trend
✔ Strong Bear Trend
✔ Ranging Bull
✔ Ranging Bear
✔ Noise / Low-Volatility Environment
ADX + DI structure determines how aggressive or conservative the oscillator becomes.
Adaptive Regime Oscillator (ARO)
A smart StochRSI core whose OB/OS levels shift depending on trend regime:
• In strong trends → wider OB/OS bands (10–90)
• In ranges → tighter, mean-reverting bands (20–80)
• Higher accuracy and fewer false reversals
Price/Volatility Control (PVC)
Built-in ATR risk modules:
• ATR-based stop zones
• ATR-based target zones
• Internal validation to confirm signal strength
Optional Visual Aids
• Entry signal markers
• Regime bar at the bottom of the chart
• ADX line display
• Custom colors for trend strength
What This Indicator Is Best At
• Avoiding bad signals during chop
• Catching trend continuation entries
• Identifying exhaustion points in strong moves
• Adapting OB/OS logic to match volatility
• Confirming strength with ADX + DI structure
Perfect For
• Intraday traders
• Swing traders
• Trend traders
• Mean-reversion setups
• Volatility-based strategies
This is a complete adaptive oscillator system designed to stay accurate across every market condition.
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.
ZY Target TerminatorThe indicator generates trading signals. The profitability displayed on the signal at the time it is generated is the maximum profitability of the trade opened with the preceding signal. Therefore, avoid trading pairs and trends where this ratio is insufficient.
LazyTradeLazyTrade is a clean, high-confidence trend-following indicator built on TradingView’s non-repainting SuperTrend V6 engine. It adds intelligent RSI confirmation, profit-tracking labels, trend-flip markers, and optional background shading to highlight momentum shifts. Designed for intraday and swing traders who want fast, reliable signals without chart clutter.
Features:
• Non-repainting Buy/Sell signals
• Smart RSI confirmation (Aggressive / Standard / Conservative)
• Auto P&L between opposite signals
• Trend-flip circles and transparent background zones
• Clean visual structure optimized for daily and leveraged ETF trading
A simple, intuitive tool that keeps you aligned with the dominant trend—no noise, no over-complication.
DANCE WITH WOLVES VN ALL TO 1DANCE WITH WOLVES VN is a smart-money volume indicator designed for stocks and crypto.
Main features:
• logic to detect Distribution, No Demand, Absorption and Exhaustion.
• Automatically builds smart Support/Resistance zones from high-volume price leaders.
• Regression trend channel to see the short-term trend and trading range.
• Dashboard table that shows the top high/low price bars with buy/sell volume and group labels.
• Alert conditions for Breakout above resistance and At Support Area so you don’t need to watch the chart all the time.
You can use it on any symbol and timeframe. Just add the script to your chart and follow the zones (red = resistance, green = support) together with the P/L labels and the status line.
Vietnamese note: Indicator dùng volume + để vẽ vùng hỗ trợ/kháng cự thông minh, label phân phối / hấp thụ / cạn lực bán và kênh xu hướng. Dùng được cho cả stock và crypto. tot nhat dung khung 5 den 15 phut
Best Entry Swing MASTER v3 PUBLIC (S.S)Strategy Description (English)
Best Entry Swing MASTER v3 – Quality Mode
The Best Entry Swing MASTER v3 is a structured swing trading and trend-following strategy designed to identify high-probability long and short entries during directional markets.
It combines three core setup types commonly used by momentum and breakout traders:
Breakout (BO)
Pullback Reversal (PB)
Volatility Contraction Pattern (VCP)
The strategy applies multiple layers of confirmation, including multi-EMA trend structure, volatility contraction, volume filters, and an optional market regime filter.
It is suitable for swing trading on higher timeframes (4H, Daily), as well as medium-term trend continuation setups.
Core Concepts
1. Trend Structure
A trend is considered valid when:
Uptrend: Price > EMA20 > EMA50 > EMA100
Downtrend: Price < EMA20 < EMA50 < EMA100
In addition, a simple but effective trend-strength metric is calculated using the percentage spread between EMA20 and EMA100.
This helps avoid signals during sideways or low-volatility environments.
2. Market Regime Filter
The market environment is determined using a higher timeframe benchmark (default: SPY on Daily).
Only long trades are allowed in bullish market conditions
Only short trades in bearish conditions
This significantly reduces false signals in counter-trend conditions.
Entry Logic
Breakout (BO)
A long breakout triggers when:
Price closes above the highest high of the lookback period
Volume exceeds its 20-period average
Trend and market regime confirm
(Optional A+ mode): true volatility contraction is required
Similar logic applies for short breakdowns.
Pullback (PB)
A pullback entry triggers after:
At least two corrective candles
A strong reversal candle (close above previous high for long)
Volume confirmation
Price interacts with EMA20
This structure models classical trend-reentry conditions.
Volatility Contraction Pattern (VCP)
A VCP entry triggers when:
True range contracts over multiple bars
Price holds near the breakout zone
Volume contracts
Trend and market regime are aligned
This setup aims to capture explosive continuation moves.
Quality Modes
The strategy offers two modes:
Balanced Mode
Moderate signal frequency
Broader trend-strength allowance
Suitable for more active traders
A+ Only Mode
Strict confirmation requirements
Only high-quality setups with multiple confluences
Designed to avoid low-probability trades entirely
Risk Management
Risk is managed using an ATR-based stop and target:
Long SL = Close − ATR × 1.5
Long TP = Close + ATR × 3
(Equivalent logic for short positions)
This provides a balanced reward-to-risk profile and avoids overly tight stops.
Early Entry Signals (Optional)
The script offers optional “Early Entry” markers that highlight when a setup is forming but not yet confirmed.
These are not entry signals and are disabled by default for public use.
Intended Use
This strategy is designed for:
Swing trading
Momentum continuation
Trend-following
Multi-day to multi-week trades
It performs best on:
4H
Daily
High-liquidity equities, indices, and futures
Disclaimer
This script is intended for educational and research purposes.
Past performance does not guarantee future results.
Always backtest thoroughly and use appropriate risk management.
Simple Price ChannelSimple Price Channel
This indicator plots a basic volatility-based channel around a moving average.
Features:
Midline using Simple Moving Average (SMA)
Upper & lower bands using ATR or true range
Channel fill for easy trend visualisation
This script is designed for educational and analytical purposes only.
It does not provide signals, alerts, or financial advice.
Santhosh Zero lag Trend change AlertThis indicator alert whenever these is a change in trend direction. Change input to match with your Asset/Index. This works well in all time frame, I recommend this for Scalping and Position trading
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.
Bollinger Bands with ATR SL Hariss 369Bollinger Bands are a popular technical analysis tool developed by John Bollinger. They consist of three lines plotted on a price chart:
Middle Band – a simple moving average (usually 20 periods).
Upper Band – the middle band plus two standard deviations.
Lower Band – the middle band minus two standard deviations.
Key Features:
Volatility Indicator: The bands expand when volatility increases and contract when volatility decreases.
Trend Analysis: Prices near the upper band indicate overbought conditions, while prices near the lower band indicate oversold conditions.
Trading Signals: Traders often look for price touches, breaks, or rebounds from the bands to identify potential entries or exits.
To strengthen the trend quality RVOL has been considered. The ideal value of RVOL is 1.5
Higher Time Frame Trend filter gives trend clarity in higher time frame. One can select RVOL and HTF (Higher Time Frame) filter.
Bollinger bands indicator is basically a trend following indicator. We should go with the trend rather book profit @1:1 or 1:2 basis. In that case we might miss the long trend. The middle band is generally considered as stop loss. However, ATR based stop loss has been designed in the script in order to capture the volatility in decent way.
Break out signal is initiated on break out with volume taking higher time frame into consideration.
One can use this indicator in any time frame and any class of asset. To filter higher time frame eg. entry / exit 5 min chart, 15m/1h can be taken as higher time frame, for 1h entry/ exit, 4h can be taken as higher time frame trend filter.
Advanced S&D Engine | ZikZak-Trader30About This Script
This is a fully custom-built Supply & Demand Zone detection engine for TradingView written by ZikZak-Trader30 (Kotdwar, UK). The script identifies potential key supply and demand zones based on market structure and pattern logic widely used by professional traders.
Detected Patterns:
RBR (Rally-Base-Rally, demand)
DBD (Drop-Base-Drop, supply)
RBD (Rally-Base-Drop, supply)
DBR (Drop-Base-Rally, demand)
Features Highlight
Detailed configurable zone filtering (freshness, gap detection, time spent, width, Fibonacci confluence, etc.)
Fair and adjustable scoring system for zone strength
Automatic management/removal of old or retested/violated zones
Optional Fibonacci level confluence and dynamic labeling
Transparency Statement
How It Works:
This script uses well-known price action concepts and compares candles’ movement, consolidation, and breakout patterns to mark S&D zones.
There are no repaints or future leaks: all logic is based entirely on historical and current bars.
Parameters and variables are fully described in the script inputs. The zone scoring and removal logic is also visible in the code for transparency.
IMPORTANT: Usage & Fair-Use Policy
This script is provided for educational and informational purposes only.
It should not be considered as financial advice or a trading signal.
Trading/investing involves risk—always do your own research or consult a financial advisor before making trading decisions.
Past performance or backtest results are not necessarily indicative of future results.
License & Fair Use
The code is original, written by ZikZak-Trader30.
All logic and comments are visible for users to study, adapt, or improve for personal, non-commercial use within TradingView.
You may NOT resell, repackage, or repost this script as your own.
If you fork or publicly remix/adapt the script, please credit "ZikZak-Trader30" and do not remove this disclosure section.
If you use ideas or snippets, kindly reference this script and author.
Absolutely NO plagiarized or resold code is permitted. This script is not for re-sale.
Acknowledgements
This indicator was inspired by years of price action study and usage of public S&D scripts. While the pattern logic is classic in nature, the version and scoring are original.
No proprietary datasets or paid logic from other sources are included.
Minor ideas on zone freshness and Fibonacci blending are common in the TradingView S&D community and have been custom-implemented here.
THF Scalp & Trend + FVG [English]This indicator is a comprehensive "All-In-One" trading suite designed for Scalpers and Day Traders who look for confluence between Trend Following indicators and Price Action (Fair Value Gaps).
It combines two powerful concepts into a single chart overlay:
1. Moving Average Crossovers & Trend Filtering (THF Logic).
2. Fair Value Gaps (FVG) detection for entry/exit targets.
### 🛠️ Key Features:
**1. Trend & Scalp Signals:**
- **Scalp Signals:** Based on fast EMA crossovers (default 7/21). These signals can be filtered by a long-term SMA (200) to ensure you are trading with the major trend.
- **Trend Signals:** Identifies stronger trend shifts using EMA 21 crossing SMA 50.
- **Major Crosses:** Automatically highlights Golden Cross (SMA 50 > 200) and Death Cross events.
**2. Price Action (FVG - Fair Value Gaps):**
- Integrated **LuxAlgo's Fair Value Gap** logic to identify imbalances in the market.
- Displays Bullish/Bearish zones which act as magnets for price or support/resistance levels.
- Includes a Dashboard to track mitigated vs. unmitigated zones.
**3. Momentum & Volume Confluence:**
- **Visual Volume:** Candles are colored based on volume relative to the average (Volume SMA).
- **RSI & MACD Signals:** Optional overlays to spot overbought/oversold conditions or momentum shifts directly on the chart.
### 🎯 How to Use:
- **For Scalping:** Wait for a "SCALP BUY" signal while the price is above the SMA 200 (Trend Filter). Use the FVG boxes as potential Take Profit targets.
- **For Trend Trading:** Look for the "Trend BUY" label and confirm with the Golden Cross.
- **Stop Loss:** Can be placed below the recent swing low or below the EMA 50.
----------------------------------------------------------------
**CREDITS & ATTRIBUTION:**
This script is a mashup of custom trend logic and open-source community codes.
- **Fair Value Gap:** Full credit goes to **LuxAlgo** for the FVG detection algorithm and dashboard logic. This script utilizes their open-source calculation methods to enhance the trend strategy.
- **Trend Logic:** Based on classic Moving Average crossover strategies tailored for scalping.
*Disclaimer: This tool is for educational purposes only. Always manage your risk.*
SHAMAZZ = Smoothed Heikin Ashi + MA + ZigZagSHAMAZZ: Smoothed Heikin Ashi + Moving Averages + ZigZag Structure
This script is a visual analysis tool that combines three components in one place:
Smoothed Heikin Ashi candles
• Candles are generated using a two-stage exponential smoothing process applied to open, high, low, and close
• Helps visualize general price direction and candle transitions
• Supports optional multi-timeframe views using TradingView’s request.security()
Moving Averages
• Includes two standard moving averages (SMA 50 and SMA 200 by default)
• These are plotted on the same timeframe as the main chart or a selected higher timeframe
• No trading signals or strategies are generated from the averages
ZigZag Pivot Mapping
• Identifies swing highs and lows based on user-selected pivot length
• Classifies pivots into simple categories such as higher high, lower high, higher low, or lower low
• Draws connecting lines between detected pivots
• Can optionally display small labels showing the pivot type
• The ZigZag is not predictive and only reflects swings already formed by the chosen pivot settings
Purpose
The script is meant as a charting helper for traders who want to visualize smoothed candles, major moving averages, and swing structure without switching indicators. It does not generate signals, alerts, or trading advice. It does not imply future outcomes, accuracy, or profitability.
Note on Higher Timeframes
When higher-timeframe values are requested, the script only displays confirmed higher-timeframe candle closes. No lookahead behavior is intended. Users who want the safest and strictest mode should keep all additional timeframe options disabled and use the indicator on one timeframe only.
How to Use
• Turn components on or off depending on your workflow
• Adjust pivot length to make the ZigZag more or less sensitive
• Use smoothed candles and moving averages as visual references
• Use ZigZag swings only for structure mapping, not for trade signals or forecasts
This tool is provided for visual analysis only and does not promise performance or predictive value.
Elite Bond Market AIDescription:
The Elite Bond Market AI indicator provides a comprehensive analytical framework specifically designed for bond market price action. The indicator combines multiple technical components including multi-timeframe RSI analysis, moving average relationships, volume dynamics, and volatility measurements to identify significant price behavior within the unique characteristics of bond market trading.
The indicator incorporates:
Multi-timeframe RSI evaluation across primary, 4-hour, and daily timeframes
Fast, slow, and trend exponential moving averages for directional context
Volume rate analysis relative to recent average volume
Bollinger Band width measurement for volatility contraction assessment
True Range volatility normalized as a percentage of price
This combination provides a layered analytical approach that captures the interplay between momentum, trend structure, participation levels, and volatility compression—key factors in bond market price discovery and directional moves.
Wyckoff — True Composite Man (v6)⭐ Wyckoff — True Composite Man (v6)
Description (Copy/Paste for Publishing)
Wyckoff — True Composite Man (v6) is a full market-structure engine designed to detect authentic Wyckoff accumulation and distribution events directly on the chart.
It combines volume analysis, range expansion, structural pivots, and contextual pattern logic to identify the actions of the “Composite Man” with high accuracy.
This script tracks volatility spikes, range climaxes, structural breaks, and major Wyckoff events — without repainting — and visually marks each phase or event in real-time.
Detected Wyckoff Events
✔ SC — Selling Climax
✔ AR — Automatic Rally
✔ PS — Preliminary Support
✔ SPRING — Shakeout / Bear Trap
✔ UT — Upthrust (Distribution Trap)
✔ SOS — Sign of Strength
✔ LPS — Last Point of Support / Supply
Each event includes spacing logic to avoid duplicates and ensure only meaningful signals are shown.
How It Works
• Volume spikes identified using a moving average multiplier
• Range climaxes measured against dynamic range MA
• Structural context using 50-bar highs/lows
• Background phases (optional) based on Wyckoff logic
• Auto-labeling with smart bar spacing
• Optional triangle markers for climaxes
Use Cases
• Identifying accumulation/distribution zones
• Detecting Springs, UTADs, and climaxes
• Recognizing early trend reversals
• Confirming Wyckoff events during live price action
• Helping traders spot manipulative “Composite Man” footprints
Best For
• Intraday traders
• Swing traders
• Anyone using Wyckoff methodology
• Traders who want clean, objective event detection
This is a complete Wyckoff toolset built for real-time structural clarity.
EMA Percent Angle & Slope VisualizerEMA Percent Angle & Slope Visualizer is a powerful trend-strength tool that measures the true geometric slope of an EMA using percent-normalized angle calculations.
Unlike raw angle or ATR-based angle methods, this indicator uses the formula:
angle = atan( (EMA_t - EMA_(t-1)) / EMA_(t-1) ) * (180 / pi)
This gives you a universal slope measurement that works across stocks, indices, currencies, and crypto — regardless of price scale.
🔍 Features
Percent-normalized EMA angle for accurate trend strength
Auto-detected slope segments
Dynamic EMA color
🟢 Bullish slope
🔴 Bearish slope
⚪ Neutral (angle below threshold)
Dashed slope lines drawn only during valid slope runs
Angle label displayed at slope end
Works on any timeframe
Designed for momentum traders, trend followers, breakout traders, and algo developers
📌 Why Percent-Normalized Angle?
Raw price angle is meaningless because angles depend on chart scaling.
Percent-normalized angle gives a true slope, equal across all instruments.
✔ Tip
Slopes above +0.15° and below –0.15° represent strong trend phases for Nifty.
Adjust threshold for your timeframe according to your script
Psychological levels [Kodologic] Psychological levels
Markets are not random, they are driven by human psychology and algorithmic order flow. A well-known phenomenon in trading is the "Whole Number Bias" — the tendency for price to react significantly at clean, round numbers (e.g., Bitcoin at $95,000 or EURUSD at 1.0500).
Manually drawing horizontal lines at every round number is tedious, clutters your object tree, and distracts you from analyzing price action.
Psychological levels Numbers is a workflow utility designed to solve this problem. It automatically projects a clean, customizable grid of key price levels onto your chart, helping you instantly identify areas where liquidity and orders are likely to cluster.
Why This Indicator Helps Traders :
Professional traders know that "00" and "50" levels act as magnets for price. Here is how this tool assists in your analysis:
1. Institutional Footprints : Large institutions and bank algorithms often execute orders at whole numbers to simplify accounting. This script highlights these potential liquidity zones automatically.
2. Support & Resistance Discovery: You will often notice price wicking or reversing exactly on these grid lines. This helps in spotting natural support and resistance without needing complex technical analysis.
3. Cognitive Load Reduction: Instead of calculating where the next "major level" is, the grid is visually present, allowing you to focus on candlestick patterns and market structure.
Features :
Dynamic Calculation : The grid updates automatically as price moves, you never have to redraw lines.
Zero Clutter : The lines are drawn using code, meaning they do not appear in your manual drawing tools list or clutter your object tree.
Fully Customizable Step : You define what constitutes a "Round Number" for your specific asset class (Forex, Crypto, Indices, or Stocks).
Visual Control : Adjust line styles (Solid, Dotted, Dashed), colors, and transparency to keep your chart aesthetic and readable.
How to Use in Your Strategy :
1. Target Setting (Take Profit)
If you are in a long position, use the next upper grid line as a logical Take Profit area. Price often gravitates toward these whole numbers before reversing or consolidating.
2. Stop Loss Placement
Avoid placing Stop Losses exactly on a round number, as these are often "stop hunted." Instead, use the grid to visualize the level and place your stop slightly *below* or *above* the round number for better protection.
3. Confluence Trading
Do not use these lines in isolation. Look for Confluence :
Example: If a Fibonacci 61.8% level lines up exactly with a Round Number grid line, that level becomes a high-probability reversal zone.
Settings Guide (Important)
Since every asset is priced differently, you must adjust the "levels Step Size" to match your instrument:
Forex (e.g., EURUSD, GBPUSD): Set Step Size to `0.0050` (50 pips) or `0.0100` (100 pips).
Crypto (e.g., BTCUSD): Set Step Size to `500` or `1000`.
Indices (e.g., US30, SPX500): Set Step Size to `100` or `500`.
Gold (XAUUSD):** Set Step Size to `10`.
Disclaimer: This tool is for educational and visual aid purposes only. It does not provide buy or sell signals. Always manage your risk.
SPY Key LevelsUse Case
Do you belong to a group of traders that post key levels based on their technical analysis to be utilized for trading opportunities? The goal of this indicator is to reduce your daily prep time by allowing you to paste in the actual level values instead of trying to manually create each of the horizontal lines.
How it works
Simply enter the values of the key levels that you would like to plot horizontal lines for
Settings
You can enable/disable any of the levels
You can change the colors of the levels
You can add Previous Day High and Previous Day Low levels to the chart
Limitations
Currently the levels (besides PDH/PDL) are hardcoded to only display for the SPY security "AMEX:SPY"
// Terms \\
Feel free to use the script, If you do use the script could you please just tag me as I am interested to see how people are using it. Good Luck!
Tomo's Pivots // last W, last M, last Q, last30d, last90d.These are pivots that you can use to look back at various time periods to find magnetic Price points of support and resistance. There are: weekly, last 30 days, last month, last 90 days, and last quarter. You can change the color and style of every indicator and its label. So if it happens to be November 29 today, you will see the last 90 days representing 90 days before November 29. But you will also see last quarter which represents from July 1 to September 30. These values are fair value equilibrium price point by averaging the high low and close of that time period. Weekly is great for intraday trading and the last 30 is great for momentum. Consider using the monthly for swing trading. Stay in the green.
Super-AO with Risk Management Strategy Template - 11-29-25Super-AO Strategy with Advanced Risk Management Template
Signal Lynx | Free Scripts supporting Automation for the Night-Shift Nation 🌙
1. Overview
Welcome to the Super-AO Strategy. This is more than just a buy/sell indicator; it is a complete, open-source Risk Management (RM) Template designed for the Pine Script community.
At its core, this script implements a robust swing-trading strategy combining the SuperTrend (for macro direction) and the Awesome Oscillator (for momentum). However, the real power lies under the hood: a custom-built Risk Management Engine that handles trade states, prevents repainting, and manages complex exit conditions like Staged Take Profits and Advanced Adaptive Trailing Stops (AATS).
We are releasing this code to help traders transition from simple indicators to professional-grade strategy structures.
2. Quick Action Guide (TL;DR)
Best Timeframe: 4 Hours (H4) and above. Designed for Swing Trading.
Best Assets: "Well-behaved" assets with clear liquidity (Major Forex pairs, BTC, ETH, Indices).
Strategy Type: Trend Following + Momentum Confirmation.
Key Feature: The Risk Management Engine is modular. You can strip out the "Super-AO" logic and insert your own strategy logic into the template easily.
Repainting: Strictly Non-Repainting. The engine calculates logic based on confirmed candle closes.
3. Detailed Report: How It Works
A. The Strategy Logic: Super-AO
The entry logic is based on the convergence of two classic indicators:
SuperTrend: Determines the overall trend bias (Green/Red).
Awesome Oscillator (AO): Measures market momentum.
The Signal:
LONG (+2): SuperTrend is Green AND AO is above the Zero Line AND AO is Rising.
SHORT (-2): SuperTrend is Red AND AO is below the Zero Line AND AO is Falling.
By requiring momentum to agree with the trend, this system filters out many false signals found in ranging markets.
B. The Risk Management (RM) Engine
This script features a proprietary State Machine designed by Signal Lynx. Unlike standard strategies that simply fire orders, this engine separates the Signal from the Execution.
Logic Injection: The engine listens for a specific integer signal: +2 (Buy) or -2 (Sell). This makes the code a Template. You can delete the Super-AO section, write your own logic, and simply pass a +2 or -2 to the RM_EngineInput variable. The engine handles the rest.
Trade States: The engine tracks the state of the trade (Entry, In-Trade, Exiting) to prevent signal spamming.
Aggressive vs. Conservative:
Conservative Mode: Waits for a full trend reversal before taking a new trade.
Aggressive Mode: Allows for re-entries if the trend is strong and valid conditions present themselves again (Pyramiding Type 1).
C. Advanced Exit Protocols
The strategy does not rely on a single exit point. It employs a "Layered Defense" approach:
Hard Stop Loss: A fixed percentage safety net.
Staged Take Profits (Scaling Out): The script allows you to set 3 distinct Take Profit levels. For example, you can close 10% of your position at TP1, 10% at TP2, and let the remaining 80% ride the trend.
Trailing Stop: A standard percentage-based trailer.
Advanced Adaptive Trailing Stop (AATS): This is a highly sophisticated volatility stop. It calculates market structure using Hirashima Sugita (HSRS) levels and Bollinger Bands to determine the "floor" and "ceiling" of price action.
If volatility is high: The stop loosens to prevent wicking out.
If volatility is low: The stop tightens to protect profit.
D. Repainting Protection
Many Pine Script strategies look great in backtesting but fail in live trading because they rely on "real-time" price data that disappears when the candle closes.
This Risk Management engine explicitly pulls data from the previous candle close (close , high , low ) for its calculations. This ensures that the backtest results you see match the reality of live execution.
4. For Developers & Modders
We encourage you to tear this code apart!
Look for the section titled // Super-AO Strategy Logic.
Replace that block with your own RSI, MACD, or Price Action logic.
Ensure your logic outputs a 2 for Buy and -2 for Sell.
Connect it to RM_EngineInput.
You now have a fully functioning Risk Management system for your custom strategy.
5. About Signal Lynx
Automation for the Night-Shift Nation 🌙
This code has been in action since 2022 and is a known performer in PineScript v5. We provide this open source to help the community build better, safer automated systems.
If you are looking to automate your strategies, please take a look at Signal Lynx in your search.
License: Mozilla Public License 2.0 (Open Source). If you make beneficial modifications, please release them back to the community!
Mean-Reversion with CooldownThis strategy requires no indicators or fundamental analysis. It is designed for longer-term positions and works especially well on unleveraged instruments with strong long-term upward trends, such as precious metals. Feel free to experiment with different timeframes — I’ve found that 1-hour charts work particularly well for cryptocurrencies.
The idea is to filter out ongoing bear phases as effectively as possible and capitalize on long-term bull runs.
The script implements an idea that came to me in a state of complete sleep deprivation: open a random long position with a fixed take-profit (TP) and a tight stop-loss (SL).
If the TP is hit — great, we simply try again.
If the SL is triggered — too bad, we pause for a while and then try again.
## Cooldown (Waiting) Mechanism
The waiting mechanism is simple: the more consecutive SL hits we get, the longer we wait before opening the next trade. The waiting time is measured in closed candles, and thus depends on the timeframe you are using.
## Two cooldown calculation modes are currently supported:
### 1. FIBONACCI
The cooldown follows the Fibonacci sequence, based on the number of consecutive losses:
1st loss → wait 1 bar
2nd loss → wait 1 bar
3rd loss → wait 2 or 3 bars (depending on definition)
4th loss → wait 3 or 5 bars
etc.
### 2. POWER OF TWO
The cooldown increases exponentially:
1st loss → wait 2 bars
2nd loss → wait 4 bars
3rd loss → wait 8 bars
4th loss → wait 16 bars
and so on, using the formula 2ⁿ.
## Configurable Parameters
### Cooldown Pause Calculation
The settings allow you to define the SL and TP as percentages of the position value.
The "Cooldown Pause Calculation" option determines how the next cooldown duration is computed after a losing trade.
The system keeps track of how many consecutive losses have occurred since the last profitable trade. That counter is then used to compute how many bars we must wait before opening the next position.
### Maximum Cooldown
The "Max Cooldown Candles" setting defines the maximum number of bars we are allowed to wait before placing a new trade. This prevents the strategy from “locking itself out” for too long and mitigates the fear of missing out (FOMO).
Once the cooldown duration reaches this maximum, the system essentially wraps around and starts the progression again. In the script, this is handled using a simple modulo operation based on the chosen maximum.






















