Climax Absorption Engine [AlgoPoint]Overview
Have you ever noticed that during a sharp, fast-moving trend, the single candle with the highest volume often appears right at the end, just before the price reverses? This is no coincidence. It's the footprint of a Climax Event.
This indicator is designed to detect these critical moments of maximum panic (capitulation) and maximum euphoria (FOMO). These are the moments when retail traders are driven by emotion, creating a massive pool of liquidity. The "Climax Absorption Engine" identifies when Smart Money is likely absorbing this liquidity to enter large positions against the crowd, right before a potential reversal.
It's a tool built not just on mathematical formulas, but on the principles of market psychology and smart money activity.
How It Works: The 3-Step Logic
The indicator uses a sequential, three-step process to identify high-probability reversal setups:
1. Momentum Move Detection: First, the engine identifies a period of strong, directional momentum. It looks for a series of consecutive, same-colored candles and confirms that the move is backed by a steeply sloped moving average. This ensures we are only looking for climactic events at the end of a significant, non-random move.
2. Climax Candle Identification: Within this momentum move, the indicator scans for a candle with abnormally high volume—a volume spike that is significantly larger than the recent average. This candle is marked on your chart with a diamond shape and is identified as the Climax Candle. This is the point of peak emotion and the primary area of interest. No signal is generated yet.
3. Absorption & Reversal Confirmation: A climax is a warning, not a signal. The final signal is only triggered after the market confirms the reversal.
- For a BUY Signal: After a bearish (red) Climax Candle, the indicator waits for a subsequent green candle to close decisively above the midpoint of the Climax Candle. This confirms that the panic selling has been absorbed by buyers.
- For a SELL Signal: After a bullish (green) Climax Candle, it waits for a subsequent red candle to close decisively below the midpoint. This confirms that the euphoric buying has evaporated.
How to Interpret & Use This Indicator
- The Diamond Shape: A diamond shape on your chart is an early warning. It signifies that a climax event has occurred and the underlying trend is exhausted. This is the time to pay close attention and prepare for a potential reversal.
- The BUY/SELL Labels: These are the final, actionable signals. They appear only after the reversal has been confirmed by price action.
- A BUY signal suggests that capitulation selling is over, and buyers have absorbed the pressure.
- A SELL signal suggests that FOMO buying is over, and sellers are now in control.
Key Settings
- Momentum Detection: Adjust the number of consecutive bars and the EMA slope required to define a valid momentum move.
- Climax Detection: Fine-tune the sensitivity of the volume spike detection using the Volume Multiplier. Higher values will find only the most extreme events.
- Confirmation Window: Define how many bars the indicator should wait for a reversal candle after a climax event before the setup is cancelled.
Candlestick analysis
Intelligent Currency Breakout ChannelIndicator: Intelligent Currency Breakout Channel
This document provides a detailed explanation of the "Intelligent Currency Breakout Channel" indicator for TradingView.
1. Overview
The Intelligent Currency Breakout Channel is an advanced technical analysis tool designed to identify periods of price consolidation and signal potential breakouts. It automatically draws channels around ranging price action and utilizes sophisticated volume analysis to provide deeper insights into market sentiment. The indicator also includes a built-in logarithmic regression screener to help traders align their breakout signals with the broader market trend.
2. Key Features
Automatic Channel Detection: The indicator identifies periods of low volatility and automatically draws a containing channel (box) around the price action.
Breakout Signals: It generates clear visual alerts (▲ for bullish, ▼ for bearish) when the price closes decisively outside of a channel.
In-Depth Volume Analysis: Within each channel, the indicator plots volume as candlestick-like bars, offering three distinct modes: Total Volume, Buy/Sell Comparison, and Volume Delta. This helps traders gauge the strength and conviction behind price movements.
Real-time Sentiment Gauge: When a channel is active, a dynamic color-graded gauge appears on the right side of the chart. It visualizes the current volume delta momentum relative to its recent range, offering an at-a-glance sentiment reading.
Integrated Trend Screener: A secondary analysis tool based on logarithmic regression is included to determine the underlying trend direction (Up, Down, or Neutral), which can be used to filter breakout signals.
Fully Customizable: Users can extensively customize all parameters, from calculation lengths and breakout sensitivity to the visual appearance of every component.
3. How to Use
Channel Formation: Watch for the indicator to draw a new channel. This signifies that the market is in a consolidation or ranging phase. The formation of a channel itself can be an alertable event.
Volume Interpretation: Observe the volume bars inside the channel. An increase in volume as the price approaches the channel's upper or lower boundary can foreshadow a potential breakout. Use the Volume Display Mode to analyze if buying pressure (Comparison, Delta) or selling pressure is building.
Breakout Confirmation: A bullish breakout signal (▲) appears when the price closes above the channel's upper boundary. A bearish breakout signal (▼) appears when the price closes below the lower boundary. For higher-quality signals, enable the Strong Closes Only option.
Trend Confirmation (Screener): Use the screener's plot and background color to confirm the broader trend. For instance, you might choose to only take bullish breakout signals when the screener indicates an uptrend (green background) and bearish signals when it indicates a downtrend (red background).
Sentiment Gauge: The pointer on the gauge indicates current momentum. A pointer in the upper (green) section suggests bullish pressure, while a pointer in the lower (red) section suggests bearish pressure. This can provide additional confluence for a trade decision.
4. Settings and Inputs
Main Settings
Overlap Channels: If enabled, allows multiple channels to be drawn on the chart simultaneously, even if they overlap. When disabled, a new channel will only form if it doesn't intersect with an existing one.
Strong Closes Only: If enabled, a breakout is only triggered if the midpoint of the candle's body (average of open and close) is outside the channel. This helps filter out false signals caused by long wicks. If disabled, any close outside the channel triggers a breakout.
Normalization Length: The lookback period (in bars) used for price normalization. A higher value creates a more stable normalization but may be slower to react to recent price changes.
Box Detection Length: The lookback period used to detect the channel formation pattern. A lower value will result in more frequent channels but may be more sensitive to noise. A higher value will result in fewer, but potentially more significant, channels.
Volume Analysis
Show Volume Analysis: Toggles the visibility of the candlestick-like volume bars inside the channel.
Volume Display Mode:
Volume: Displays total volume as symmetrical bars around the channel's midline.
Comparison: Shows buying volume (green) above the midline and selling volume (red) below it.
Delta: Shows the net difference between buying and selling volume. Positive delta is shown above the midline, and negative delta is shown below.
Volume Delta Timeframe Source: The timeframe from which to source volume data for calculations. Using a lower timeframe can provide a more granular view of volume dynamics.
Volume Scaling: A multiplier that adjusts the vertical size of the volume bars relative to the channel's height.
Appearance
Volume Text Size: Sets the size of the volume data text displayed in the corners of the channel. Options: Tiny, Small, Medium, Large.
Bullish Color: The primary color for all bullish visual elements, including breakout signals and positive volume bars.
Bearish Color: The primary color for all bearish visual elements, including breakout signals and negative volume bars.
Screener Settings
Lookback Period: The number of bars used for the logarithmic regression calculation to determine the trend.
Screener Type:
Log Regression Channel: The signal is based on the slope of the entire regression channel over the lookback period. An upward sloping channel is bullish (1), and a downward sloping one is bearish (-1).
Logarithmic Regression: The signal is based on the most recent value of the regression line compared to its value 3 bars ago. This provides a more responsive measure of the immediate trend.
5. Alerts
You can set up the following alerts through the TradingView alerts panel:
New Channel Formed: Triggers when a new price consolidation channel is detected and drawn on the chart.
Bullish Breakout: Triggers when the price breaks out and closes above the upper boundary of a channel.
Bearish Breakout: Triggers when the price breaks out and closes below the lower boundary of a channel.
Is In Channel: Triggers on every bar that the price is currently trading inside an active channel.
Signal UP: Triggers when the Screener's signal turns bullish (1).
Signal DOWN: Triggers when the Screener's signal turns bearish (-1).
Thần Tiên / Hạ Phàm (MTF)🔔 Thần Tiên / Hạ Phàm (MTF) Indicator – modified & optimized for real trading practice.
✅ For educational and reference purposes only – not financial advice.
📩 To get the optimized settings & detailed trading strategy, contact me on Telegram: @NDucnhan79
Big Candle Trend█ OVERVIEW
The "Big Candle Trend" indicator is a technical analysis tool written in Pine Script® v6 that identifies large signal candles on the chart and determines the trend direction based on the analysis of all candles within a specified period. Designed for traders seeking a simple yet effective tool to identify key market movements and trends, the indicator provides clarity and precision through flexible settings, trend line visualization, and retracement lines on signal candles.
█ CONCEPTS
The goal of the "Big Candle Trend" indicator was to create a tool based solely on the size of candle bodies and their relative positions, making it universal and effective across all markets (stocks, forex, cryptocurrencies) and timeframes. Unlike traditional indicators that often rely on complex formulas or external data (e.g., volume), this indicator uses simple yet powerful price action logic. Large signal candles are identified by comparing their body size to the average body size over a selected period, and the trend is determined by analyzing price changes over a longer period relative to the average candle body size. Additionally, the indicator draws horizontal lines on signal candles, aiding in setting Stop Loss levels or delayed entries.
█ FEATURES
Large Signal Candle Detection: Identifies candles with a body larger than the average body multiplied by a user-defined multiplier, aligned with the trend (if the trend filter is enabled). Signals are displayed as triangles (green for bullish, red for bearish).
Trend Analysis: Determines the trend (uptrend, downtrend, or neutral) by comparing the price change over a selected period (trend_length) to the average candle body size multiplied by a trend strength multiplier. The trend starts when:
Uptrend: The price change (difference between the current close and the close from an earlier period) is positive and exceeds the average candle body size multiplied by the trend strength multiplier (avg_body_trend * trend_mult).
Downtrend: The price change is negative and exceeds, in absolute value, the average candle body size multiplied by the trend strength multiplier.
Neutral Trend: The price change is below the required threshold, indicating no clear market direction.The trend ends when the price change no longer meets the conditions for an uptrend or downtrend, transitioning to a neutral state or switching to the opposite trend when the price change reverses and meets the conditions for the new trend. This approach differs from standard methods as it focuses on price dynamics in the context of candle body size, offering a more intuitive and direct way to gauge trend strength.
Smoothed Trend Line: Displays a trend line based on the average price (HL2, i.e., the average of the high and low of a candle), smoothed using a user-defined smoothing parameter. The trend line reflects the market direction but is not tied to breakouts, unlike many other trend indicators, allowing for more flexible interpretation.
Retracement Lines: Draws horizontal lines on signal candles at a user-defined level (e.g., 0.618). The lines are displayed to the right of the candle, with a width of one candle. For bullish candles, the line is measured from the top of the body (close) downward, and for bearish candles, from the bottom of the body (close) upward, aiding in setting Stop Loss or delayed entries.
Trend Option: Option to enable a trend filter that limits large candle signals to those aligned with the current trend, enhancing signal precision.
Customizable Visualization: Allows customization of colors for uptrend, downtrend, and neutral states, trend line style, and shadow fill between the trend line and price.
Alerts: Built-in alerts for large signal candles (bullish and bearish) and trend changes (start of uptrend, downtrend, or neutral trend).
█ HOW TO USE
Add to Chart: Apply the indicator to your TradingView chart via the Pine Editor or Indicators menu.
Configure Settings:
Candle Settings:
Average Period (Candles): Sets the period for calculating the average candle body size.
Large Candle Multiplier: Multiplier determining how large a candle’s body must be to be considered "large".
Trend Settings:
Trend Period: Period for analyzing price changes to determine the trend.
Trend Strength Multiplier: Multiplier setting the minimum price change required to identify a significant trend.
Trend Line Smoothing: Degree of smoothing for the trend line.
Show Trend Line: Enables/disables the display of the trend line.
Apply Trend Filter: Limits large candle signals to those aligned with the current trend.
Trend Colors:
Customize colors for uptrend (green), downtrend (red), and neutral (gray) states, and enable/disable shadow fill.
Retracement Settings:
Retracement Level (0.0-1.0): Sets the level for lines on signal candles (e.g., 0.618).
Line Width: Sets the thickness of retracement lines.
Interpreting Signals:
Bullish Signal: A green triangle below the candle indicates a large bullish candle aligned with an uptrend (if the trend filter is enabled). A horizontal line is drawn to the right of the candle at the retracement level, measured from the top of the body downward.
Bearish Signal: A red triangle above the candle indicates a large bearish candle aligned with a downtrend (if the trend filter is enabled). A horizontal line is drawn to the right of the candle at the retracement level, measured from the bottom of the body upward.
rend Line: Shows the market direction (green for uptrend, red for downtrend, gray for neutral). Unlike many indicators, the trend line’s color is not tied to its breakout, allowing for more flexible interpretation of market dynamics.
Alerts: Set up alerts in TradingView for large signal candles or trend changes to receive real-time notifications.
Combining with Other Tools: Use the indicator alongside other technical analysis tools, such as support/resistance levels, RSI, moving averages, or Fair Value Gaps (FVG), to confirm signals.
█ APPLICATIONS
Price Action Trading: Large signal candles can indicate key market moments, such as breakouts of support/resistance levels or strong price rejections. Use signal candles in conjunction with support/resistance levels or FVG to identify entry opportunities. Retracement lines help set Stop Loss levels (e.g., below the line for bullish candles, above for bearish) or delayed entries after price returns to the retracement level and confirms trend continuation. Note that large candles often generate Fair Value Gaps (FVG), which should be considered when setting Stop Loss levels.
Trend Strategies: Enable the trend filter to limit signals to those aligned with the dominant market direction. For example, in an uptrend, look for large bullish candles as continuation signals. The indicator can also be used for position pyramiding, adding positions as subsequent large candles confirm trend continuation.
Practical Approach:
Large candles with high volume may indicate strong market participation, increasing signal reliability.
The trend line helps visually assess market direction and confirm large candle signals.
Retracement lines on signal candles aid in identifying key levels for Stop Loss or delayed entries.
█ NOTES
The indicator works across all markets and timeframes due to its universal logic based on candle body size and relative positioning.
Adjust settings (e.g., trend period, large candle multiplier, retracement level) to suit your trading style and timeframe.
Test the indicator on various markets (stocks, forex, cryptocurrencies) and timeframes to optimize its performance.
Use in conjunction with other technical analysis tools to enhance signal accuracy.
RedFlagCounter-trend strategy
Condition to open a long position:
Buys if the price drops by a specified percentage from the previous candle’s close. Only one purchase can be made within a single candle.
Condition to close a position:
Places a separate individual closing limit order for each purchase, or uses one common take-profit order for the whole position.
⚠️ Attention : Stop-loss is not implemented in the current first version of the strategy.
Options description:
Drop_percent , % — Percentage drop in price from the From point
From — The reference point on the closed candle from which the Drop_percent is calculated (Open, Close, High, Low)
Tp , % — Take-profit level as a percentage
Count — Number of allowed additional purchases (scaling in)
Each_tp — Mode switch:
True — a separate take-profit is placed for each purchase
False — one common take-profit is placed based on the average entry price of the position
Hull UT Bot Strategy - UT Main + Hull ConfirmThis strategy merges the strengths of the Hull Moving Average (HMA) Suite and the UT Bot Alerts indicator to create a trend-following system with reduced signal noise. The UT Bot acts as the primary signal generator, using an ATR-based trailing stop to identify momentum shifts and potential entry points. These signals are then filtered by the Hull Suite for trend confirmation: long entries require a UT Bot buy signal aligned with a bullish (green) Hull band, while short entries need a UT Bot sell signal with a bearish (red) Hull band. This combination aims to capture high-probability swings while avoiding whipsaws in choppy markets.The Hull Suite provides a responsive, smoothed moving average (configurable as HMA, EHMA, or THMA) that colors its band based on trend direction, offering a visual and logical filter for the faster UT Bot signals. The result is a versatile strategy suitable for swing trading on timeframes like 1H or 4H, with options for higher timeframe Hull overlays for scalping context. It includes backtesting capabilities via Pine Script's strategy functions, plotting confirmed signals, raw UT alerts (for reference), and the trailing stop line.Key benefits:Noise Reduction: Hull confirmation eliminates ~50-70% of false UT Bot signals in ranging markets (based on typical backtests).
Trend Alignment: Ensures entries follow the broader momentum defined by the Hull band.
Customization: Adjustable sensitivity for different assets (e.g., forex, stocks, crypto).
How It WorksUT Bot Core: Calculates an ATR trailing stop (sensitivity via "Key Value"). A buy signal triggers when price crosses above the stop (bullish momentum), and sell when below (bearish).
Hull Filter: The Hull band is green if current Hull > Hull (bullish), red otherwise. Signals only fire on alignment.
Entries: Long on confirmed UT buy + green Hull; Short on confirmed UT sell + red Hull. No explicit exits—relies on opposite signals for reversal.
Visuals: Plots Hull band, UT trailing stop, confirmed labels (Long/Short), and optional raw UT circles. Bar colors reflect UT position, tinted by confirmation.
Alerts: Triggers on confirmed long/short for automated notifications.
This setup performs well in trending markets but may lag in strong reversals—pair with risk management (e.g., 1-2% per trade).Recommended Settings Use these as starting points; optimize via back testing on your asset/timeframe.
-Hull Variation
Hma
Standard Hull for responsiveness; switch to EHMA for smoother crypto, THMA for volatile stocks.
-Hull Length
55
Balances swing detection; use 180-200 for dynamic S/R levels on higher TFs.
-Hull Length Multiplier
1.0
Keep at 1 for native TF; >1 for HTF straight bands (e.g., 2 for 2x smoothing).
-Show Hull from HTF
False
Enable for scalping (e.g., 1m chart with 15m Hull); set HTF to "15" or "240".
-Color Hull by Trend
True
Visual trend cue; disable for neutral orange line.
-Color Candles by Hull
False
Enable for trend visualization; conflicts with UT bar colors if True.
-Show Hull as Band
True
Fills area for clear up/down zones; set transparency to 40-60.
-Hull Line Thickness
1-2
Thinner for clean charts; 2+ for emphasis.
-UT Bot Key Value
1
Default sensitivity (ATR multiple); 0.5 for aggressive signals, 2 for conservative.
-UT Bot ATR Period
10
Standard volatility window; 14 for longer swings, 5 for intraday.
-UT Signals from HA
False
Use True for smoother signals in noisy markets (Heikin Ashi close).
Backtesting Tips: Test on liquid pairs like EURUSD (1H) or BTCUSD (4H) with 1% equity risk. Expect win rates ~45-60% in trends, with 1.5-2:1 reward:risk. Adjust Key Value down for more trades, Hull Length up for fewer.
Ultimate ICT Pro — EnhancedUltimate ICT Pro — Signals V8 is a comprehensive trading tool that combines ICT concepts with classical technical analysis to provide clear buy/sell suggestions and market structure visualization.
It includes:
Multi-timeframe EMA/ADX alignment with a switch to force calculations on higher timeframes.
Automatic detection and drawing of ICT elements (Fair Value Gaps, Order Blocks, Breaker Blocks, Liquidity Sweeps, OTE zones).
A dynamic Confluence score (0–4) based on Bias, ICT confirmation, Volume, and Market Regime.
Visual signals for BOS, CHoCH, displacement, and premium/discount zones.
A dashboard panel showing overall market direction, regime (trend/range), HTF alignment, and source of calculation.
A trade suggestion table (LONG/SHORT) with entry, stop loss, target, risk/reward, and confluence level.
Designed to be easy for beginners to understand — with intuitive visuals and clear signals — while still offering advanced insights for professional analysts.
ORB + SMA 20/50 Crossover BUY/SELL by Yuvaraj Veppampattu Plots ORB High & Low lines for the first X minutes.
Adds SMA 20 & SMA 50 lines on chart.
Shows BUY arrow when SMA20 crosses ABOVE SMA50.
Shows SELL arrow when SMA20 crosses BELOW SMA50.
Adds alerts for both ORB breakouts & SMA crossovers.
ORB + SMA + EMA + BUY/SELL by yuvaraj ORB (Opening Range Breakout)
Meaning:
ORB stands for Opening Range Breakout.
It is a trading strategy where you watch the price movement for the first few minutes after the market opens (for example, 9:15 – 9:30 AM in India).
You mark the high and low during this period.
If price goes above the high, it signals a possible buy (long trade).
If price goes below the low, it signals a possible sell (short trade).
Why traders use it:
First few minutes decide the market direction.
Helps catch early momentum trades.
Very popular for intraday traders (Nifty, BankNifty, Crude Oil, etc.).
Example:
Market opens at 9:15.
First 5 minutes: High = 100, Low = 95.
If price moves above 100 → Buy.
If price moves below 95 → Sell.
📌 SMA (Simple Moving Average)
Meaning:
SMA stands for Simple Moving Average.
It is the average closing price of a stock over a certain number of candles.
Example:
SMA 9 → Average price of last 9 candles.
SMA 50 → Average price of last 50 candles.
Why traders use it:
Shows trend direction.
SMA going up → Uptrend, SMA going down → Downtrend.
You can use multiple SMAs (for example SMA 9 and SMA 50):
If SMA 9 crosses above SMA 50 → Buy signal.
If SMA 9 crosses below SMA 50 → Sell signal.
🔑 Key Difference:
Feature ORB SMA
Type Strategy (price breakout) Indicator (average price)
Use Entry trigger for trades Identifies trend direction
Works Best Intraday (first minutes) Any timeframe (intraday or swing)
Plots ORB High/Low lines for the first few minutes
Plots SMA 9/50/180 & EMA 20
Plots trailing stopline + Buy/Sell arrows
Optional bar color / background color toggle
Alert conditions for Buy/Sell
ORB high/low lines
SMA 9/50/180 + EMA 20
Buy/Sell arrows + trailing stopline
Range Breakout StrategyAfter consecutive candle closes it creates a range, and if price breaks out of it it enters with fixed take profit.
Hilly 3.0 Advanced Crypto Scalping Strategy - 1 & 5 Min ChartsHow to Use
Copy the Code: Copy the script above.
Paste in TradingView: Open TradingView, go to the Pine Editor (bottom of the chart), paste the code, and click “Add to Chart.”
Check for Errors: Verify no errors appear in the Pine Editor console. The script uses Pine Script v5 (@version=5).
Select Timeframe:
1-Minute Chart: Use defaults (emaFastLen=7, emaSlowLen=14, rsiLen=10, rsiOverbought=80, rsiOversold=20, slPerc=0.5, tpPerc=1.0, useCandlePatterns=false, patternLookback=10).
5-Minute Chart: Adjust to emaFastLen=9, emaSlowLen=21, rsiLen=14, rsiOverbought=75, rsiOversold=25, slPerc=0.8, tpPerc=1.5, useCandlePatterns=true, patternLookback=10.
Apply to Chart: Use a liquid crypto pair (e.g., BTC/USDT, ETH/USDT on Binance or Coinbase).
Verify Signals:
Green “BUY” or “EMA BUY” labels and triangle-up arrows below candles for bullish signals (EMA crossovers, bullish engulfing, hammer, doji, morning star, three white soldiers, double bottom).
Red “SELL” or “EMA SELL” labels and triangle-down arrows above candles for bearish signals (EMA crossovers, bearish engulfing, shooting star, doji, evening star, three black crows, double top).
Green/red background highlights for signal candles.
Backtest: Use TradingView’s Strategy Tester to evaluate performance over 1–3 months, checking Net Profit, Win Rate, and Drawdown.
Demo Test: Run on a demo account to confirm signal visibility and performance before trading with real funds.
Shadow Mimicry🎯 Shadow Mimicry - Institutional Money Flow Indicator
📈 FOLLOW THE SMART MONEY LIKE A SHADOW
Ever wondered when the big players are moving? Shadow Mimicry reveals institutional money flow in real-time, helping retail traders "shadow" the smart money movements that drive market trends.
🔥 WHY SHADOW MIMICRY IS DIFFERENT
Most indicators show you WHAT happened. Shadow Mimicry shows you WHO is acting.
Traditional indicators focus on price movements, but Shadow Mimicry goes deeper - it analyzes the relationship between price positioning and volume to detect when large institutional players are accumulating or distributing positions.
🎯 The Core Philosophy:
When price closes near highs with volume = Institutions buying
When price closes near lows with volume = Institutions selling
When neither occurs = Wait and observe
📊 POWERFUL FEATURES
✨ 3-Zone Visual System
🟢 BUY ZONE (+20 to +100): Institutional accumulation detected
⚫ NEUTRAL ZONE (-20 to +20): Market indecision, wait for clarity
🔴 SELL ZONE (-20 to -100): Institutional distribution detected
🎨 Crystal Clear Visualization
Background Colors: Instantly see market sentiment at a glance
Signal Triangles: Precise entry/exit points when zones are breached
Real-time Status Labels: "BUY ZONE" / "SELL ZONE" / "NEUTRAL"
Smooth, Non-Repainting Signals: No false hope from future data
🔔 Smart Alert System
Buy Signal: When indicator crosses above +20
Sell Signal: When indicator crosses below -20
Custom TradingView notifications keep you informed
🛠️ TECHNICAL SPECIFICATIONS
Algorithm Details:
Base Calculation: Modified Money Flow Index with enhanced volume weighting
Smoothing: EMA-based smoothing eliminates noise while preserving signals
Range: -100 to +100 for consistent scaling across all markets
Timeframe: Works on all timeframes from 1-minute to monthly
Optimized Parameters:
Period (5-50): Default 14 - Perfect balance of sensitivity and reliability
Smoothing (1-10): Default 3 - Reduces false signals while maintaining responsiveness
📚 COMPREHENSIVE TRADING GUIDE
🎯 Entry Strategies
🟢 LONG POSITIONS:
Wait for indicator to cross above +20 (green triangle appears)
Confirm with background turning green
Best entries: Early in uptrends or after pullbacks
Stop loss: Below recent swing low
🔴 SHORT POSITIONS:
Wait for indicator to cross below -20 (red triangle appears)
Confirm with background turning red
Best entries: Early in downtrends or after rallies
Stop loss: Above recent swing high
⚡ Exit Strategies
Profit Taking: When indicator reaches extreme levels (±80)
Stop Loss: When indicator crosses back to neutral zone
Trend Following: Hold positions while in favorable zone
🔄 Risk Management
Never trade against the prevailing trend
Use position sizing based on signal strength
Avoid trading during low volume periods
Wait for clear zone breaks, avoid boundary trades
🎪 MULTI-TIMEFRAME MASTERY
📈 Scalping (1m-5m):
Period: 7-10, Smoothing: 1-2
Quick reversals in Buy/Sell zones
High frequency, smaller targets
📊 Day Trading (15m-1h):
Period: 14 (default), Smoothing: 3
Swing high/low entries
Medium frequency, balanced risk/reward
📉 Swing Trading (4h-1D):
Period: 21-30, Smoothing: 5-7
Trend following approach
Lower frequency, larger targets
💡 PRO TIPS & ADVANCED TECHNIQUES
🔍 Market Context Analysis:
Bull Markets: Focus on buy signals, ignore weak sell signals
Bear Markets: Focus on sell signals, ignore weak buy signals
Sideways Markets: Trade both directions with tight stops
📈 Confirmation Techniques:
Volume Confirmation: Stronger signals occur with above-average volume
Price Action: Look for breaks of key support/resistance levels
Multiple Timeframes: Align signals across different timeframes
⚠️ Common Pitfalls to Avoid:
Don't chase signals in the middle of zones
Avoid trading during major news events
Don't ignore the overall market trend
Never risk more than 2% per trade
🏆 BACKTESTING RESULTS
Tested across 1000+ instruments over 5 years:
Win Rate: 68% on daily timeframe
Average Risk/Reward: 1:2.3
Best Performance: Trending markets (crypto, forex majors)
Drawdown: Maximum 12% during 2022 volatility
Note: Past performance doesn't guarantee future results. Always practice proper risk management.
🎓 LEARNING RESOURCES
📖 Recommended Study:
Books: "Market Wizards" for institutional thinking
Concepts: Volume Price Analysis (VPA)
Psychology: Understanding smart money vs. retail behavior
🔄 Practice Approach:
Demo First: Test on paper trading for 2 weeks
Small Size: Start with minimal position sizes
Journal: Track all trades and signal quality
Refine: Adjust parameters based on your trading style
⚠️ IMPORTANT DISCLAIMERS
🚨 RISK WARNING:
Trading involves substantial risk of loss
Past performance is not indicative of future results
This indicator is a tool, not a guarantee
Always use proper risk management
📋 TERMS OF USE:
For personal trading use only
Redistribution or modification prohibited
No warranty expressed or implied
User assumes all trading risks
💼 NOT FINANCIAL ADVICE:
This indicator is for educational and analytical purposes only. Always consult with qualified financial advisors and trade responsibly.
🛡️ COPYRIGHT & CONTACT
Created by: Luwan (IMTangYuan)
Copyright © 2025. All Rights Reserved.
Follow the shadows, trade with the smart money.
Version 1.0 | Pine Script v5 | Compatible with all TradingView accounts
Multi-Level EnvelopeMulti-Level Envelope
Features of this indicator:
5 different levels of Envelope bands
Separate input field for each level to set the percentage deviation value
Different colors for each level to easily distinguish between them
Thick baseline in the middle for the moving average
CTS-StochasticThis Pine Script code defines a custom technical indicator for the TradingView platform called "CTS-Stochastic Complete". It calculates and displays a standard stochastic oscillator and generates trading signals based on unconventional crossover logic.
Here is a breakdown of its functionality:
Core Functionality
The script calculates the Stochastic Oscillator, a momentum indicator that compares a particular closing price of an asset to a range of its prices over a certain period of time. It consists of two lines:
%K Line: The main stochastic line, calculated and then smoothed.
%D Line: A moving average of the %K line, acting as a signal line.
These two lines oscillate between 0 and 100.
Key Sections of the Code:
Indicator Declaration:
indicator("CTS-Stochastic Complete", ... overlay=false): This line declares the script as an indicator that will be displayed in a separate panel below the main price chart.
User Inputs:
You can customize the indicator's parameters from the settings menu:
Stochastic Length: The lookback period for the stochastic calculation (default is 14).
%K Smoothing: The period for smoothing the raw stochastic to create the %K line (default is 3).
%D Smoothing: The period for the moving average of the %K line to create the %D line (default is 3).
Upper Band: The threshold for the overbought level (default is 65).
Lower Band: The threshold for the oversold level (default is 35).
Plotting:
It plots the %K line in blue and the %D line in orange.
It draws two horizontal lines: a red "Upper Band" for the overbought level and a green "Lower Band" for the oversold level.
Signal Logic and Visualization:
Buy Signal: A green triangle pointing up appears at the top of the indicator window when the blue %K line crosses above the red overBought line.
Sell Signal: A red triangle pointing down appears at the bottom of the indicator window when the blue %K line crosses below the green underSold line.
Note: The signal logic is unconventional. Typically, a buy signal is generated when the stochastic crosses up from the oversold area, and a sell signal occurs when it crosses down from the overbought area. This script's logic is reversed from the traditional interpretation.
Alerts:
The script includes alertcondition functions that allow you to create server-side alerts in TradingView. You can set up notifications for when a "Buy Signal" or "Sell Signal" occurs based on the logic described above.
Percent Trend Change + RSI + Target Trend [Combined]Script 1 (Percent Trend Change) Features:
Ultimate smoother with configurable length
Rising/falling bar detection
Percent change calculations
Trend change labels with arrows
Percent-based labels and lines
Channel display option
Script 2 (RSI with Alerts) Features:
RSI calculation with configurable length
Overbought/oversold levels
Customizable colors
Alert settings
Visual indicators
Script 3 (Target Trend) Features:
Trend detection with moving averages
Target levels based on ATR
Stop loss and entry lines
Trend-based candlestick coloring
Signal plotting
All original target and trend management
All input settings are organized into separate groups for easy configuration, and there are no conflicts between the scripts. Each script maintains its original functionality while working together in the combined indicator.
Post 9/21 EMA Cross — Paint X Bars v2.0
# **Post 9/21 EMA Cross — Time Blocks & Session Colors**
This indicator highlights candles after a **9/21 EMA crossover**, but with extra controls that let you focus only on the sessions and time windows that matter to you.
---
## 🔑 What It Does
1. **EMA Cross Trigger**
* Bullish trigger: 9 EMA crosses above 21 EMA.
* Bearish trigger: 9 EMA crosses below 21 EMA.
2. **Bar Painting**
* After a valid cross, the indicator paints a set number of bars (you choose how many).
* You can require the **2nd bar to confirm momentum** (“displacement” filter) so weak signals are ignored.
3. **Time Block Control**
* Define up to **four custom time blocks** (like `08:00–09:30` or `12:00–13:00`).
* Painting only occurs inside those blocks if you enable the filter.
4. **Session-Aware Colors**
* Use one set of bullish/bearish colors for **regular hours**, another set for **pre-market**, and another for **post-market**.
* That way you can instantly see *when* the signal occurred.
---
## 🎨 Visuals
* Candles recolored in your chosen bull/bear colors.
* Optional EMA lines plotted on the chart for reference.
* Different colors for RTH, pre-market, and post-market activity.
---
## ⚙️ Inputs
* **EMA lengths (fast & slow)**
* **Number of bars to paint after a cross**
* **Displacement filter (loose or strict)**
* **Show/hide EMA lines**
* **Up to four custom time blocks** (on/off toggles + start/end times)
* **Bull/bear colors for RTH, Pre, Post**
---
## 📈 Why Use It
* **Clarity** – Only shows cross signals in the hours you actually trade.
* **Focus** – Different colors remind you at a glance whether the move was in pre-market, RTH, or post-market.
* **Discipline** – The optional 2nd-bar displacement filter prevents false starts by requiring real momentum.
---
## 🚨 Practical Use
* Treat the painted window as a **momentum phase**: enter on confirmation, manage risk while bars are painted, and stand aside once painting ends.
* Restrict painting to time blocks that match your personal trading routine (e.g., open drive 09:30–10:00, or late-day momentum 15:00–16:00).
* Use session colors to keep pre/post-market action separate from regular session strategies.
Open Interest OverlayOpen Interest Overlay
Overview
This indicator displays Open Interest (OI) data directly on your price chart as an overlay, eliminating the need for separate panes while preserving authentic OI movement patterns. Perfect for traders who want to analyze OI correlations without sacrificing chart real estate.
Key Features
📊 Smart Price Scaling
• Automatically maps Open Interest values to fit within your chart's price range
• Preserves all directional movements, timing, and relative magnitude relationships
• Uses official TradingView Open Interest feed for accuracy
🎨 Full Customization
• Custom Colors: Choose your own colors for rising/falling OI (defaults: teal/red)
• Line Style: Toggle between step-line (traditional) or smooth line display
• Optional Fill: Shade area between OI line and mid-price for better visual reference
• Smoothing Options: Apply moving average smoothing to reduce noise
⚙️ Intelligent Settings
• Normalization Window: 300-bar lookback (customizable) for scaling calculations
• Auto Timeframe: Uses daily data for intraday charts on traditional assets, chart timeframe for crypto
• Real Value Display: Shows actual (unscaled) OI value on the last bar
How It Works
The indicator performs proportional mapping of Open Interest data:
1. Calculates OI range (high/low) over the lookback period
2. Maps this range to your chart's price range during the same period
3. Displays OI movements that maintain authentic patterns and timing
Perfect For
✅ Correlation Analysis - See how OI moves with price in real-time
✅ Divergence Spotting - Identify when OI and price trends diverge
✅ Clean Charts - No need for separate panes or window splitting
✅ Pattern Recognition - Spot OI building/declining during key price levels
✅ Cross-Market Analysis - View any symbol's OI overlay on your current chart (e.g., Bitcoin OI while viewing Ethereum prices)
What You Get vs Traditional OI Indicators
Advantages:
• Authentic OI movement patterns preserved
• Direct visual correlation with price action
• No chart real estate sacrifice
• Immediate trend and divergence recognition
Trade-offs:
• Shows relative OI changes rather than absolute values
• Scaling is relative to the selected lookback period
Ideal For
• Day traders monitoring intraday OI flow
• Swing traders analyzing OI trends with price movements
• Futures traders tracking institutional interest
• Anyone wanting clean, correlation-focused OI analysis
Compatible With
• Futures contracts with Open Interest data
• Any timeframe (auto-adjusts for optimal data)
• All TradingView-supported OI symbols
Trend Line Breakout StrategyThe Trend Line Breakout Strategy is a sophisticated, automated trading system built in Pine Script v6 for TradingView, designed to capture high-probability reversals by detecting breakouts from dynamic trend lines. It focuses on establishing clear directional bias through higher timeframe (HTF) trend analysis while executing precise entries on the chart's native timeframe (typically lower, such as 15-60 minutes for intraday trading).
Key Components:
Trend Line Construction: Green Uptrend Lines (Support): Automatically drawn by connecting the two most recent pivot lows, but only if the line slopes upward (positive slope). This ensures the line truly represents bullish support.
Red Downtrend Lines (Resistance): Drawn by connecting the two most recent pivot highs, but only if the line slopes downward (negative slope), confirming bearish resistance.
Pivot points are detected using a user-defined lookback period (default: 5 bars left and right), filtering out invalid lines to reduce noise.
HTF Trend Filter:
Uses a 20-period EMA crossover against a 50-period EMA on a user-selected higher timeframe (e.g., 4H or Daily) to determine overall market direction. Long trades require an uptrend (20 EMA > 50 EMA), and shorts require a downtrend. This aligns entries with the broader momentum, reducing whipsaws.
Entry Signals:Buy (Long) Signal:
Triggered when price breaks above a red downtrend line with two consecutive confirmation candles (each closing above the line with bullish momentum, i.e., close > open). Must align with HTF uptrend.
Sell (Short) Signal: Triggered when price breaks below a green uptrend line with two consecutive confirmation candles (each closing below the line with bearish momentum, i.e., close < open). Must align with HTF downtrend.
This "2-candle confirmation" rule ensures momentum shift, avoiding false breaks.
Risk Management:Position Sizing:
Risks a fixed percentage of equity (default: 1%) per trade.
Stop Loss: Optional ATR-based (14-period default) or fixed 1% of price, placed beyond the breakout candle's extreme.
Take Profit: Set at a user-defined risk-reward ratio (default: 2:1), scaling rewards relative to the stop distance.
No pyramiding or trailing stops in the base version, keeping it simple and robust.
Visual Aids:
Plots green/red trend lines on the chart.
Triangle shapes mark entry signals (up for buys, down for sells).
Background shading highlights HTF trend (light green for up, light red for down).
Dashed lines show active stop-loss and take-profit levels.
This strategy excels in trending markets like forex pairs (e.g., EUR/USD) or volatile assets (e.g., BTC/USD), where trend lines hold multiple touches before breaking. It avoids overtrading by requiring slope validation and HTF alignment, aiming for 40-60% win rates with favorable risk-reward to compound returns. Backtesting on historical data (e.g., 2020-2025) typically shows drawdowns under 15% with positive expectancy, but always forward-test on a demo account due to slippage and commissions.Example: Best Possible Settings for Highest ReturnBased on extensive backtesting across various assets and timeframes (using TradingView's Strategy Tester on historical data from January 2020 to September 2025), the optimal settings for maximizing net profit (highest return) were found on the EUR/USD pair using a 1-hour chart. This configuration yielded a simulated return of approximately 285% over the period (with a 52% win rate, profit factor of 2.8, and max drawdown of 12%), outperforming defaults by focusing on longer-term trends and higher rewards.
Higher Timeframe
"D" (Daily)
Captures major institutional trends for fewer but higher-quality signals; reduces noise compared to 4H.
Lower Timeframe
"60" (1H)
Balances intraday precision with trend reliability; ideal for swing trades lasting 1-3 days.
Pivot Lookback Period
10
Longer lookback identifies more significant pivots, improving trend line validity in volatile forex markets.
Min Trendline Touch Points
2 (default)
Sufficient for confirmation without over-filtering; higher values reduce signals excessively.
Risk % of Equity
1.0 (default)
Conservative sizing preserves capital during drawdowns; scaling up increases returns but volatility.
Profit Target (R:R)
3.0
1:3 ratio allows profitability with ~33% win rate; backtests showed it maximizes expectancy in breakouts.
Use ATR for Stop Loss?
true (default)
ATR adapts to volatility, preventing premature stops in choppy conditions.
Backtest Summary (EUR/USD, 1H, 2020-2025):Total Trades: 156
Winning Trades: 81 (52%)
Avg. Win: +1.8% | Avg. Loss: -0.6%
Net Profit: +285% (compounded)
Sharpe Ratio: 1.65
Apply these on a demo first, as live results may vary with spreads (~0.5 pips on EUR/USD). For other assets like BTC/USD, increase pivot lookback to 15 for better noise filtering.
ATR STOPLOSS FINDER 📌 English Explanation
This script is an ATR (Average True Range) Stop Loss Finder with a 5-bar maximum marker.
Purpose:
Helps traders visualize dynamic stop loss levels based on ATR, and highlights the most recent maximum stop value within a given lookback period.
Key Features:
1. ATR Calculation:
- Calculates ATR using the selected smoothing method (RMA, SMA, EMA, WMA).
- Multiplied by a user-defined multiplier (default: ×1.01).
2. Long Stop Line:
- A trailing stop is drawn below the candle’s low (Low – ATR × Multiplier).
3. All Stop Dots:
- Small wine-colored dots are plotted along the stop line.
4. 5-bar MAX Dots:
- Within the last 5 bars (customizable), the highest stop value is highlighted with larger, brighter dots.
5. Label:
- The most recent 5-bar maximum stop is displayed with a label above the bar, pointing downward so it doesn’t block the candle.
6. Customization:
- Inputs allow adjustments for ATR length, smoothing type, multiplier, and lookback window.
Usage:
This indicator is useful for setting stop losses dynamically in trending markets. It visually tracks where your ATR-based stop should be and shows the strongest recent level.
📌 한글 설명
이 스크립트는 ATR(평균 진폭 지표) 기반 스탑로스 찾기 + 최근 5봉 최고 스탑 표시기입니다.
목적:
트레이더가 ATR 기반으로 변동성에 맞춘 동적 스탑로스를 설정하고,
최근 구간 중 가장 강력한 스탑 레벨을 시각적으로 확인할 수 있게 해줍니다.
핵심 기능:
1. ATR 계산:
- 선택한 이동평균 방식(RMA, SMA, EMA, WMA)으로 ATR을 계산.
- 사용자 지정 배수(기본 1.01배)를 곱함.
2. 롱 스탑 라인:
- 각 봉의 저가에서 (ATR × 배수)를 뺀 값으로 스탑 라인 생성.
3. 모든 스탑 점:
- 스탑 라인 위에 작은 와인색 점을 찍어 시각적으로 확인.
4. 최근 5봉 MAX 점:
- 최근 5봉(조정 가능) 동안의 최고 스탑 값을 더 진하고 크게 표시.
5. 라벨 표시:
- 최신 5봉 최고 스탑 값은 봉 위에 라벨로 표시되며, 꼭지는 아래로 향해 봉을 가리킴 → 봉을 가리지 않음.
6. 사용자 설정:
- ATR 길이, 이동평균 방식, 배수, 룩백 기간 등을 자유롭게 조정 가능.
활용법:
추세장에서 변동성에 맞춘 손절 라인을 자동으로 그려주므로 진입 후 스탑로스를 관리하는 데 유용합니다.
최근 최고 스탑 지점을 강조해주어 리스크 관리에 도움을 줍니다.
Multiple Moving Averages5 Simple Moving Averages: 12, 20, 55, 80, 144 periods
Different colors: Each moving average uses a different color for easy distinction
Crossover signals: Display crossover signals for MA12/MA20 and MA55/MA144
Value display: Show current specific values of each moving average in a table at the top right corner
Optional EMA: The commented section provides code for the EMA version, which can be uncommented if needed
Consecutive Candles Box with MidpointHelps to identify consecutive candle closes for potential ranges.
hidden buy or sell //@version=5
indicator(title="Institutional Flow & Trend", shorttitle="IF&T", overlay=true)
// --- INPUTS ---
// Trend EMA lengths
fast_ema_len = input.int(9, title="Fast EMA Length", minval=1)
slow_ema_len = input.int(21, title="Slow EMA Length", minval=1)
// OBV Moving Average length
obv_ema_len = input.int(10, title="OBV EMA Length", minval=1)
// RSI settings for hidden divergence (NEW)
rsi_len = input.int(14, title="RSI Length", minval=1)
// --- CALCULATIONS ---
// Calculate EMAs for trend
fast_ema = ta.ema(close, fast_ema_len)
slow_ema = ta.ema(close, slow_ema_len)
// Calculate On-Balance Volume and its moving average
obv_value = ta.obv
obv_ema = ta.ema(obv_value, obv_ema_len)
// Calculate RSI for divergence (NEW)
rsi_val = ta.rsi(close, rsi_len)
// --- HIDDEN DIVERGENCE LOGIC (NEW) ---
// Bullish hidden divergence: price makes a higher low, but RSI makes a lower low.
bullish_div = ta.lowest(low, 2) > ta.lowest(low, 2) and rsi_val > rsi_val
// Bearish hidden divergence: price makes a lower high, but RSI makes a higher high.
bearish_div = ta.highest(high, 2) < ta.highest(high, 2) and rsi_val < rsi_val
// --- SIGNAL LOGIC ---
// Bullish conditions:
// 1. Hidden bullish divergence is detected (NEW)
// 2. Fast EMA is above Slow EMA (uptrend)
// 3. OBV value is above its moving average (buying pressure)
bullish_signal = bullish_div and fast_ema > slow_ema and obv_value > obv_ema
// Bearish conditions:
// 1. Hidden bearish divergence is detected (NEW)
// 2. Fast EMA is below Slow EMA (downtrend)
// 3. OBV value is below its moving average (selling pressure)
bearish_signal = bearish_div and fast_ema < slow_ema and obv_value < obv_ema
// --- PLOTS & VISUALS ---
// Plot the EMAs on the chart
plot(fast_ema, title="Fast EMA", color=color.new(color.blue, 0), linewidth=2)
plot(slow_ema, title="Slow EMA", color=color.new(color.orange, 0), linewidth=2)
// Color the background based on signals
bgcolor(bullish_signal ? color.new(color.green, 90) : na, title="Bullish Zone")
bgcolor(bearish_signal ? color.new(color.red, 90) : na, title="Bearish Zone")
// Plot shapes for entry signals
plotshape(series=bullish_signal, title="Buy Signal", location=location.belowbar, color=color.new(color.green, 0), style=shape.triangleup, size=size.small)
plotshape(series=bearish_signal, title="Sell Signal", location=location.abovebar, color=color.new(color.red, 0), style=shape.triangledown, size=size.small)
// Plot shapes for divergence signals (NEW)
plotshape(series=bullish_div, title="Bullish Divergence", location=location.belowbar, color=color.new(color.lime, 0), style=shape.circle, size=size.tiny)
plotshape(series=bearish_div, title="Bearish Divergence", location=location.abovebar, color=color.new(color.red, 0), style=shape.circle, size=size.tiny)
// Alert conditions
alertcondition(bullish_signal, title="Bullish Reversal Signal", message="Institutional buying and trend aligned for a reversal!")
alertcondition(bearish_signal, title="Bearish Reversal Signal", message="Institutional selling and trend aligned for a reversal!")
// --- FOOTNOTE ---
// This indicator is a conceptual tool. Use it with other forms of analysis.
// Backtesting and optimization are crucial before live trading.
QZ Trend (Crypto Edition) v1.1a: Donchian, EMA, ATR, Liquidity/FThe "QZ Trend (Crypto Edition)" is a rules-based trend-following breakout strategy for crypto spot or perpetual contracts, focusing on following trends, prioritizing risk control, seeking small losses and big wins, and trading only when advantageous.
Key mechanisms include:
- Market filters: Screen favorable conditions via ADX (trend strength), dollar volume (liquidity), funding fee windows, session/weekend restrictions, and spot-long-only settings.
- Signals & entries: Based on price position relative to EMA and EMA trends, combined with breaking Donchian channel extremes (with ATR ratio confirmation), plus single-position rules and post-exit cooldowns.
- Position sizing: Calculate positions by fixed risk percentage; initial stop-loss is ATR-based, complying with exchange min/max lot requirements.
- Exits & risk management: Include initial stop-loss, trailing stop (tightens only), break-even rule (stop moves to entry when target floating profit is hit), time-based exit, and post-exit cooldowns.
- Pyramiding: Add positions only when profitable with favorable momentum, requiring ATR-based spacing; add size is a fraction of the base position, with layers sharing stop logic but having unique order IDs.
Charts display EMA, Donchian channels, current stop lines, and highlight low ADX, avoidable funding windows, and low-liquidity periods.
Recommend starting with 4H or 1D timeframes, with typical parameters varying by cycle. Liquidity settings differ by token; perpetuals should enable funding window filters, while spot requires "long-only" and matching fees. The strategy performs well in trends with quick stop-losses but faces whipsaws in ranges (filters mitigate but don’t eliminate noise). Share your symbol and timeframe for tailored parameters.