TREV Candles - Range-Based Trend ReversalTREV Candles - Range-Based Trend Reversal Chart Implementation
What is a Trend Reversal (TREV) Chart?
A Trend Reversal chart, also known as a Point & Figure chart variation, is a unique charting method that focuses on price movement thresholds rather than time intervals. Unlike traditional candlestick charts where each candle represents a fixed time period, TREV candles form only when price moves by predefined amounts in ticks.
TREV charts eliminate time-based noise and focus purely on significant price movements, making them ideal for identifying genuine trend changes and continuation patterns.
How TREV Candles Work
This indicator implements true TREV logic with two critical thresholds:
Trend Size: The number of ticks price must move in the current direction to form a trend continuation candle
Reversal Size: The number of ticks price must move against the current direction to form a reversal candle and change the overall trend direction
Key TREV Rules Enforced:
Direction Changes Only Through Reversals: You cannot go from bullish trend directly to bearish trend - a reversal candle must occur first
Threshold-Based Formation: Candles form only when price thresholds are breached, not on time
Logical Wick Placement: Wicks only appear on the "open" side of candles where price temporarily moved against the formation direction
Multiple Candles Per Bar: When price moves significantly, several TREV candles can form within a single time-based bar
Four Distinct Candle Types
Bullish Trend (Green): Continues upward movement when trend threshold is hit
Bearish Trend (Red): Continues downward movement when trend threshold is hit
Bullish Reversal (Blue): Changes from bearish to bullish direction when reversal threshold is breached
Bearish Reversal (Orange): Changes from bullish to bearish direction when reversal threshold is breached
Practical Trading Applications
Trend Identification: Clear visual representation of when trends are continuing vs. reversing
Noise Reduction: Filters out insignificant price movements that don't meet threshold requirements
Support/Resistance: TREV levels often act as significant support and resistance zones
Breakout Confirmation: When price forms multiple trend candles in succession, it confirms strong directional movement
Reversal Signals: Reversal candles provide early warning of potential trend changes
Technical Implementation Features
Intelligent Price Path Processing: Analyzes the assumed price path within each bar (Low→High→Close for bullish bars, High→Low→Close for bearish bars)
Automatic Tick Size Detection: Works with any instrument by automatically detecting the correct tick size
Manual Override Option: Allows manual tick size specification for custom analysis
Impossible Scenario Prevention: Built-in logic prevents impossible wick configurations and direction changes
PineScript Optimization: Efficient state management and drawing limits handling for smooth performance
Comprehensive Styling Options
Each of the four candle types offers complete visual customization:
Body Colors: Independent color settings for each candle type's body
Border Colors: Separate border color customization
Border Styles: Choose from solid, dashed, or dotted borders
Wick Colors: Individual wick color settings for each candle type
Default Color Scheme:
🟢 Bullish Trend: Green body and wicks
🔵 Bullish Reversal: Blue body and wicks
🔴 Bearish Trend: Red body and wicks
🟠 Bearish Reversal: Orange body and wicks
Configuration Guidelines
Trend Size: Larger values create fewer, more significant trend candles. Smaller values increase sensitivity
Reversal Size: Should typically be smaller than trend size. Controls how easily the trend direction can change
Tick Size: Use "auto" for most instruments. Manual override useful for custom point values or backtesting
Ideal Use Cases
Swing Trading: Identify major trend changes and continuation patterns
Scalping: Use smaller thresholds to catch quick reversals and momentum shifts
Position Trading: Use larger thresholds to filter noise and focus on major trend moves
Multi-Timeframe Analysis: Compare TREV patterns across different threshold settings
Support/Resistance Trading: TREV close levels often become significant price zones
Why This Implementation is Superior
True TREV Logic: Enforces proper trend reversal rules that many implementations ignore
No Impossible Scenarios: Prevents wicks on both sides of candles and impossible direction changes
Professional Visualization: Clean, customizable appearance suitable for serious analysis
Performance Optimized: Handles large datasets without lag or drawing limit issues
Educational Value: Helps traders understand the difference between time-based and threshold-based charting
Perfect for traders who want to see beyond time-based noise and focus on what price is actually doing - moving in significant, measurable amounts that matter for trading decisions.
Indicators and strategies
Ease of Movement Z-Score Trend | DextraGeneral Description:
The "Ease of Movement Z-Score Trend | Dextra" (EOM-Z Trend) is an innovative technical analysis tool that combines the Ease of Movement (EOM) concept with Z-Score to measure how easily price moves relative to volume, while identifying market trends with intuitive visualization. This indicator is designed to help traders detect uptrend and downtrend phases with precision, enhanced by candle coloring for direct trend representation on the chart.
Key Features
Ease of Movement (EOM): Measures how easily price moves based on the change in the midpoint price and volume, normalized with Z-Score for statistical analysis.
Z-Score Normalization: Provides an indication of deviations from the mean, enabling the identification of overbought or oversold conditions.
Adjustable Thresholds: Users can customize upper and lower thresholds to define trend boundaries.
Candle Coloring: Visual trend representation with green (uptrend), red (downtrend), and gray (neutral) candles.
Flexibility: Adjustable for different timeframes and assets.
How It Works
The indicator operates through the following steps:
EOM Calculation:
hl2 = (high + low) / 2: Calculates the average midpoint price per bar.
eom = ta.sma(10000 * ta.change(hl2) * (high - low) / volume, length): EOM is computed as the smoothed average of the price midpoint change multiplied by the price range per unit volume, scaled by 10,000, over length bars (default 20).
Z-Score Calculation:
mean_eom = ta.sma(eom, z_length): Average EOM over z_length bars (default 93).
std_dev_eom = ta.stdev(eom, z_length): Standard deviation of EOM.
z_score = (eom - mean_eom) / std_dev_eom: Z-Score indicating how far EOM deviates from its mean in standard deviation units.
Trend Detection:
upperthreshold (default 1.03) and lowerthreshold (default -1.63): Thresholds to classify uptrend (if Z-Score > upperthreshold) and downtrend (if Z-Score < lowerthreshold).
eom_is_up and eom_is_down: Logical variables for trend status.
Visualization:
plot(z_score, ...): Z-Score line plotted with green (uptrend), red (downtrend), or gray (neutral) coloring.
plotcandle(...): Candles colored green, red, or gray based on trend.
hline(...): Dashed lines marking the thresholds.
Input Settings
EOM Length (default 20): Period for calculating EOM, determining sensitivity to price changes.
Z-Score Lookback Period (default 93): Period for calculating the Z-Score mean and standard deviation.
Uptrend Threshold (default 1.03): Minimum Z-Score value to classify an uptrend.
Downtrend Threshold (default -1.93): Maximum Z-Score value to classify a downtrend.
How to Use
Installation: Add the indicator via the "Indicators" menu in TradingView and search for "EOM-Z Trend | Dextra".
Customization:
Adjust EOM Length and Z-Score Lookback Period based on the timeframe (e.g., 20 and 93 for daily timeframes).
Set Uptrend Threshold and Downtrend Threshold according to preference or asset characteristics (e.g., lower to 0.8 and -1.5 for volatile markets).
Interpretation:
Uptrend (Green): Z-Score above upperthreshold, indicating strong upward price movement.
Downtrend (Red): Z-Score below lowerthreshold, indicating significant downward movement.
Neutral (Gray): Conditions between thresholds, suggesting a sideways market.
Use candle coloring as the primary visual guide, combined with the Z-Score line for confirmation.
Advantages
Intuitive Visualization: Candle coloring simplifies trend identification without deep analysis.
Flexibility: Customizable parameters allow adaptation to various markets.
Statistical Analysis: Z-Score provides a robust perspective on price deviations from the norm.
No Repainting: The indicator uses historical data and does not alter values after a bar closes.
Limitations
Volume Dependency: Requires accurate volume data; an error occurs if volume is unavailable.
Market Context: Effectiveness depends on properly tuned thresholds for specific assets.
Lack of Additional Signals: No built-in alerts or supplementary confirmation indicators.
Recommendations
Ideal Timeframe: Daily (1D) or (2D) for stable trends.
Combination: Pair with others indicators for signal validation.
Optimization: Test thresholds on historical data of the traded asset for optimal results.
Important Notes
This indicator relies entirely on internal TradingView data (high, low, close, volume) and does not integrate on-chain data. Ensure your data provider supports volume to avoid errors. This version (1.0) is the initial release, with potential future updates including features like alerts or multi-timeframe analysis.
Trap Detector Signals [Tweaked Version]This script highlights potential institutional liquidity traps by detecting price extensions relative to VWAP during periods of short-term volatility compression — using manual VIX9D input as a proxy for complacency.
Gap Box Highlighter (HTF Support)Gap Box Highlighter (Higher Timeframe Gaps)
This indicator visually highlights price gaps that occur between candles on a chosen higher timeframe, even when viewed on a lower timeframe chart. A gap is detected when the open price of the current higher timeframe candle does not equal the close price of the previous higher timeframe candle.
Features:
Detects gaps on any user-selected timeframe above 1 hour (e.g., 1H, 2H, 4H, Daily, Weekly, Monthly).
Displays gaps as colored boxes spanning the previous candle’s width.
Color-coded boxes: green for upward gaps (gap up), red for downward gaps (gap down).
Optional box fill for clearer visual emphasis.
User-friendly dropdown menu to select the timeframe for gap detection.
Helps traders spot significant price jumps and potential support/resistance zones formed by gaps.
Ideal for traders who want to track higher timeframe gaps while trading on lower timeframe charts, improving context and decision-making.
Candle Ghosts: MTF 3 Candle Viewer by Chaitu50cCandle Ghosts: MTF 3 Candle Viewer helps you see candles from other timeframes directly on your chart. It shows the last 3 candles from a selected timeframe as semi-transparent boxes, so you can compare different timeframes without switching charts.
You can choose to view candles from 30-minute, 1-hour, 4-hour, daily, or weekly timeframes. The candles are drawn with their full open, high, low, and close values, including the wicks, so you get a clear view of their actual shape and size.
The indicator lets you adjust the position of the candles using horizontal and vertical offset settings. You can also control the spacing between the candles for better visibility.
An optional EMA (Exponential Moving Average) from the selected timeframe is also included to help you understand the overall trend direction.
This tool is useful for:
Intraday traders who want to see higher timeframe candles for better decisions
Swing traders checking lower timeframe setups
Anyone doing top-down analysis using multiple timeframes on a single chart
This is a simple and visual way to study how candles from different timeframes behave together in one place.
Forex Forge The Ultimate Trading Indicator
This invite-only script combines key Smart Money Concepts into one tool to support structured, trend-aligned trading. It automates:
CHoCH / BOS detection, based on swing structure logic.
Works across all timeframes with adjustable sensitivity parameters.
Order blocks and supply & demand zones, identified using candle body analysis and liquidity sweeps.
Fully configurable and displayed across multiple timeframes for context-aware analysis.
Fair Value Gaps (FVG) and OTE zones, calculated from internal Fibonacci retracement levels (typically 0.62–0.79 range).
Users can fine-tune both FVG filtering and OTE zone visibility.
Trend bias using a combination of Supertrend and 200 EMA, helping users stay aligned with dominant market direction.
Trend filters and source inputs are user-selectable.
Adaptive support/resistance levels, based on structure shifts instead of static highs/lows.
S/R detection logic includes time-based and swing-depth filters.
Smart filtering, which confirms trade zones only when structure break, liquidity sweep, and confirmation candles align.
Traders can toggle filters to control the signal-to-noise ratio based on their preferences.
SMT divergence, highlighting early signs of imbalance between correlated assets (e.g., XAUUSD vs DXY).
Users can input custom asset pairs for divergence monitoring.
Risk planner, calculating position size, SL/TP and expected returns based on user-defined risk % and balance.
Supports both fixed and dynamic risk models for flexible money management.
This is not a signal generator but a structured visual aid for discretionary traders. The script works across all major asset classes and timeframes. All key elements are fully configurable to match your trading style and level of detail.
🚀 QuantSignals AI Trend Pro 15M🚀 QuantSignals AI Trend Pro 15M
Welcome to QuantSignals AI Trend Pro, the ultimate AI-powered trend and signal system designed for serious day traders and scalpers.
🔒 This is a closed-source invite-only script. Only approved users may access this strategy.
🔍 What is it?
QuantSignals AI Trend Pro uses proprietary machine learning logic and smart signal filters to detect high-probability entries and exits on the 15-minute timeframe.
Designed by real traders, backed by data science, and battle-tested across crypto, forex, and equities.
💡 Key Features
🎯 AI-Powered Signal Engine
Smart buy/sell logic filtered by momentum, volatility, and multi-timeframe confluence.
📈 Smart Trend Strength System
Auto-classifies market into 🚀 Strong Bull, ⚖️ Neutral, or 🔥 Strong Bear zones.
🧠 Visual Dashboard Overlay
Real-time scoreboards for trend status, signal quality, momentum, and volatility.
🎯 Smart Support & Resistance Zones
Auto-calculated pivot levels based on dynamic market structure.
🔔 Built-In Alerts
Get real-time signals directly to your device — ready for TradingView alert automation.
✅ Optimized For:
🕒 15-minute timeframe
🔁 Scalping & Day Trading
💹 Crypto / Stocks / Forex / Futures
💎 How to Get Access?
This is a limited free version of our full QuantSignals system.
To unlock:
🔓 Full algorithm (multi-timeframe + sentiment + volume)
🔔 Real-time signals + smart alerts
📘 Educational content & live strategy sessions
➕ Join our community and request access:
🌐 Website: quantsignals.xyz
💬 Discord: discord.gg
🧠 Who is this for?
Active day traders and scalpers
Traders seeking institutional-grade tools
Anyone tired of fake signal groups and repainting indicators
📉 Disclaimer
This script is for educational and informational purposes only.
Trading carries risk. Use with proper risk management.
Previous Candle High/Low (Clean)✅ Creates one horizontal line for the previous candle’s high (green).
✅ Creates one horizontal line for the previous candle’s low (red).
✅ The lines update on each new candle, always following the most recent previous high/low.
✅ The lines are extended to the right — they don’t stack or clutter the chart.
✅ Works on all timeframes.
Volume-Based Candle ShadingThe Volume Shading indicator dynamically adjusts the color brightness of each price bar based on relative volume levels. It helps traders quickly identify whether a candle formed on low, average, or high volume without needing to reference a separate volume pane.
Candles are shaded dynamically as they form, so you can watch volume flow into them in real time. This indicator is designed to be as minimally intrusive as possible, allowing you to visualize volume levels without extra clutter on your charts.
The additional volume indicator in the preview above is there just for a point of reference to allow you to see how the shading on the bars correlates to the volume.
⸻
SETTINGS:
Bullish and bearish base colors — These serve as the midpoint (average volume) for shading.
Brightness mapping direction — Optionally invert the shading so that either high volume appears darker or lighter.
Volume smoothing length — Defines how many bars are averaged to determine what constitutes “normal” volume.
Candles with volume above average will appear darker or lighter depending on user preference, while those with average volume will be painted the chosen colors, giving an intuitive gradient that enhances volume awareness directly on the chart.
⸻
USES:
Confirming price action: Highlight when breakout candles or reversal bars occur with high relative volume, strengthening signal conviction.
Spotting low-volume moves: Identify candles that lack volume support, potentially signaling weak continuation or false breakouts.
Enhancing visual analysis: Overlay volume dynamics directly onto price bars, reducing screen clutter and aiding faster decision-making.
Custom visual workflows: Adapt the visual behavior of candles to your trading style by choosing color direction and base tones.
Alinhamento MACDs D1/H4/H1MACD Triple-Timeframe Trend Aligner
This custom indicator aligns MACD momentum across three timeframes — Daily (12,26,9), 4H (18,36,11), and 1H (24,52,18). A green background (bullish zone) appears when:
All three MACD histograms are green (positive momentum),
All three are above the zero line,
Price is above the 200 EMA in all timeframes.
This strict confirmation method filters weak trends and highlights only strong bullish alignment. Ideal for swing and trend-following strategies. Use inverse logic for bearish conditions.
FLOWGuard By SASFlowGuard – Just flow. No forecast
Description:
FlowGuard is a custom indicator designed to monitor and react to the true flow of the market by combining trend direction, volatility expansion/contraction, and momentum confirmation. It acts like a sentry that constantly watches for changes in market regime, filtering out noise while staying adaptive to real-time conditions.
Use Case: Ideal for directional index option trades, swing trades, Designed for precision entries, disciplined exits, and clarity in trend flow.
Ravi R-Series (C) Al Mahira LLC DuabiR-Series Indicator is an invite only !
It helps traders to identify the trend for either short term trades, swing, positional, or SCALPING!!!
Follow the Buy Sell signals. To automate your trades based on R-Series kindly contact us.
#NIFTY #BANKNIFTY # BTC #Options #NASDAQ #S&P #Stocks #Forex #Crudeoil
Ravi
Al Mahira LLC Dubai
Portfolio-Übersicht (3 Assets)Title: Portfolio Overview (3 Assets)
Description:
This simple indicator allows you to display a quick and clear portfolio overview of up to three different assets (stocks, ETFs, etc.) directly on your TradingView chart.
It is ideal for investors who want to keep an eye on their core positions without constantly switching to their broker.
Features:
Clear Table View: Displays all key metrics in a clean table at the bottom left of the chart.
Profit & Loss Calculation: Calculates the total purchase value, current value, and the resulting profit or loss for each position and the total portfolio.
Color-Coding: Profits are displayed in green and losses in red for immediate visual feedback.
Stable and Reliable: The code is intentionally kept simple to ensure stable functionality.
How to Use:
Add the indicator to your chart.
Open the indicator's settings (the gear icon).
For each of the three positions, enter the following data:
Symbol: The ticker symbol (e.g., NASDAQ:AAPL or GETTEX:EUNL).
Quantity: The number of shares you own.
Purchase Price: Your average purchase price per share.
The script will automatically update the table with the latest closing prices.
52SIGNAL RECIPE AMA Momentum Vector═══52SIGNAL RECIPE AMA Momentum Vector═══
◆ Overview
52SIGNAL RECIPE AMA Momentum Vector is an advanced technical indicator based on Adaptive Moving Average (AMA), integrating volume filtering and gradient zone visualization to provide comprehensive analysis of price trends and momentum.
It automatically adjusts to market conditions by calculating efficiency ratios, reducing noise while clearly capturing significant trends. The volume confirmation system helps traders identify high-probability entry and exit points with precision.
─────────────────────────────────────
◆ Key Features
• Adaptive Moving Average: Smart moving average that automatically adjusts based on market conditions
• Volume Filter Integration: Double-confirmation of important price movements through volume analysis
• Momentum Gradient Zones: Intuitive visualization of trend strength through color gradation
• Signal Confirmation System: Generation of high-reliability buy/sell signals by combining multiple factors
• Trend Direction Identification: Clear color distinction between bullish and bearish market conditions
• Automatic Adaptation: Intelligent design that self-adjusts to various market situations
─────────────────────────────────────
◆ Technical Foundation
■ AMA Calculation Principles
• Efficiency Ratio (ER): Measures how efficiently price moves in one direction
• Dynamic Smoothing Coefficient: Automatically adjusts faster or slower based on market conditions
• Adaptive Algorithm: Less sensitive during sideways markets, more responsive during trending markets
• Noise Reduction Function: Filters out meaningless price movements while capturing important signals
■ Momentum Vector Implementation
• Trend-Price Distance Calculation: Measures trend strength by the distance between AMA and current price
• Color Gradation: Visual system where color intensity changes proportionally to trend strength
• ATR-Based Adjustment: Automatically adjusts gradient zone width according to market volatility
• Directional Color Distinction: Intuitive display with blue/cyan for uptrends and red for downtrends
─────────────────────────────────────
◆ Practical Applications
■ Price Trend Interpretation
• Trend Direction Assessment:
▶ Price above AMA with blue gradation indicates ongoing bullish momentum
▶ Price below AMA with red gradation indicates ongoing bearish momentum
• Momentum Strength Verification:
▶ Deeper gradient colors mean stronger momentum and healthier trends
▶ Lighter gradient colors suggest weakening momentum and potential reversal
■ Trading Strategy Utilization
• Trend Following Strategy:
▶ Buy signal when price crosses above AMA with increased volume
▶ Sell signal when price crosses below AMA with increased volume
• Momentum Confirmation Trading:
▶ Deep gradation increases confidence in trend continuation for entry decisions
▶ Multiple consecutive candles staying on one side of AMA increases trend reliability
─────────────────────────────────────
◆ Advanced Configuration Options
■ Input Parameter Guide
• Fast Period (Default: 2)
▶ 1-2: Responds very quickly to price changes. Suitable for short-term trading.
▶ 3-5: Moderate response that reduces frequent signals.
▶ 6-10: Slower response but captures only more definitive trends.
• Slow Period (Default: 30)
▶ 20-25: AMA moves faster. Good for shorter timeframe trading.
▶ 26-35: Balanced speed suitable for most market conditions.
▶ 36-50: AMA moves slowly, smoothly following long-term trends.
• Efficiency Ratio Period (Default: 10)
▶ 5-8: Focuses more on recent price movements. Responds quickly to changes.
▶ 9-12: Balanced period suitable for most situations.
▶ 13-20: Considers longer-term price movements, ignoring temporary fluctuations.
• Volume Average Period (Default: 20)
▶ 10-15: Compares with the average volume of the last 10-15 days. More sensitive to changes.
▶ 16-25: Compares with the average volume of approximately the last month. Balanced setting.
▶ 26-50: Compares with long-term average volume, capturing only truly significant volume changes.
• Volume Threshold Multiplier (Default: 1.2)
▶ 1.0-1.1: Recognizes volume just 10% above average as valid.
▶ 1.2-1.5: Requires volume 20-50% higher than average (e.g., 1.2 means 120% of average).
▶ 1.6-2.0: Recognizes only very high volume at least 1.6 times (160%) above average.
■ Timeframe-Specific Recommended Settings
• Short Timeframes (5min-1hr):
Fast Period 2, Slow Period 20, Efficiency Ratio Period 8
→ Responds quickly to price changes, suitable for day trading.
• Medium Timeframes (4hr-daily):
Fast Period 2, Slow Period 30, Efficiency Ratio Period 10
→ Most balanced setting for general swing trading.
• Long Timeframes (daily-weekly):
Fast Period 2, Slow Period 40, Efficiency Ratio Period 14
→ Optimized for smoothly tracking longer trends.
■ Market-Specific Recommended Settings
• Stock Market:
Volume Threshold 1.2, Volume Average Period 20
→ Signal is valid when volume is 20% above average.
• Forex Market:
Volume Threshold 1.5, Efficiency Ratio Period 12
→ Forex requires higher volume to be meaningful and slightly longer efficiency measurement.
• Cryptocurrency Market:
Volume Threshold 1.3, Fast Period 2, Slow Period 25
→ Settings optimized for highly volatile cryptocurrencies.
─────────────────────────────────────
◆ Synergy with Other Indicators
• Moving Averages: Trend reliability increases when AMA and key moving averages point in the same direction
• RSI/Stochastic: Powerful reversal signals when AMA crossovers occur in overbought/oversold zones
• MACD: Signal probability greatly increases when MACD histogram direction changes coincide with AMA crossovers
• Bollinger Bands: Trend strength can be determined by AMA's position within Bollinger Bands
• Support/Resistance Levels: Success probability dramatically increases when AMA breakouts occur at key price levels
─────────────────────────────────────
◆ Conclusion
AMA Momentum Vector provides accurate price trend analysis by combining the advanced features of adaptive moving averages with momentum visualization technology.
It perfectly adapts to constantly changing market environments through its self-adjusting algorithm and generates highly reliable trading signals through its volume confirmation system.
Users can optimize the indicator for their trading style and market conditions with simple parameter adjustments, enabling effective trading decisions that comprehensively consider price direction, momentum strength, and volume confirmation.
─────────────────────────────────────
※ Disclaimer: Past performance does not guarantee future results. Always use appropriate risk management strategies.
═══52SIGNAL RECIPE AMA Momentum Vector═══
◆ 개요
52SIGNAL RECIPE AMA Momentum Vector는 적응형 이동평균(AMA)을 기반으로 한 고급 기술적 지표로, 볼륨 필터링과 그라데이션 존 시각화를 통합하여 가격 추세와 모멘텀을 종합적으로 분석합니다.
시장 효율성 비율을 자동으로 계산하여 시장 상황에 맞게 스스로 조정되며, 노이즈는 줄이고 중요한 추세는 선명하게 포착합니다. 또한 볼륨 확인 시스템을 통해 높은 확률의 매매 시점을 정확하게 식별할 수 있도록 도와줍니다.
─────────────────────────────────────
◆ 주요 특징
• 적응형 이동평균: 시장 상황에 따라 자동으로 조정되는 스마트한 이동평균선
• 볼륨 필터 통합: 중요한 가격 움직임을 볼륨으로 한번 더 확인
• 모멘텀 그라데이션 존: 색상 그라데이션으로 추세의 강도를 직관적으로 시각화
• 신호 확인 시스템: 여러 요소를 종합하여 신뢰도 높은 매수/매도 신호 생성
• 추세 방향 식별: 상승세와 하락세를 색상으로 명확하게 구분
• 자동 적응 기능: 다양한 시장 상황에 알아서 맞춰지는 지능형 설계
─────────────────────────────────────
◆ 기술적 기반
■ AMA 계산 원리
• 효율성 비율 (ER): 가격이 얼마나 효율적으로 한 방향으로 움직이는지 측정
• 동적 평활화 계수: 시장 상황에 따라 빠르거나 느리게 자동 조절되는 계수
• 적응형 알고리즘: 횡보장에서는 둔감하게, 추세장에서는 민감하게 반응
• 노이즈 감소 기능: 무의미한 가격 움직임은 걸러내고 중요한 신호만 포착
■ 모멘텀 벡터 구현
• 추세-가격 거리 계산: AMA와 현재 가격 사이의 거리로 추세 강도 측정
• 색상 그라데이션: 추세 강도에 비례하여 색상 농도가 변하는 시각화 시스템
• ATR 기반 조정: 시장 변동성에 맞춰 그라데이션 영역 너비 자동 조절
• 방향성 색상 구분: 상승세는 파란색/청록색, 하락세는 빨간색으로 직관적 표시
─────────────────────────────────────
◆ 실용적 응용
■ 가격 추세 해석
• 추세 방향 판단:
▶ 가격이 AMA 위에 있고 파란색 그라데이션이 보이면 상승 모멘텀 진행 중
▶ 가격이 AMA 아래에 있고 빨간색 그라데이션이 보이면 하락 모멘텀 진행 중
• 모멘텀 강도 확인:
▶ 그라데이션 색상이 진할수록 모멘텀이 강하고 추세가 건강함을 의미
▶ 그라데이션 색상이 옅을수록 모멘텀이 약해지고 있으며 반전 가능성 시사
■ 트레이딩 전략 활용
• 추세 추종 전략:
▶ 가격이 AMA를 상향 돌파하고 볼륨이 증가하면 매수 신호
▶ 가격이 AMA를 하향 돌파하고 볼륨이 증가하면 매도 신호
• 모멘텀 확인 트레이딩:
▶ 진한 그라데이션은 추세 지속 가능성이 높음을 의미하므로 진입 확신 강화
▶ 여러 캔들이 연속해서 AMA 한쪽에 머물면 추세의 신뢰도가 높아짐
─────────────────────────────────────
◆ 고급 설정 옵션
■ 인풋 파라미터 가이드
• 빠른 기간 (Fast Period) (기본값: 2)
▶ 1-2: 가격 변화에 매우 빠르게 반응합니다. 단기 거래에 적합합니다.
▶ 3-5: 적당히 반응하여 잦은 신호를 줄여줍니다.
▶ 6-10: 반응이 느리지만 더 확실한 추세만 포착합니다.
• 느린 기간 (Slow Period) (기본값: 30)
▶ 20-25: AMA가 더 빠르게 움직입니다. 짧은 시간 거래에 좋습니다.
▶ 26-35: 균형 잡힌 속도로 대부분의 시장 상황에 적합합니다.
▶ 36-50: AMA가 천천히 움직여 장기 추세를 부드럽게 따라갑니다.
• 효율성 비율 기간 (Efficiency Ratio Period) (기본값: 10)
▶ 5-8: 최근 가격 움직임에 더 집중합니다. 변화에 빠르게 반응합니다.
▶ 9-12: 균형 잡힌 기간으로 대부분의 상황에 적합합니다.
▶ 13-20: 더 긴 기간의 가격 움직임을 고려하여 일시적인 변동을 무시합니다.
• 볼륨 평균 기간 (Volume Average Period) (기본값: 20)
▶ 10-15: 최근 10-15일의 평균 볼륨과 비교합니다. 변화에 민감합니다.
▶ 16-25: 지난 약 한 달간의 평균 볼륨과 비교합니다. 균형 잡힌 설정입니다.
▶ 26-50: 장기 평균 볼륨과 비교하여 정말 큰 볼륨 변화만 포착합니다.
• 볼륨 임계값 승수 (Volume Threshold Multiplier) (기본값: 1.2)
▶ 1.0-1.1: 평균보다 약 10% 정도만 높아도 유효한 볼륨으로 인정합니다.
▶ 1.2-1.5: 평균보다 20~50% 높은 볼륨을 요구합니다(예: 1.2는 평균의 120%).
▶ 1.6-2.0: 평균의 최소 1.6배(160%) 이상 되는 매우 높은 볼륨만 인정합니다.
■ 타임프레임별 추천 설정
• 짧은 시간 차트 (5분-1시간):
빠른 기간 2, 느린 기간 20, 효율성 비율 기간 8
→ 가격 변화에 빠르게 반응하며 단타에 적합합니다.
• 중기 차트 (4시간-일봉):
빠른 기간 2, 느린 기간 30, 효율성 비율 기간 10
→ 일반적인 스윙 트레이딩에 가장 균형 잡힌 설정입니다.
• 장기 차트 (일봉-주봉):
빠른 기간 2, 느린 기간 40, 효율성 비율 기간 14
→ 더 긴 추세를 매끄럽게 추적하는 데 최적화되었습니다.
■ 시장별 추천 설정
• 주식 시장:
볼륨 임계값 1.2, 볼륨 평균 기간 20
→ 평균보다 20% 많은 볼륨이 있을 때 신호가 유효합니다.
• 외환 시장:
볼륨 임계값 1.5, 효율성 비율 기간 12
→ 외환은 볼륨이 더 높아야 의미가 있으며, 약간 더 긴 효율성 측정이 필요합니다.
• 암호화폐 시장:
볼륨 임계값 1.3, 빠른 기간 2, 느린 기간 25
→ 변동성이 큰 암호화폐에 최적화된 설정입니다.
─────────────────────────────────────
◆ 다른 지표와의 시너지
• 이동평균선: AMA와 주요 이동평균선이 같은 방향을 가리킬 때 추세 신뢰도 상승
• RSI/스토캐스틱: 과매수/과매도 구간에서 AMA 교차 발생 시 강력한 반전 신호
• MACD: MACD 히스토그램 방향 변화와 AMA 교차가 일치하면 신호 확률 대폭 증가
• 볼린저 밴드: AMA가 볼린저 밴드 내에서 어떤 위치에 있는지로 추세 강도 판단
• 지지/저항 레벨: 중요 가격대에서 AMA 돌파 시 성공 확률이 크게 증가
─────────────────────────────────────
◆ 결론
AMA Momentum Vector는 적응형 이동평균의 고급 기능과 모멘텀 시각화 기술을 결합하여 정확한 가격 추세 분석을 제공합니다.
자체 조정 알고리즘으로 시시각각 변하는 시장 환경에 완벽하게 적응하며, 볼륨 확인 시스템을 통해 신뢰도 높은 매매 신호를 생성합니다.
사용자는 간단한 파라미터 조정으로 자신의 거래 스타일과 시장 상황에 맞게 지표를 최적화할 수 있어, 가격 방향, 모멘텀 강도, 볼륨 확인을 종합적으로 고려한 효과적인 거래 결정을 내릴 수 있습니다.
─────────────────────────────────────
※ 면책 조항: 과거 성과가 미래 결과를 보장하지 않습니다. 항상 적절한 리스크 관리 전략을 사용하세요.
Rejection Zones MODHigh probability "Institutional footprint" zones with some extras.
Zones settings
-Mitigation method: You can set whether the wick or the body mitigates the zones.
-Show last X Rejection Zones: The number of displayed zones
+
Optional ATR and Engulfing filter.
Fractals settings
-Filter 3/5 bar fractal: Choose to display the fractal candle from 3 or 5 candles pattern.
Moving Average settings
-Selectable MA with adjustable length, type and timeframe.
Liquidity Sweeps settings
-Selectable pivot length
Dashed line for swept levels, solid line for still active liquidity levels.
Bar colors
-Yellow: Engulfing candle
-Lime: Bullish momentum candle
-Purple: Bearish momentum candle
📊 52-Week Price % Distance (Advanced Table)This TradingView Pine Script displays a compact, informative table showing how far the current price is from the 52-week high and low, expressed as percentages.
Bob Volman - Consolidation BoxThis indicator identifies consolidation zones based on Bob Volman's scalping methodology. It highlights tight price ranges where the market is coiling before a potential breakout.
🔧 Features
📊 Detects consolidation boxes based on:
• Minimum number of candles
• ATR-based range filter (ATR × multiplier)
• Proximity to EMA (EMA ± multiplier × ATR)
⏩ Automatically extends the box while price remains inside
❌ Option to hide boxes after breakout
🧾 Status line plots:
• 🔺 Box High / 🔻 Box Low
• 📏 Box Range (in ATR units)
• 🕒 Box Length (number of bars)
⚙️ Fully customizable: ATR/EMA lengths, multipliers, border color
🔔 Alert on new consolidation box
🎯 Use Cases
Identify tight consolidation zones before breakout
Improve scalping entries and exits
Spot potential support/resistance areas
✅ Combine with volume, breakout confirmation, market structure, and price action for better accuracy
📚 Inspired by the book: "Understanding Price Action" by Bob Volman
Bollinger BandsThe simple R/S indicator with the Bollinger Bands.
It has the ability to notify a "BB","QQE" signal with a crossover.
EMA Pullback Indicator [ATR-based]🟦 EMA Pullback Indicator
This indicator identifies pullbacks in trending markets using the crossover of two EMAs (Fast and Slow). When a pullback occurs during a valid trend, an entry is triggered after price resumes in the trend direction. ATR is used to dynamically calculate stop-loss and take-profit levels.
🔍 Strategy Logic:
Trend Detection: EMA(8) vs EMA(21)
Pullback Zones:
In a bullish trend, a pullback is when price dips below the Fast EMA
In a bearish trend, a pullback is when price rises above the Fast EMA
Entry Trigger: Re-entry into trend direction after pullback
Stop Loss / Take Profit:
Based on ATR × SL/TP multipliers
Exit Options:
TP/SL Hit
Exit on new pullback (optional toggle)
Multiple Entry Toggle: Choose whether to allow multiple pullback entries or not
⚙️ Inputs:
Fast EMA Length
Slow EMA Length
ATR Period
SL Multiplier
TP Multiplier
Allow Multiple Entries
Exit on New Pullback
📊 Visuals:
Colored EMAs and fill zone between them
Grey bars during pullback
Blue/Black trend bar colors
Entry markers and TP/SL levels with labels
Real-time ATR display in corner
📢 Alerts Included:
Long/Short Pullback Entry
Take Profit Hit
Stop Loss Hit
Current Typical Prices3 Plots for the current Typical price (using the current candle Close). The first plot is a user configurable, 1 hour or 4 hour. The 2nd is the daily and the 3rd is the weekly.
Typical price = (High + Low + Close) /3. Also known as the Pivot Point.
My first indicator using Gemini.
Enjoy!
Crypto Position Size CalculatorThis tool calculates optimal position size, leverage, and risk metrics based on your entry, stop loss, and take profit. It accounts for trading fees—critical in crypto, where fee slippage can heavily distort real PnL. The script shows position value, coin quantity, required margin, liquidation buffer, risk/reward ratio, and worst-case loss. It also warns if your stop is too close to liquidation or exceeds your margin cap. Designed for accurate, fee-inclusive planning on leveraged crypto trades.