adc pivotstest╔═════════════════════════════════════════════════════════════════╗
║ PIVOTS MULTI TF BODO ║
║ ║
║ © 2025 Your Name or Username ║
║ Version: 1.0 ║
║ ║
║ Description: ║
║ This script plots Traditional Pivot Points (PP, S1–S3, R1–R3) ║
║ based on a user-selected timeframe (Daily, Weekly, Monthly). ║
║ It includes optional labels and extended line settings. ║
║ ║
║ How to Use: ║
║ – Add the indicator to your chart ║
║ – Select your pivot timeframe (D/W/M) in settings ║
║ – Toggle label visibility and line extensions as needed ║
║ ║
║ Contac ║
║ Redistribution is not allowed without permission. ║
║ ║
║ For educational purposes only. Trade responsibly. ║
╚═════════════════════════════════════════════════════════════════╝
תבניות גרפים
Gold AI Smart Liquidity structure Signal SMC MA Title: Gold AI Smart Liquidity Signal SMC hull protected
Description:
Indicator Philosophy and Originality:
This indicator is not merely a collection of separate tools, but an integrated trading framework designed to improve decision-making by ensuring signal confluence. The core philosophy is that high-probability trading signals occur when multiple, distinct analysis methodologies align.
The originality of this script lies in how it systematically combines a leading signal (the Liquidity Breakout) with lagging confirmation tools (the Classic Filters and the Hull MA). A user can see a primary breakout signal and immediately validate its strength against the broader trend defined by the Hull MA and the specific conditions of the classic filters. This synergy, where different components work together to validate a single event, is the primary value and reason for this mashup. It provides a structured, multi-layered confirmation process within a single tool, which is not achievable by adding these indicators separately to the chart.
This indicator is a comprehensive technical analysis tool designed to identify potential trading opportunities and provide supplemental trend analysis. It features a primary signal engine based on pivot trendline breakouts, a sophisticated confirmation layer using classic technical indicators, and two separate modules for discretionary analysis: an ICT-based structure plotter and a highly customizable Hull Moving Average (HMA). This document provides a detailed, transparent explanation of all underlying logic.
1. Core Engine: Pivot-Based Liquidity Trendline Signals
The indicator's foundational signal is generated from a custom method we call "Liquidity Trendlines," which aims to identify potential shifts in momentum.
How It Works:
The script first identifies significant swing points in the price using the ta.pivothigh() and ta.pivotlow() functions.
It then draws a trendline connecting consecutive pivot points.
A "Liquidity Breakout" signal (liquidity_plup for buy, liquidity_pldn for sell) is generated when the price closes decisively across this trendline, forming the basis for a potential trade.
2. The Signal Confirmation Process: Multi-Layered Filtering System
A raw Liquidity Breakout signal is only a starting point. To enhance reliability, the signal must pass through a series of user-enabled filters. A final Buy or Sell signal is only plotted if all active filter conditions are met simultaneously.
General & Smart Trend Filters: Use a combination of EMAs, DMI (ADX), and market structure to define the trend. Signals must align with the trend to be valid.
RSI & MACD Filters: Used for momentum confirmation (e.g., MACD line must be above its signal line for a buy).
ATR (Volatility) Filter: Ensures trades are considered only when market volatility is sufficient.
Support & Resistance (S&R) Filter: Blocks signals forming too close to key S&R zones.
Higher Timeframe (HTF) Filter: Provides confluence by checking that the trend on higher timeframes aligns with the signal.
3. Visual Aid 1: ICT-Based Structure & Premium/Discount Zones
This module is for visual and discretionary analysis only and does not directly influence the automated Buy/Sell signals.
ICT Market Structure: Plots labels for Change of Character (CHoCH), Shift in Market Structure (SMS), and Break of Market Structure (BMS). This is based on a Donchian-channel-like logic that tracks the highest and lowest price over a user-defined period (ict_prd) to identify structural shifts.
ICT Premium & Discount Zones: When enabled, it draws colored zones on the chart corresponding to Premium, Discount, and Equilibrium levels, calculated from the range over the defined ICT period.
4. Visual Aid 2: Hull Moving Average (HMA) Integration
This is another independent tool for trend analysis, offering significant customization. It does not affect the primary Buy/Sell signals but has its own alerts and serves as a powerful visual confirmation layer.
Hull Variations: Users can choose between three types of Hull-style moving averages: HMA (Hull Moving Average), THMA (Triple Hull Moving Average), and EHMA (Exponential Hull Moving Average).
Customization: The length, source, and a length multiplier are fully adjustable. It can also be configured to display the Hull MA from a higher timeframe.
Visuals: The Hull MA can be displayed as a simple line or a colored band. The color can be set to change based on the Hull's slope, providing an at-a-glance view of the trend. This color can also be applied to the chart's candles.
Alerts: Separate alerts can be configured for when the Hull MA crosses over or under its delayed version (ta.crossover(MHULL, SHULL)), signaling a change in its momentum.
5. Risk Management & Additional Features
TP/SL Calculations: Automatically calculates Take Profit (TP) and Stop Loss (SL) levels for every valid signal based on the Average True Range (ATR).
Multi-Timeframe (MTF) Scanner: A dashboard that monitors and displays the final Buy/Sell signal status across multiple timeframes.
Session Filter & Alerts: Allows for restricting trades to specific market sessions and configuring alerts for any valid signal.
By combining breakout detection with a rigorous confirmation process and supplemental analysis tools, this indicator provides a structured and transparent approach to trading.
Volume Pressure Analysis - Live DataVolume Pressure Gauge and Volume Percentage Indicator – Pine Script Guide
This indicator provides a simplified, real-time visualization of both volume pressure (buy vs. sell activity) and today’s trading volume in comparison to historical averages. It is designed to help traders assess whether buyers or sellers dominate the current session and whether today’s volume is significant relative to recent behaviour.
________________________________________
Key Functional Segments
1. Inputs and Configuration
Users can configure the length of the Simple Moving Average (SMA) used to calculate average volume, set the position of the gauge table on the chart, and toggle the visibility of the volume pressure display. This allows flexibility in integrating the tool with various trading styles and chart layouts.
2. Volume Data Calculations
The indicator calculates three key volume metrics:
• volToday: The current day’s volume.
• volAvg: The average volume over the user-defined SMA period (default is 20 bars).
• volPct: The current volume as a percentage of the average.
This enables traders to quickly recognize whether current trading activity is above or below normal, which can be a precursor to potential trend strength or weakness.
3. Volume Pressure Calculation
The script estimates buying and selling pressure based on price movement and volume. It distributes volume into upward (buy) and downward (sell) segments and expresses them as percentages of the total volume. This gives an immediate sense of whether bulls or bears are more active in the current session.
4. Visual Representation (Progress Bars)
The indicator renders a simplified visual gauge using horizontal bar segments (pseudo-bars) to reflect the proportion of buy and sell pressure. The length of each bar correlates with the strength of pressure from buyers or sellers, helping users assess dominance without analyzing candlestick behavior in depth.
5. Table Display
A compact table is drawn on the chart showing:
• Buy pressure percentage and corresponding bar.
• Sell pressure percentage and corresponding bar.
• Volume percentage compared to the recent average.
This format makes it easy to evaluate volume dynamics at a glance, without cluttering the price chart or relying on separate overlays.
________________________________________
How Traders Benefit from This Indicator
• Momentum Shift Detection: Early signs of trend reversal can be observed when volume pressure flips direction.
• Breakout Validation: High volume combined with dominant pressure supports the credibility of breakout moves.
• False Move Avoidance: If price moves on low volume or mixed pressure, traders can avoid low-probability entries.
• Market Context Awareness: Users can assess whether a day is behaving normally in terms of participation or is unusually quiet or aggressive.
________________________________________
Basic Usage Guide
1. Add the script to your TradingView chart and set your preferred SMA length for volume comparison.
2. Customize the table’s position using the X and Y settings for clarity and alignment.
3. Interpret the outputs:
o A higher red bar indicates dominant sell pressure.
o A higher green bar indicates dominant buy pressure.
o Volume % above 100% suggests above-average activity, while values below 100% may imply low conviction.
4. Apply to trading decisions:
o High buy pressure and high volume may indicate a strong long opportunity.
o High sell pressure and high volume may support short setups.
o Low volume or conflicting signals may call for caution.
5. Combine with other tools such as trend indicators, support/resistance zones, or price action patterns for more reliable trade setups.
________________________________________
Practical Example
• Sell Pressure: 70% → Suggests strong seller control; potential for short setups.
• Buy Pressure: 30% → Weak buying interest; long trades may carry risk.
• Volume Percentage: 120% → Indicates a surge in participation; movement may have greater validity.
________________________________________
Tips for New Traders
• Use this indicator as a confirmation tool rather than a standalone strategy.
• Begin on higher timeframes (4-hour or daily) to develop familiarity.
• Compare multiple examples to identify reliable patterns over time.
• Always incorporate proper risk management, including stop losses.
________________________________________
Disclaimer from aiTrendview
This indicator is intended solely for educational and informational use. It does not constitute investment advice, trade signals, or financial recommendations. aiTrendview and its affiliates are not liable for any trading losses incurred through use of this tool. All trading involves risk. Past performance of any indicator does not guarantee future results. Users should conduct independent research and consult with a certified financial advisor before making any trading decisions.
Order Block Identifier Order block = areas where institutions might have entered/exit. These areas can be retested.
Daily Engulfing Zones Visually appear Daily Engulfing Zones on the chart. Combine with your favorite oscillator indicator to create a solid setup. Bullish EZ is marked by green arrow/zone. Bearish EZ is marked by red arrow/zone.
Easy Market Structure BOS & CHoCH (Swing Logic)A trend reversal occurs when the direction of the market changes from an uptrend to a downtrend or vice versa. It is typically confirmed by a shift in price structure, such as a break of key support or resistance, a change in swing highs/lows, or specific candlestick patterns like engulfing or pin bars. Indicators like RSI divergence or moving average crossovers can also support reversal identification. Reversals often follow a strong trend and signal a potential new direction in price movement
HyperChannelThought for 1m 33sHyperChannel Exhaustion Indicator
Overview
This open-source indicator creates a dynamic volatility channel to identify trend directions and potential support/resistance levels, while incorporating momentum analysis, trend strength assessment, and a composite exhaustion metric to highlight possible trend fatigue and reversal points. The core idea is to combine volatility adaptation with multi-layered exhaustion signals, providing a unified tool that goes beyond standalone channels or oscillators. By integrating these elements, it offers a comprehensive view: the channel tracks price within volatile bounds, momentum detects strength or weakening, and exhaustion quantifies reversal risks—allowing users to spot continuations in strong trends or prepare for reversals during fatigue. This synergy creates a unique, actionable framework not found in isolated indicators, helping users make informed decisions across various market conditions.
The indicator builds on public domain concepts like ATR-based channels and standard exhaustion ratios (with credits to Franklin Moormann for foundational exhaustion logic, significantly enhanced here through integration and scoring). Improvements include a custom composite score weighting multiple factors, adaptive coloring for visual clarity, and a dashboard for quick stats—resulting in a tool that's more than a simple merge, but a cohesive system for trend management.
Key Features
Volatility Channel: Plots adaptive upper and lower bands based on smoothed true range multiples around a price midpoint, with trend confirmation requiring consecutive closes beyond bands for reliability.
Momentum Layer: Uses averaged relative changes across varying periods to flag strong impulses or pullbacks, enhancing channel breakouts with contextual strength.
Trend Strength: Differentiates strong trends from ranges or transitions, altering band colors for intuitive reading (e.g., vibrant in trends, subdued otherwise).
Exhaustion Metrics:
A ratio-based signal comparing price advances to highs, smoothed to detect fading momentum.
A composite score (0-100%) aggregating normalized exhaustion, divergence flags, and volume surges—low scores suggest trend health, medium warn of fatigue, high indicate reversal potential.
Visuals:
Band plots (active/inactive) with fills for trend highlighting.
Circles on candles for pullback warnings.
Candle coloring: Dark shades for robust trends (e.g., deep green/up, maroon/down), lighter/warning tones (yellow/up, orange/down) for weakening phases.
Divergence labels on price vs. momentum for hidden/regular setups.
Dashboard: Compact table with trend, risk score (integrated exhaustion), composite value, regime, and higher-timeframe levels; background gradients from green (low risk) to red (high) for at-a-glance reversal probability.
Alerts: For channel events, momentum shifts, exhaustion thresholds, and signals.
How It Works
The indicator operates on core technical concepts without relying on external data:
Channel Construction: Starts with true range (high-low, gaps) smoothed over a period (default 120) to form ATR. Bands are midpoint ± ATR multiple (default 3.0), tightened/loosened based on closes and momentum to avoid whipsaws. Trends flip only after confirmed breaches (default 2 bars), reducing false signals.
Momentum Calculation: Aggregates percentage changes from short to long moving averages (defaults 10-200 periods), smoothed into dynamic thresholds. This detects "strong" (beyond multiples) vs. "exhausting" (pullbacks below fractions), feeding into channel logic and warnings.
Strength and Regime: ADX (default period 14) classifies markets: above high threshold (25) as trending, below low (20) as ranging, in-between as transitioning (with bias if rising and momentum aligns).
Exhaustion and Scoring:
Compares cumulative closes above priors vs. new highs, smoothed (default length 10) into a slope: positive/negative for bull/bear, intensifying for strength.
Composite score weights this normalization (40%), binary divergence checks on a standard oscillator (30%), and volume ratios (30%)—scaled to 0-100%. Thresholds (e.g., 80 for high) trigger color shifts.
Reversal risk (0-100%) blends exhaustion depth, divergences, unconfirmed bars, and the score—labeled Low (<30%), Medium (30-70%), High (>70%).
These interact: e.g., channel bands adjust with momentum, exhaustion colors candles/dashboard, creating a feedback loop for holistic analysis.
Usage Suggestions
Setup: Add to a clean chart (no other indicators unless combining for confluence, e.g., with volume—explain in notes). Use defaults for most assets; tweak ATR period/multiplier for volatility (shorter for crypto, longer for stocks). Set higher timeframe (default 60min) for context.
Interpreting Trends: Green-filled uptrends (active support band) signal buys on pullbacks; red downtrends for shorts. Vibrant colors indicate ADX strength—trade with trend.
Spotting Exhaustion/Reversals: Watch for yellow/orange candles (weakening signal) or circles (pullback warnings). Composite >80% (red dashboard cell) or high risk (yellow/orange table background) suggests exits/preparation. Divergences add confirmation: bullish (green label) near supports, bearish (red) at resistances.
Regimes: Trending: Follow channel breaks. Ranging: Fade extremes. Transitioning: Wait for emerging bias.
Alerts: Enable for real-time notifications—e.g., high exhaustion for potential tops/bottoms.
Customization: Adjust weights for risk sensitivity (e.g., boost exhaustion for conservative trading). Test on historical data to align with strategy; aim for balanced risk (e.g., <5% per trade).
This tool visualizes concepts like volatility clustering and momentum divergence, aiding in trend-following or mean-reversion setups. Always combine with personal analysis—it's not a signal generator but a decision aid.
Credits and Notes
Builds on public domain ATR/ADX ideas; exhaustion ratio inspired by Franklin Moormann (cheatcountry), with major enhancements like multi-momentum integration, composite scoring, and visual/dashboard features for originality.
Compliant with Pine v6; open-source for community use. No ads/guarantees—past performance isn't indicative. Manage risk; this is educational. For chart: Publish clean, with this script only, showing clear outputs.
[caracalla] Woori Rejection + Divergence Signal V1.6📌 지표 개요 | Indicator Overview
KR
이 스크립트는 리젝션 패턴과 RSI 다이버전스를 활용해 매수(R+)·매도(R-) 반전 신호를 생성합니다. 특히 일반 다이버전스(RD+, RD-)를 히든 다이버전스(RH+, RH-)보다 우선 표시하며, 과매도/과매수 조건도 실전 트레이딩에 맞게 유연하게 조정되어 있습니다.
EN
This script generates buy (R+) and sell (R−) reversal signals by combining rejection candlestick patterns and RSI divergences. It prioritizes regular divergence signals (RD+/RD−) over hidden ones (RH+/RH−), with relaxed overbought/oversold RSI conditions to better suit real trading environments.
🔍 리젝션 조건 | Rejection Conditions
KR
R+: 이전 음봉 후 양봉 전환, 아래꼬리가 몸통보다 길며 RSI < 45
R-: 이전 양봉 후 음봉 전환이거나 긴 위꼬리 음봉, RSI > 50
도지 캔들은 제외되며, 꼬리 길이 비중이 중요한 요소로 작용
EN
R+: Bullish rejection after a bearish candle, long lower wick, RSI < 45
R-: Bearish rejection after bullish candle or long upper wick, RSI > 50
Doji candles are filtered out; long wick length relative to body is essential.
⚙️ 다이버전스 감지 | Divergence Detection
✅ 일반 다이버전스 | Regular Divergence (RD+/RD−)
KR
RD+: 가격 저점 하락 + RSI 저점 상승 + 리젝션
RD-: 가격 고점 상승 + RSI 고점 하락 + 리젝션
EN
RD+: Price makes lower lows, RSI makes higher lows, with rejection
RD−: Price makes higher highs, RSI makes lower highs, with rejection
✅ 히든 다이버전스 | Hidden Divergence (RH+/RH−)
KR
RH+: 가격 저점 상승 + RSI 저점 하락 + 리젝션
RH-: 가격 고점 하락 + RSI 고점 상승 + 리젝션
EN
RH+: Price makes higher lows, RSI makes lower lows, with rejection
RH−: Price makes lower highs, RSI makes higher highs, with rejection
🧠 시그널 우선순위 | Signal Priority
KR
동일한 캔들에서 일반 다이버전스와 히든 다이버전스가 동시에 발생해도, **일반 다이버전스(RD+, RD−)**가 **히든 다이버전스(RH+, RH−)**보다 우선 표시됩니다.
EN
When both regular and hidden divergence conditions are met on the same candle, regular divergence (RD+, RD−) is prioritized over hidden divergence (RH+, RH−).
🔔 알림 기능 | Alert System
KR
모든 시그널(R+, R-, RD+, RD-, RH+, RH-)에 대해 알림 설정이 포함되어 있어, 자동매매나 실시간 대응이 가능합니다.
EN
Alert conditions are included for all signals (R+, R-, RD+, RD-, RH+, RH-), enabling automation or real-time trading reactions.
easy market structure finderA trend reversal occurs when the direction of the market changes from an uptrend to a downtrend or vice versa. It is typically confirmed by a shift in price structure, such as a break of key support or resistance, a change in swing highs/lows, or specific candlestick patterns like engulfing or pin bars. Indicators like RSI divergence or moving average crossovers can also support reversal identification. Reversals often follow a strong trend and signal a potential new direction in price movement
Choch Pattern Levels [BigBeluga] + AlertsThis version of Choch Pattern Levels includes built-in alert conditions for both ChoCh Up and ChoCh Down patterns. You can now set TradingView alerts directly when either pattern occurs, with optional visual markers (triangles) plotted on the chart.
Based on the original script by BigBeluga, licensed under CC BY-NC-SA 4.0. This is a modified version with alert conditions added.
Dolphin 3penggunaan FCPO
DISCLAIMER:
This script is provided for **educational and informational purposes only**.
It is **not intended as financial advice** or a recommendation to buy or sell any asset.
Use at your own risk. Past performance does not guarantee future results.
Always do your own research or consult a licensed financial advisor before making trading decisions.
Choch Pattern Levels [BigBeluga] + AlertsChoch Pattern Levels highlights key structural breaks that can mark the start of new trends. By combining precise break detection with volume analytics and automatic cleanup, it provides actionable insights into the true intent behind price moves — giving traders a clean edge in spotting early reversals and key reaction zones. Added support for alarms.
Choch Pattern Levels [BigBeluga] + AlertsChoch Pattern Levels highlights key structural breaks that can mark the start of new trends. By combining precise break detection with volume analytics and automatic cleanup, it provides actionable insights into the true intent behind price moves — giving traders a clean edge in spotting early reversals and key reaction zones. Added alarms support.
TMM - 4EMAThe 4 EMA Indicator (Exponential Moving Average) uses four exponential moving averages with different periods to identify market trends across multiple timeframes. It helps traders recognize short-term to long-term momentum and make informed entry or exit decisions. When the EMAs are aligned from shortest to longest and sloping upward, it indicates a bullish trend. Conversely, when they are ordered from longest to shortest and sloping downward, it signals a bearish trend. The 4 EMA is especially useful in trend-following strategies for spotting strong directional movements.
Pinbar signal 顶/底分型 指标Top/Bottom Fractal Indicator is a technical analysis tool used to identify potential reversal points in a market trend. It is based on the concept of fractal patterns, which consist of specific candlestick formations that signal local highs (top fractals) or lows (bottom fractals).
A top fractal typically occurs when the high of a middle candlestick is higher than the highs of the two candles on either side. This formation suggests that upward momentum may be weakening and a downward reversal could follow. Conversely, a bottom fractal forms when the low of a middle candlestick is lower than the lows of the two adjacent candles, indicating a potential shift from a downtrend to an uptrend.
This indicator is commonly used to spot market turning points, determine entry or exit signals, and enhance the reliability of other indicators such as Bollinger Bands or MACD. Because of its clear structure and reliable reversal signals, the Top/Bottom Fractal Indicator is also widely applied in wave theory and price action strategies.
A Pin Bar is a powerful candlestick pattern used in technical analysis to identify potential price reversals or continuations in the market. It is characterized by a small body located at one end of the candle and a long tail or wick on the opposite side, which indicates a strong rejection of price in that direction. A bullish Pin Bar has a long lower wick, showing that sellers pushed the price down but buyers regained control, suggesting a potential upward move. Conversely, a bearish Pin Bar has a long upper wick, indicating that buyers attempted to drive prices higher but were overpowered by sellers, hinting at a possible downward move. For high-probability setups, traders typically look for Pin Bars that form at key support or resistance levels, trendlines, or Fibonacci zones, and they often use them in combination with overall trend direction. Entry strategies include entering at the close of the Pin Bar, on a retracement, or above/below the wick with stop-losses placed beyond the wick’s extreme. When used correctly in the right context, the Pin Bar can be a highly effective signal in a trader’s toolkit.
3-1-3 PatternThis Pine Script indicator analyzes and visualizes a specific candlestick pattern called the "3-1-3 Pattern" across multiple timeframes. Here's what it does:
Core Functionality
Pattern Detection: The script looks for a 7-bar candlestick pattern:
Bearish 3-1-3: 3 red candles + 1 green candle + 3 red candles
Bullish 3-1-3: 3 green candles + 1 red candle + 3 green candles
Visual Output
When a 3-1-3 pattern is detected, the script:
Creates a colored box around the middle bar (bar 3) of the pattern
Adds a small label showing the pattern type ("Bear 1H" or "Bull 4H", etc.)
Extends the box forward until the price breaks above the pattern's high or below its low
Pattern Management
The script actively manages the patterns by:
Tracking active patterns for each timeframe separately
Removing expired patterns when price breaks the pattern's high/low levels
Extending boxes to the current time to keep them visible
Practical Use
This indicator helps traders:
Spot reversal patterns across multiple timeframes simultaneously
See confluence when patterns align on different timeframes
Track pattern validity (boxes disappear when invalidated by price action)
Essentially, it's a multi-timeframe pattern recognition tool that automatically identifies and tracks these specific 7-bar reversal patterns on your chart.
ZKThe indicator checks the price entry into the 0.618-0.786 zone to the Fibonacci lines and gives a buy signal at the exit
15 Minute BangerThis strategy is for open market. 1:1 RR. It is based on market biased and will follow the trend of the market.
Combined Breakout Bands & KNN Trend Signal with Reversalsombined Breakout Bands & KNN Trend Signal – Brief Description
This custom TradingView indicator overlays two complementary systems—a Kalman-filtered breakout band and a K-Nearest-Neighbors (KNN) trend filter—and only flags directional moves when both agree. Green or red trend lines and band fills show the combined direction, while up/down triangles mark confirmed bullish or bearish breaks. Additionally, large circles highlight reversal points, triggering when the combined signal flips from bearish to bullish (long reversal) or bullish to bearish (short reversal). All smoothing, band width, and KNN parameters are fully adjustable via the input panel, giving you precise control over responsiveness and noise-rejection.
Benford's Law Actual [Tagstrading]Benford’s Law Chart — First Digit Analysis of Percentage Price Drops
This script visualizes the distribution of the leading digit in the percentage change of price drops, and compares it to the theoretical distribution expected by Benford’s Law.
It helps traders, analysts, and quants to detect anomalies, unnatural behavior, or price manipulation in any asset or timeframe.
How to Use
Add to any chart or symbol (stocks, crypto, FX, etc.) and select the timeframe you wish to analyze.
Set the “Number of Bars to Analyze” input (default: 500) to control the length of the historical window.
The chart will display, for the latest window:
A blue line: the actual leading-digit distribution for percentage price changes between bars.
A red line: the expected distribution per Benford’s Law.
Labels below and above: digit markers and the expected (theoretical) percentages.
Summary panel on the right: frequency counts and actual vs. theoretical % for each digit.
Interpretation:
If your actual (blue) curve or digit counts are significantly different from the red Benford’s Law curve, it could indicate unnatural price action, fraud, bot activity, or structural anomalies.
Why is this useful for TradingView?
Financial forensics: Benford’s Law is a classic tool for detecting data manipulation and fraud in accounting. On charts, it can reveal if price movements are statistically “natural.”
Transparency and confidence: Helps communities audit markets, brokers, or exchanges for irregularities.
Adaptable: Works on any market, any timeframe.
What makes this script unique?
Focuses on % price changes, not raw prices.
This provides a fair comparison across assets, symbols, and timeframes.
Measures only the direction and magnitude of drops/rises — more suitable for detecting manipulation in active markets.
Clear and customizable visualization:
The Benford line, actual data, and summary are all visible and readable in one glance.
Optimized for speed and clarity (runs efficiently on all major charts).
How is it different from stg44’s Benford’s Law script?
This script analyzes the leading digit of percentage price changes (i.e., how much the price drops or rises in %),
while the original by stg44 analyzes the leading digit of price itself.
Results are less sensitive to price scale and more comparable across volatile and non-volatile assets.
The summary panel clearly shows ( ) for actual and for Benford theoretical values.
Full code is commented and open for the community.
Credits and Inspiration
This script was inspired by “Benford’s Law” by stg44:
Thanks to the TradingView community for sharing powerful visual ideas.
—
By tags trading
Henrys Session Markers+PO3 Open/CloseThis indicator marks out New Day, Asia, London, and New York Sessions. It also marks out when the 10am PO3 Candle opens and closes. I hope this helps out other traders who trade ICT/SMC who dont want to mark out session start/close each day and while backtesting.
SwingSignal RSI Overlay AdvancedSwingSignal RSI Overlay Advanced
By BFAS
This advanced indicator leverages the Relative Strength Index (RSI) to pinpoint critical market reversal points by highlighting key swing levels with intuitive visual markers.
Key Features:
Detects overbought and oversold levels with customizable RSI period and threshold settings.
Visually marks swing points:
Red star (HH) for Higher Highs.
Yellow star (LH) for Lower Highs.
Blue star (HL) for Higher Lows.
Green star (LL) for Lower Lows.
Connects swings with lines, aiding in the analysis of market structure.
Optimized for use on the main chart (overlay), tracking candles in real time.
This indicator provides robust visual support for traders aiming to identify price patterns related to RSI momentum, facilitating entry and exit decisions based on clear swing signals.
caracalla ema long short signal v1.0🔍 Script Description
This script is a custom technical analysis indicator for TradingView that identifies potential long (buy) and short (sell) signals based on trend, momentum, and volume.
📌 Moving Averages (EMA)
It calculates four exponential moving averages (EMAs) with periods of 5, 20, 60, and 120. These are used to evaluate the overall market trend.
A bullish trend is identified when the EMAs are aligned in ascending order (short-term EMA above long-term EMA).
A bearish trend is identified when the EMAs are aligned in descending order (short-term EMA below long-term EMA).
🔁 Golden Cross & Dead Cross
A golden cross occurs when the 5-period EMA crosses above the 20-period EMA.
A dead cross occurs when the 5-period EMA crosses below the 20-period EMA.
These crossover events are typical indicators of trend reversals.
📈 MACD (Moving Average Convergence Divergence)
The script uses the standard MACD (12, 26, 9):
A MACD bullish signal is triggered when the MACD line crosses above the signal line.
A MACD bearish signal is triggered when the MACD line crosses below the signal line.
💡 RSI & Stochastic Oscillator
RSI is used to measure momentum; values above 50 suggest bullish momentum, below 50 suggest bearish.
Stochastic (%K and %D) is smoothed and used to identify overbought or oversold conditions.
A bullish momentum signal is triggered when RSI > 50 and the Stochastic %K line crosses above the %D line.
A bearish momentum signal is triggered when RSI < 50 and the %K line crosses below the %D line.
🔊 Volume Conditions
The script calculates a 20-period average volume:
A volume spike (bullish) is when current volume is greater than 120% of the average.
A volume drop (bearish) is when current volume is less than 80% of the average.
✅ Signal Conditions
A long (buy) signal is generated when 3 or more of the following are true:
Bullish EMA alignment
Golden cross
MACD bullish crossover
RSI > 50 and stochastic bullish crossover
Volume spike
A short (sell) signal is generated when 3 or more of the following are true:
Bearish EMA alignment
Dead cross
MACD bearish crossover
RSI < 50 and stochastic bearish crossover
Volume drop
📍 Visual Output
Long signals are shown as green labels with “L” below the price bars.
Short signals are shown as red labels with “S” above the price bars.
All four EMA lines are plotted in different colors for trend visualization.
🔔 Alert Conditions
The script includes built-in alert triggers for both long and short signals. These allow users to be notified when trading conditions are met, without needing to monitor charts constantly.
📌 스크립트 개요
이 인디케이터는 이동평균선, MACD, RSI, 스토캐스틱, 거래량을 종합적으로 분석하여 롱(매수) 또는 숏(매도) 진입 시점을 포착하는 자동 시그널 도구입니다.
📐 이동평균선 (EMA)
총 4개의 EMA(5, 20, 60, 120)를 계산하여 시장의 추세 방향을 파악합니다.
정배열: 단기 EMA가 장기 EMA보다 모두 위에 있는 경우로, 상승 추세로 간주합니다.
역배열: 단기 EMA가 장기 EMA보다 모두 아래에 있는 경우로, 하락 추세로 판단합니다.
🔁 골든크로스 / 데드크로스
골든크로스: EMA5가 EMA20을 위로 돌파할 때 발생 → 상승 신호
데드크로스: EMA5가 EMA20을 아래로 이탈할 때 발생 → 하락 신호
📊 MACD 분석
기본값(12, 26, 9)의 MACD를 사용합니다.
MACD 매수 신호: MACD선이 시그널선 위로 교차할 때
MACD 매도 신호: MACD선이 시그널선 아래로 교차할 때
💡 RSI & 스토캐스틱
RSI(14): 50 이상이면 매수 우위, 50 미만이면 매도 우위로 판단
스토캐스틱: %K와 %D의 골든/데드 크로스를 활용해 추가 모멘텀 분석
매수 모멘텀: RSI > 50 이면서, %K가 %D를 상향 돌파
매도 모멘텀: RSI < 50 이면서, %K가 %D를 하향 이탈
🔊 거래량 조건
20일 평균 거래량을 기준으로 분석
매수 유리: 현재 거래량이 평균보다 1.2배 이상인 경우
매도 유리: 현재 거래량이 평균보다 0.8배 이하인 경우
✅ 매수/매도 시그널 조건
📈 롱 시그널 (매수) 발생 조건
다음 5가지 조건 중 3개 이상 충족 시 발생:
EMA 정배열
골든크로스 발생
MACD 골든크로스
RSI > 50 + 스토캐스틱 골든크로스
거래량 증가
📉 숏 시그널 (매도) 발생 조건
다음 5가지 조건 중 3개 이상 충족 시 발생:
EMA 역배열
데드크로스 발생
MACD 데드크로스
RSI < 50 + 스토캐스틱 데드크로스
거래량 감소
📍 차트 시각화
롱 시그널: 초록색 L 라벨이 캔들 아래 표시
숏 시그널: 빨간색 S 라벨이 캔들 위에 표시
EMA 4개도 각기 다른 색상으로 차트에 표시되어 추세 확인 가능
🔔 알림 기능
시그널 발생 시 자동 알림 설정이 가능합니다.
롱 시그널: "📈 카라칼라 매매: 롱 진입 조건 충족!"
숏 시그널: "📉 카라칼라 매매: 숏 진입 조건 충족!"