Estratégia

Dynamic Take Profit Stop LossDynamic Take Profit Stop Loss
Dynamic Take Profit Stop Loss is designed to move beyond static take profit levels by dynamically adapting profit projections to changing market conditions.
Instead of relying on fixed R:R targets or ATR values alone, this indicator uses an internal Efficiency Engine to measure how effectively price is moving and adjusts projected targets accordingly.
As market efficiency strengthens, targets can expand. As efficiency weakens or deteriorates, targets can tighten to help preserve gains and reduce exposure.
Key Features
• Adaptive TP projections based on market efficiency
• SL-based R:R projection mode
• ATR-based projection mode
• Dynamic TP expansion and contraction logic
• Automatic Optimal TP selection (TP1 / TP2 / TP3)
• Local High / Low stop-loss calculation with adjustable buffers
• Optional manual entry price input
• Multiple TP display combinations:
TP1 Only
TP2 Only
TP3 Only
Optimal Only
TP + Optimal combinations
Multi-TP combinations
Show All
• Long and Short trade projections
• Dynamic TP multiplier engine
• Efficiency state analysis:
Improving
Mixed
Worsening
• Live information table showing:
Efficiency Score
Market State
TP Multiplier
Optimal TP
Long SL Distance
Short SL Distance
• Adjustable colors, table placement, text sizing, labels, and projection length
How It Works
The internal Efficiency Engine analyzes recent price behavior by comparing:
• Net directional movement
• Total movement path traveled
• Historical improvement or deterioration in efficiency
A weighted score is generated and translated into a dynamic TP multiplier.
Typical behavior:
Strong efficiency + improving conditions
→ Expand targets
Neutral conditions
→ Hold targets
Weakening efficiency
→ Tighten targets
Weak and deteriorating conditions
→ Exit or reduce exposure
Example Use
A standard 2R target may become:
Strong conditions:
2R → 3R+
Weak conditions:
2R → 1.2R–1.5R
The goal is to align profit expectations with how price is actually behaving instead of assuming all trades deserve identical targets.
Best Used For
• Trend continuation trading
• Breakout strategies
• Intraday trading
• Swing trading
• Futures
• Forex
• Indices
• Crypto
• Stocks
About TrendGenY Indicators
TrendGenY indicators are built from market experience, creative concepts, and a constant pursuit of unique perspectives. Rather than following conventional ideas, the focus is on uncovering alternative insights and viewing market behavior through different angles to reveal information that traditional tools may overlook and help traders build a more meaningful edge in the market. Indicador

Symbol Volatility Mapper# Symbol Volatility Mapper
## Overview
Symbol Volatility Mapper automatically selects and plots the corresponding volatility index for the active chart symbol.
The script is designed to simplify cross-asset volatility analysis by linking major equity indices and selected commodity futures to their commonly referenced implied volatility benchmarks. This allows traders to monitor the relevant volatility regime directly from the underlying chart without manually switching between symbols.
## Supported Mappings
- **SPX / ES** -> `CBOE:VIX`
- **NDX / NQ** -> `CBOE:VXN`
- **RUT / RTY** -> `CBOE:RVX`
- **DAX / FDAX** -> `EUREX:VDAX-NEW`
- **Gold / GC** -> `CBOE:GVZ`
- **Crude Oil / CL** -> `CBOE:OVX`
## Features
- Automatic symbol recognition using `syminfo.ticker` and `syminfo.root`
- Dynamic mapping of the active chart to its corresponding volatility index
- Clean volatility plot in a separate pane
- On-chart label showing the currently active symbol mapping
- Graceful fallback when no supported mapping is available
## How It Works
The indicator checks the active chart symbol and determines whether it matches one of the supported index or futures roots. Once a valid match is found, the script requests the `close` data of the corresponding volatility index and plots it in real time.
This approach makes it easier to compare price action in the underlying market with its associated implied volatility measure, which can be useful for context, regime identification, and discretionary decision-making.
## Typical Use Cases
- Monitoring implied volatility alongside major equity indices
- Tracking sentiment shifts in SPX, NDX, and RUT through VIX, VXN, and RVX
- Observing volatility conditions in Gold and Crude Oil markets
- Keeping the relevant volatility benchmark visible without manually changing symbols
## Notes
This script is intended for use in a separate pane (`overlay=false`).
Mapped symbols must be available through your TradingView data feed. Depending on the exchange or subscription plan, some volatility indices may not be accessible for all users.
## Release Notes
### Version 1.0.0
Initial public release.
- Added automatic volatility index mapping based on the active chart symbol
- Added support for SPX / VIX
- Added support for NDX / VXN
- Added support for RUT / RVX
- Added support for DAX / VDAX-NEW
- Added support for Gold / GVZ
- Added support for Crude Oil / OVX
- Added an on-chart label displaying the active mapping
## Disclaimer
This indicator is provided for informational and educational purposes only. It does not constitute financial advice, investment guidance, or a recommendation to buy or sell any instrument.
Indicador

Wave Structure Projection MapWave Structure Projection Map
Wave Structure Projection Map is a pivot-based structure analysis tool designed to organize swing highs, swing lows, ABC corrective structure, Fibonacci retracement levels, and forward projection guides into one visual framework.
The script is built to help users study how price forms swing structure, how pullbacks behave inside a broader move, where a possible C-point may develop, and where retracement or extension reference levels may become important.
It does not provide buy or sell recommendations. The purpose of this script is to help users analyze wave-like price structure, corrective movement, retracement behavior, and potential continuation or invalidation zones.
────────────────────
Core Concept
────────────────────
This script is based on the idea that market structure often moves in swings rather than in a straight line.
Price tends to form:
• impulsive moves
• corrective pullbacks
• retracement zones
• continuation or invalidation points
This script focuses on a practical swing-structure workflow rather than strict automatic Elliott Wave counting.
The main concept is:
1. Detect meaningful pivot highs and pivot lows
2. Build a ZigZag-style structure map
3. Evaluate whether the recent sequence resembles an ABC corrective structure
4. Measure the pullback using Fibonacci retracement logic
5. Project possible continuation paths and extension guides from the C-point
This approach helps users review whether a pullback is shallow, normal, deep, or structurally weak.
────────────────────
What This Script Shows / What It Detects
────────────────────
The script can display:
• swing highs and swing lows
• ZigZag structure lines
• ABC structure labeling
• Fibonacci retracement levels
• projected extension guides
• projection fan lines
• trend zone context
• continuation breakout / breakdown tags
• structure invalidation status
• pullback-zone context
These elements are intended to help users understand where the current structure stands and how recent swings connect with retracement and continuation behavior.
────────────────────
How It Works
────────────────────
1. The script detects pivot highs and pivot lows using the selected swing length.
2. It stores recent pivots and organizes them into a ZigZag-style structure map.
3. The latest three-pivot sequence is evaluated as a possible A-B-C corrective structure.
4. The BC leg is measured relative to the AB leg.
5. The retracement is filtered using minimum and maximum retracement settings.
6. Additional range and trend filters can be used to reduce weaker structures.
7. If the structure is valid, the script draws Fibonacci retracement levels based on the active swing.
8. Projection fan lines are drawn forward from the C-point to visualize possible continuation paths.
9. AB=CD, 1.272, and 1.618 style extension guides are also plotted as reference objectives.
10. If price breaks beyond the B-point with the selected ATR buffer, the script can classify the move as a continuation breakout or continuation breakdown.
11. If price violates the base structure, the script can label the setup as invalidated.
This allows the indicator to function as a structured pullback and continuation map rather than a simple swing marker.
────────────────────
Inputs And Customization
────────────────────
Users can adjust:
• swing detection length
• pivot memory
• swing label count
• projection lookahead distance
• trend zone visibility
• ZigZag visibility
• pivot label visibility
• Fibonacci visibility
• projection fan visibility
• ABC label visibility
• structure tag visibility
• impulse extension guide visibility
• minimum and maximum retracement thresholds
• valid-bars-after-C limit
• range filter sensitivity
• ATR-based structure distance filter
• breakout ATR buffer
• optional trend-alignment requirement
• ATR and trend-factor settings
• zone width settings
• line, label, and projection colors
The default settings are intended to provide a balanced view of swing structure without forcing very small or overly noisy pivots into the map.
────────────────────
How To Use
────────────────────
This script is best used as a structure-analysis and projection-assistance tool.
General interpretation examples:
• A clear ABC structure can help users study whether the current move is a pullback inside a larger trend or the start of a deeper reversal.
• Fibonacci retracement levels can help users review whether the pullback is occurring in a commonly observed retracement zone.
• The C-point can be treated as a structural reference area, not as a guaranteed turning point.
• A continuation breakout tag can help users review whether price is moving beyond the corrective structure.
• A structure invalidation label can help users identify where the prior wave interpretation is no longer supported.
• Projection fan lines and extension guides can be used as forward reference paths, not as fixed price targets.
This script is best reviewed together with higher-timeframe structure, support and resistance, trend context, and price-action confirmation.
────────────────────
Confirmation And Repainting Notes
────────────────────
This script uses pivot highs and pivot lows.
Pivot-based structures require bars on both sides of the turning point before they become confirmed.
Because of that, swing labels and related structure lines are naturally confirmed after the pivot is formed.
The script does not use future price data to predict exact market direction, but the pivot-confirmation process means that structural labels appear only after the relevant swing is confirmed.
Users should understand that this is normal behavior for pivot-based structure tools.
────────────────────
Limitations
────────────────────
This script does not predict future price movement.
It does not provide buy or sell recommendations.
An ABC structure does not guarantee continuation or reversal.
A Fibonacci retracement level does not guarantee support or resistance.
Projection fan lines and extension levels are forward reference tools, not promises of future path or target completion.
In highly volatile or choppy conditions, price structure may become noisy and less reliable.
This script should not be used as a standalone trading system.
────────────────────
Disclaimer
────────────────────
This publication is for educational and informational chart analysis only.
It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
All trading and investment decisions are the responsibility of the user.
━━━━━━━━━━━━━━━━━━━━
Wave Structure Projection Map
Wave Structure Projection Map는 pivot 기반 구조 분석 도구로, 스윙 고점과 저점, ABC 보정 구조, Fibonacci 되돌림 레벨, 그리고 전방 투영 가이드를 하나의 시각적 프레임워크 안에서 정리하도록 설계된 보조지표입니다.
이 스크립트는 가격이 어떤 스윙 구조를 만들고 있는지, 더 큰 움직임 안에서 눌림이 어떻게 진행되는지, 잠재적인 C포인트가 어디에서 형성되는지, 그리고 어떤 되돌림 또는 확장 레벨이 중요해질 수 있는지를 분석하는 데 도움을 주기 위해 만들어졌습니다.
이 지표는 매수 또는 매도 추천을 제공하지 않습니다. 목적은 파동형 가격 구조, 보정 움직임, 되돌림 행동, 그리고 잠재적인 지속 또는 무효화 구간을 분석하는 것입니다.
────────────────────
핵심 개념
────────────────────
이 스크립트는 시장 구조가 직선으로 움직이기보다 스윙 단위로 전개되는 경우가 많다는 개념을 바탕으로 합니다.
가격은 보통 다음과 같은 구조를 만듭니다.
• 추세성 진행 구간
• 보정성 눌림 구간
• 되돌림 구간
• 지속 또는 무효화 구간
이 스크립트는 정통 자동 Elliott Wave 카운팅보다는, 실전에서 활용하기 쉬운 스윙 구조 해석 흐름에 초점을 둡니다.
핵심 흐름은 다음과 같습니다.
1. 의미 있는 pivot high / low 감지
2. ZigZag 스타일 구조 형성
3. 최근 시퀀스가 ABC 보정 구조에 가까운지 평가
4. AB 대비 BC의 되돌림 비율 측정
5. C포인트 이후의 잠재적 진행 경로와 확장 가이드 투영
이 접근법은 현재 눌림이 얕은지, 정상적인지, 깊은지, 구조적으로 약한지를 검토하는 데 도움이 됩니다.
────────────────────
이 스크립트가 보여주는 것 / 감지하는 것
────────────────────
이 스크립트는 다음 요소를 표시할 수 있습니다.
• 스윙 고점과 스윙 저점
• ZigZag 구조 라인
• ABC 구조 라벨
• Fibonacci 되돌림 레벨
• 전방 확장 가이드
• Projection fan 라인
• Trend zone 컨텍스트
• continuation breakout / breakdown 태그
• structure invalidation 상태
• pullback-zone 컨텍스트
이 요소들은 현재 구조가 어떤 단계에 있는지, 최근 스윙이 되돌림과 지속 구조와 어떻게 연결되는지를 이해하는 데 도움을 주기 위한 시각적 참고 자료입니다.
────────────────────
작동 방식
────────────────────
1. 선택한 swing length를 기준으로 pivot high와 pivot low를 감지합니다.
2. 최근 pivot들을 저장하고 ZigZag 스타일 구조 맵으로 정리합니다.
3. 최신 3개 pivot 시퀀스를 잠재적 A-B-C 보정 구조로 평가합니다.
4. BC 구간을 AB 구간 대비 얼마나 되돌렸는지 측정합니다.
5. 최소 및 최대 retracement 기준으로 구조를 필터링합니다.
6. 추가적인 range 필터와 trend 필터로 약한 구조를 줄일 수 있습니다.
7. 구조가 유효하면, 활성 스윙 기준으로 Fibonacci 되돌림 레벨을 그립니다.
8. C포인트 이후에는 projection fan 라인을 앞으로 연장해 잠재적 진행 경로를 시각화합니다.
9. AB=CD, 1.272, 1.618 형태의 확장 가이드도 참고용으로 함께 표시합니다.
10. 가격이 선택된 ATR buffer를 포함해 B포인트를 돌파하면 continuation breakout 또는 continuation breakdown으로 분류할 수 있습니다.
11. 가격이 기본 구조를 무너뜨리면 setup invalidated 상태로 표시할 수 있습니다.
즉, 이 지표는 단순한 스윙 마커가 아니라 구조화된 눌림 및 지속 맵으로 작동하도록 설계되었습니다.
────────────────────
입력값 및 설정
────────────────────
사용자는 다음 항목을 조정할 수 있습니다.
• swing detection length
• pivot memory
• swing label count
• projection lookahead distance
• trend zone visibility
• ZigZag visibility
• pivot label visibility
• Fibonacci visibility
• projection fan visibility
• ABC label visibility
• structure tag visibility
• impulse extension guide visibility
• minimum and maximum retracement thresholds
• valid-bars-after-C limit
• range filter sensitivity
• ATR 기반 구조 거리 필터
• breakout ATR buffer
• optional trend-alignment requirement
• ATR 및 trend-factor settings
• zone width settings
• line, label, and projection colors
기본 설정은 너무 작은 pivot이나 과도한 노이즈를 억지로 구조에 포함시키지 않으면서, 균형 잡힌 스윙 구조를 보여주도록 설계되어 있습니다.
────────────────────
사용 방법
────────────────────
이 스크립트는 구조 분석 및 projection 보조 도구로 사용하는 것이 적절합니다.
일반적인 해석 예시는 다음과 같습니다.
• 명확한 ABC 구조는 현재 움직임이 큰 추세 안의 눌림인지, 아니면 더 깊은 반전의 시작인지 검토하는 데 도움이 될 수 있습니다.
• Fibonacci 되돌림 레벨은 현재 눌림이 자주 관찰되는 되돌림 구간에서 진행되고 있는지 확인하는 데 사용할 수 있습니다.
• C포인트는 확정적인 반전점이 아니라 구조적 기준점으로 해석하는 것이 적절합니다.
• continuation breakout 태그는 가격이 보정 구조를 넘어 다시 진행하는지 검토하는 데 사용할 수 있습니다.
• structure invalidation 라벨은 기존 구조 해석이 더 이상 유효하지 않은 위치를 확인하는 데 도움을 줄 수 있습니다.
• projection fan 라인과 extension 가이드는 미래 경로에 대한 참고선이지, 고정된 목표가가 아닙니다.
이 스크립트는 상위 시간대 구조, 지지와 저항, 추세 컨텍스트, 가격 행동 확인과 함께 보는 것이 좋습니다.
────────────────────
확인봉 및 리페인트 안내
────────────────────
이 스크립트는 pivot high와 pivot low를 사용합니다.
Pivot 기반 구조는 전환점 양쪽에 일정 수의 봉이 형성되어야 확정됩니다.
따라서 스윙 라벨과 관련 구조선은 해당 pivot이 확인된 뒤에 자연스럽게 표시됩니다.
이 스크립트는 미래 가격 데이터를 사용해 방향을 예측하지 않지만, pivot 확정 과정 자체 때문에 구조 라벨은 관련 스윙이 확인된 뒤에만 나타납니다.
이는 pivot 기반 구조 지표에서 정상적인 동작입니다.
────────────────────
한계
────────────────────
이 스크립트는 미래 가격 움직임을 예측하지 않습니다.
매수 또는 매도 추천을 제공하지 않습니다.
ABC 구조가 나타났다고 해서 반드시 추세 지속이나 반전을 보장하지는 않습니다.
Fibonacci 되돌림 레벨이 반드시 지지나 저항으로 작동하는 것은 아닙니다.
Projection fan 라인과 extension 레벨은 참고용 전방 가이드일 뿐, 실제 경로나 목표 달성을 보장하지 않습니다.
변동성이 매우 크거나 횡보가 심한 구간에서는 구조가 노이즈처럼 보일 수 있으며 신뢰도가 낮아질 수 있습니다.
이 스크립트를 단독 매매 시스템으로 사용해서는 안 됩니다.
────────────────────
중요 고지
────────────────────
본 게시물은 교육 및 정보 제공 목적의 차트 분석 자료입니다.
투자 자문, 매수·매도 추천, 특정 금융상품 거래 권유를 의미하지 않습니다.
모든 투자 판단과 그 결과에 대한 책임은 이용자 본인에게 있습니다. Indicador

Indicador

Stochastic Cycle PulseStochastic Cycle Pulse
Stochastic Cycle Pulse is a momentum-cycle oscillator based on the classic Stochastic Oscillator. It is designed to show where price is positioned inside its recent high-low range, while also tracking overbought / oversold cycles, %K / %D crossover behavior, and trend-context conditions.
The script calculates a smoothed %K and %D line, highlights the 80 / 20 reference zones, and adds a simple cycle-state system that helps users review when stochastic momentum moves from oversold recovery toward overbought exhaustion.
It does not provide buy or sell recommendations. The purpose of this script is to help users study stochastic momentum cycles, overbought and oversold behavior, crossover timing, and trend-context alignment.
────────────────────
Core Concept
────────────────────
The Stochastic Oscillator is based on the idea that momentum can be evaluated by comparing the current close to the recent high-low range.
When the oscillator is near the upper part of the range, price is closing closer to recent highs.
When the oscillator is near the lower part of the range, price is closing closer to recent lows.
This script focuses on four stochastic-cycle concepts:
• Overbought and oversold zone recognition
• %K and %D crossover behavior
• Momentum-cycle recovery after oversold conditions
• Potential cycle exhaustion after the upper zone is reached
A bullish cycle event can appear when %K crosses above %D from the oversold zone.
A bearish cycle event can appear when %K crosses below %D after the oscillator has reached the upper zone.
The script also includes trend-context filtering so users can review whether stochastic events are occurring with or against the broader chart direction.
────────────────────
What This Script Shows
────────────────────
The script can display:
• Smoothed %K line
• Smoothed %D line
• Overbought reference zone
• Oversold reference zone
• Midline reference
• Bullish cycle markers
• Bullish cycle refresh markers
• Bearish cycle markers
• Optional raw %K / %D crossover markers
• Trend-context background
• Status table with stochastic, zone, cycle, context, and ADX information
These elements are intended to make stochastic cycle movement easier to review on the chart.
────────────────────
How It Works
────────────────────
1. The script calculates the Stochastic %K value from the selected high-low range.
2. %K is smoothed using the selected smoothing length.
3. %D is calculated as a moving average of the smoothed %K.
4. The oscillator is compared against the overbought, oversold, and midline levels.
5. The script detects %K / %D bullish and bearish crossovers.
6. A cycle-state system checks whether a bullish crossover occurs from the oversold zone.
7. After a bullish cycle begins, the script waits for the oscillator to reach the upper zone.
8. After the upper zone is reached, a bearish crossover can mark a cycle-down event.
9. Optional refresh logic can mark another bullish crossover if the oscillator remains near the oversold region.
10. EMA and ADX / DMI context can be used to identify whether the broader trend is strong upward, strong downward, or mixed.
11. Optional counter-trend blocking can reduce signals that occur against a strong directional trend.
12. A status table summarizes the current stochastic value, zone, cycle state, trend context, and ADX value.
────────────────────
Visual Elements
────────────────────
The script includes:
• %K line
• %D line
• Overbought zone
• Oversold zone
• Midline
• Bullish cycle dot
• Bullish refresh dot
• Bearish cycle dot
• Optional raw crossover dot
• K / D momentum fill
• Trend-context background
• Status table
The bullish cycle dot is used to highlight a stochastic recovery attempt from the oversold zone.
The bearish cycle dot is used to highlight a potential cycle-down event after the oscillator has already reached the upper zone.
The refresh dot is used when another bullish crossover appears while the oscillator is still near the lower cycle region.
The background context helps users distinguish whether the broader price environment is upward, downward, or mixed.
────────────────────
Inputs And Customization
────────────────────
Users can adjust:
• %K Length
• %K Smoothing
• %D Smoothing
• Overbought level
• Oversold level
• Midline
• Cycle state machine behavior
• GC refresh behavior
• DC confirmation rules
• Cycle timeout length
• EMA context lengths
• ADX and DMI settings
• Counter-trend blocking
• Minimum K / D gap after cross
• Slope-turn requirement
• Raw crossover visibility
• Main line visibility
• Momentum fill visibility
• Zone visibility
• Cycle signal visibility
• Context background visibility
• Status table visibility
• Line, zone, marker, and table colors
The default settings use the common 14 / 3 / 3 stochastic structure with 80 / 20 reference levels, while adding cycle-state logic to reduce random crossover interpretation.
────────────────────
Reference Markers
────────────────────
The script includes several reference markers.
Bullish Cycle Marker:
Shows when %K crosses above %D from the oversold zone and the cycle-state conditions are satisfied.
Bullish Refresh Marker:
Shows when another bullish crossover occurs while the oscillator remains near the lower cycle region.
Bearish Cycle Marker:
Shows when %K crosses below %D after the oscillator has already reached the upper zone.
Raw Crossover Marker:
Optional marker showing basic %K / %D crosses without the full cycle-state filter.
Overbought Zone:
Shows when the stochastic value is near the upper part of its recent range.
Oversold Zone:
Shows when the stochastic value is near the lower part of its recent range.
Status Table:
Displays the current stochastic value, zone, cycle state, context, and ADX reading.
These markers are not trading signals. They are visual reference points for studying stochastic momentum, cycle recovery, and possible exhaustion behavior.
────────────────────
How To Use
────────────────────
Use this script as a stochastic momentum-cycle viewer.
General interpretation examples:
• A bullish cycle marker can help users review where stochastic momentum begins to recover from the oversold zone.
• A bullish refresh marker can help users identify repeated recovery attempts near the lower cycle area.
• A bearish cycle marker can help users review where stochastic momentum weakens after reaching the upper zone.
• The overbought zone can help users identify when price is closing near the upper part of its recent range.
• The oversold zone can help users identify when price is closing near the lower part of its recent range.
• The trend-context background can help users review whether oscillator signals are aligned with the broader trend environment.
• The status table can be used to quickly check the current stochastic zone, cycle state, and ADX context.
This script is best reviewed together with price action, trend structure, support and resistance, volatility, and higher-timeframe context.
────────────────────
Confirmation And Repainting Notes
────────────────────
The script calculates stochastic values from the current high-low range and closing price.
Signals can change while the current candle is still forming because %K, %D, crossover conditions, and zone status can change before candle close.
For more conservative analysis, users should evaluate cycle markers after candle confirmation.
The script does not use future price data to predict upcoming price movement.
Because this script is based on oscillator behavior, signals may appear before, during, or after visible price turning points depending on market speed and volatility.
────────────────────
Limitations
────────────────────
This script does not predict future price movement.
It does not provide buy or sell recommendations.
Overbought does not always mean price must fall.
Oversold does not always mean price must rise.
In strong trends, the stochastic oscillator can remain overbought or oversold for extended periods.
Crossover markers can become noisy in sideways markets, low-volatility ranges, or unstable news-driven conditions.
This script should not be used as a standalone trading system.
────────────────────
Disclaimer
────────────────────
This publication is for educational and informational chart analysis only.
It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
All trading and investment decisions are the responsibility of the user.
━━━━━━━━━━━━━━━━━━━━
Stochastic Cycle Pulse
Stochastic Cycle Pulse는 고전적인 Stochastic Oscillator를 기반으로 한 모멘텀 사이클 보조지표입니다. 가격이 최근 고가-저가 범위 안에서 어느 위치에 있는지 보여주면서, 과매수 / 과매도 사이클, %K / %D 교차 행동, 추세 컨텍스트를 함께 추적하도록 설계되었습니다.
이 스크립트는 smoothing 처리된 %K와 %D 라인을 계산하고, 80 / 20 기준 구간을 표시하며, 스토캐스틱 모멘텀이 과매도 회복 구간에서 과매수 소진 구간으로 이동하는 과정을 복기할 수 있도록 간단한 사이클 상태 시스템을 추가합니다.
이 지표는 매수 또는 매도 추천을 제공하지 않습니다. 목적은 스토캐스틱 모멘텀 사이클, 과매수와 과매도 행동, 교차 타이밍, 추세 컨텍스트 정렬을 관찰하는 것입니다.
────────────────────
핵심 개념
────────────────────
Stochastic Oscillator는 현재 종가가 최근 고가-저가 범위 안에서 어느 위치에 있는지를 비교해 모멘텀을 평가할 수 있다는 개념을 기반으로 합니다.
오실레이터가 상단 범위에 가까울수록 가격이 최근 고점에 가깝게 마감되고 있음을 의미합니다.
오실레이터가 하단 범위에 가까울수록 가격이 최근 저점에 가깝게 마감되고 있음을 의미합니다.
이 스크립트는 네 가지 스토캐스틱 사이클 개념에 초점을 둡니다.
• 과매수 및 과매도 구간 인식
• %K와 %D 교차 행동
• 과매도 이후 모멘텀 회복 사이클
• 상단 구간 도달 이후 잠재적인 사이클 소진
%K가 과매도 구간에서 %D를 상향 돌파하면 상승 사이클 이벤트가 나타날 수 있습니다.
오실레이터가 상단 구간에 도달한 뒤 %K가 %D를 하향 돌파하면 하락 사이클 이벤트가 나타날 수 있습니다.
또한 이 스크립트는 추세 컨텍스트 필터를 포함해, 스토캐스틱 이벤트가 더 넓은 차트 방향성과 일치하는지 또는 반대되는지 확인할 수 있도록 돕습니다.
────────────────────
표시 요소
────────────────────
이 스크립트는 다음 요소를 표시할 수 있습니다.
• Smoothed %K line
• Smoothed %D line
• 과매수 기준 구간
• 과매도 기준 구간
• 중앙선 기준
• 상승 사이클 마커
• 상승 사이클 refresh 마커
• 하락 사이클 마커
• 선택 가능한 기본 %K / %D 교차 마커
• 추세 컨텍스트 배경
• Stochastic, Zone, Cycle, Context, ADX 정보를 포함한 상태 테이블
이 요소들은 차트에서 스토캐스틱 사이클 움직임을 더 쉽게 복기하기 위한 시각적 참고 자료입니다.
────────────────────
작동 방식
────────────────────
1. 선택한 고가-저가 범위를 기준으로 Stochastic %K 값을 계산합니다.
2. 선택한 smoothing 길이로 %K를 부드럽게 처리합니다.
3. %D는 smoothing 처리된 %K의 이동평균으로 계산됩니다.
4. 오실레이터를 과매수, 과매도, 중앙선 레벨과 비교합니다.
5. %K / %D의 상승 및 하락 교차를 감지합니다.
6. 사이클 상태 시스템은 과매도 구간에서 상승 교차가 발생했는지 확인합니다.
7. 상승 사이클이 시작되면, 오실레이터가 상단 구간에 도달하는지 기다립니다.
8. 상단 구간 도달 이후 하락 교차가 발생하면 cycle-down 이벤트로 표시할 수 있습니다.
9. 선택 가능한 refresh 로직은 오실레이터가 여전히 하단 사이클 영역 근처에 있을 때 또 다른 상승 교차를 표시할 수 있습니다.
10. EMA와 ADX / DMI 컨텍스트를 사용해 더 넓은 추세가 강한 상승, 강한 하락, 혼합 상태인지 확인할 수 있습니다.
11. 선택 가능한 counter-trend blocking은 강한 방향성 추세에 반대되는 신호를 줄이는 데 사용할 수 있습니다.
12. 상태 테이블은 현재 stochastic 값, zone, cycle state, trend context, ADX 값을 요약합니다.
────────────────────
시각 요소
────────────────────
이 스크립트는 다음 시각 요소를 포함합니다.
• %K line
• %D line
• Overbought zone
• Oversold zone
• Midline
• Bullish cycle dot
• Bullish refresh dot
• Bearish cycle dot
• Optional raw crossover dot
• K / D momentum fill
• Trend-context background
• Status table
상승 사이클 도트는 과매도 구간에서 스토캐스틱 모멘텀이 회복을 시도하는 위치를 강조하는 데 사용됩니다.
하락 사이클 도트는 오실레이터가 이미 상단 구간에 도달한 이후 잠재적인 cycle-down 이벤트를 강조하는 데 사용됩니다.
Refresh 도트는 오실레이터가 여전히 하단 사이클 영역 근처에 있을 때 또 다른 상승 교차가 나타나는 경우를 표시합니다.
배경 컨텍스트는 더 넓은 가격 환경이 상승, 하락, 혼합 중 어디에 가까운지 구분하는 데 도움을 줍니다.
────────────────────
입력값 및 설정
────────────────────
사용자는 다음 항목을 조정할 수 있습니다.
• %K Length
• %K Smoothing
• %D Smoothing
• Overbought level
• Oversold level
• Midline
• Cycle state machine behavior
• GC refresh behavior
• DC confirmation rules
• Cycle timeout length
• EMA context lengths
• ADX and DMI settings
• Counter-trend blocking
• Minimum K / D gap after cross
• Slope-turn requirement
• Raw crossover visibility
• Main line visibility
• Momentum fill visibility
• Zone visibility
• Cycle signal visibility
• Context background visibility
• Status table visibility
• Line, zone, marker, and table colors
기본 설정은 일반적인 14 / 3 / 3 스토캐스틱 구조와 80 / 20 기준선을 사용하며, 무작위 교차 해석을 줄이기 위해 사이클 상태 로직을 추가한 형태입니다.
────────────────────
참고 마커
────────────────────
이 스크립트에는 여러 참고 마커가 포함되어 있습니다.
Bullish Cycle Marker:
%K가 과매도 구간에서 %D를 상향 돌파하고 사이클 상태 조건을 만족할 때 표시됩니다.
Bullish Refresh Marker:
오실레이터가 여전히 하단 사이클 영역 근처에 있을 때 또 다른 상승 교차가 발생하면 표시됩니다.
Bearish Cycle Marker:
오실레이터가 이미 상단 구간에 도달한 이후 %K가 %D를 하향 돌파하면 표시됩니다.
Raw Crossover Marker:
전체 사이클 상태 필터 없이 기본 %K / %D 교차를 보여주는 선택형 마커입니다.
Overbought Zone:
스토캐스틱 값이 최근 범위의 상단부에 가까운 구간을 표시합니다.
Oversold Zone:
스토캐스틱 값이 최근 범위의 하단부에 가까운 구간을 표시합니다.
Status Table:
현재 stochastic 값, zone, cycle state, context, ADX 값을 표시합니다.
이 마커들은 매매 신호가 아닙니다. 스토캐스틱 모멘텀, 사이클 회복, 잠재적인 소진 행동을 관찰하기 위한 시각적 참고 지점입니다.
────────────────────
사용 방법
────────────────────
이 스크립트는 스토캐스틱 모멘텀 사이클 확인용 보조지표로 사용할 수 있습니다.
일반적인 해석 예시는 다음과 같습니다.
• 상승 사이클 마커는 과매도 구간에서 스토캐스틱 모멘텀이 회복되기 시작한 위치를 복기하는 데 사용할 수 있습니다.
• 상승 refresh 마커는 하단 사이클 영역 근처에서 반복적인 회복 시도가 나타나는지 확인하는 데 도움을 줄 수 있습니다.
• 하락 사이클 마커는 상단 구간 도달 이후 스토캐스틱 모멘텀이 약화되는 위치를 복기하는 데 사용할 수 있습니다.
• 과매수 구간은 가격이 최근 범위의 상단부에 가깝게 마감되는 상태를 확인하는 데 사용할 수 있습니다.
• 과매도 구간은 가격이 최근 범위의 하단부에 가깝게 마감되는 상태를 확인하는 데 사용할 수 있습니다.
• 추세 컨텍스트 배경은 오실레이터 신호가 더 넓은 추세 환경과 일치하는지 확인하는 데 도움을 줄 수 있습니다.
• 상태 테이블은 현재 stochastic zone, cycle state, ADX context를 빠르게 확인하는 데 사용할 수 있습니다.
이 스크립트는 가격 행동, 추세 구조, 지지와 저항, 변동성, 상위 시간대 컨텍스트와 함께 검토하는 것이 좋습니다.
────────────────────
확인봉 및 리페인트 안내
────────────────────
이 스크립트는 현재 고가-저가 범위와 종가를 기준으로 stochastic 값을 계산합니다.
현재 캔들이 형성되는 동안에는 %K, %D, 교차 조건, zone 상태가 변할 수 있으므로 신호가 달라질 수 있습니다.
보다 보수적인 분석을 원하는 사용자는 봉 마감 이후 사이클 마커를 확인하는 것이 적절합니다.
이 스크립트는 향후 가격 움직임을 예측하기 위해 미래 가격 데이터를 사용하지 않습니다.
오실레이터 기반 스크립트이기 때문에 시장 속도와 변동성에 따라 신호가 눈에 보이는 가격 전환점보다 빠르거나, 전환 중간에 나오거나, 일부 늦게 표시될 수 있습니다.
────────────────────
한계
────────────────────
이 스크립트는 미래 가격 움직임을 예측하지 않습니다.
매수 또는 매도 추천을 제공하지 않습니다.
과매수는 가격이 반드시 하락한다는 뜻이 아닙니다.
과매도는 가격이 반드시 상승한다는 뜻이 아닙니다.
강한 추세에서는 Stochastic Oscillator가 장시간 과매수 또는 과매도 상태에 머무를 수 있습니다.
횡보장, 저변동성 구간, 뉴스성 급변 구간에서는 교차 마커가 노이즈처럼 많이 발생할 수 있습니다.
이 스크립트를 단독 매매 시스템으로 사용해서는 안 됩니다.
────────────────────
중요 고지
────────────────────
본 게시물은 교육 및 정보 제공 목적의 차트 분석 자료입니다.
투자 자문, 매수·매도 추천, 특정 금융상품 거래 권유를 의미하지 않습니다.
모든 투자 판단과 그 결과에 대한 책임은 이용자 본인에게 있습니다. Indicador

Liquidity Sweep Trap ZonesLiquidity Sweep Trap Zones
Liquidity Sweep Trap Zones is a liquidity-based market structure tool designed to detect swing high and swing low sweeps, possible stop-hunt behavior, trap confirmation zones, and mitigation behavior around swept liquidity levels.
The script evaluates whether price temporarily breaks above a previous swing high or below a previous swing low, then reclaims the level through wick or close behavior. It combines sweep penetration, wick quality, ADX / DMI strength, EMA regime, Ichimoku cloud context, volatility activity, premium / discount location, and zone health tracking to filter weaker sweep events.
It does not provide buy or sell recommendations. The purpose of this script is to help users study liquidity sweeps, false breakouts, trap zones, mitigation behavior, and possible reversal or continuation risk around important swing levels.
────────────────────
Core Concept
────────────────────
Liquidity sweep analysis is based on the idea that price often moves beyond visible swing highs or swing lows before reversing or continuing.
A swing high sweep occurs when price moves above a previous high, potentially triggering breakout entries or stop orders, then fails to hold above that level.
A swing low sweep occurs when price moves below a previous low, potentially triggering breakdown entries or stop orders, then fails to hold below that level.
This script focuses on four liquidity-related concepts:
• Swing high and swing low sweep detection
• Wick reclaim or close reclaim behavior
• Trap confirmation after a swept level
• Liquidity zone tracking and mitigation awareness
When price sweeps a previous swing high and reclaims below it, the script may identify a bearish liquidity trap zone.
When price sweeps a previous swing low and reclaims above it, the script may identify a bullish liquidity trap zone.
The script then uses confirmation and scoring logic to separate stronger trap structures from weaker sweep events.
────────────────────
What This Script Shows
────────────────────
The script can display:
• Bearish liquidity sweep markers
• Bullish liquidity sweep markers
• Bearish trap confirmation labels
• Bullish trap confirmation labels
• Sweep wick zones
• Liquidity sweep reference levels
• Mitigated or expired zone behavior
• Trap score percentages
• Zone health information
• Zone retest count information
These elements are intended to help users review where price interacted with prior liquidity, whether the sweep was reclaimed, and whether the zone remains structurally relevant.
────────────────────
How It Works
────────────────────
1. The script identifies confirmed swing highs and swing lows using pivot-based structure.
2. It monitors whether price breaks above a swing high or below a swing low.
3. ATR is used to normalize sweep penetration so the script can avoid extremely small or excessively large sweeps.
4. Wick ratio logic checks whether the candle shows meaningful rejection around the swept level.
5. ADX and DMI conditions evaluate whether the market has enough directional activity or is trapped in low-energy chop.
6. EMA regime and optional Ichimoku cloud context help evaluate the broader trend environment.
7. Premium / discount logic checks whether the sweep occurs in a more contextually meaningful part of the recent dealing range.
8. Volume and ATR activity filters help reduce weak or inactive market signals.
9. When a sweep is detected, the script creates a liquidity zone around the swept wick and reference level.
10. Trap confirmation can occur immediately or after follow-through, depending on the selected settings.
11. The script assigns a trap score based on reclaim quality, wick behavior, volume, ADX, DMI alignment, regime context, premium / discount location, and candle range.
12. Zone health and tested-count tracking help users review whether a liquidity zone has been repeatedly interacted with or weakened over time.
13. Mitigation logic can mark a level as no longer structurally fresh once price reclaims through it.
────────────────────
Visual Elements
────────────────────
The script includes:
• SWEEP marker
• TRAP↑ label
• TRAP↓ label
• TRAP↑+ label for stronger bullish trap structures
• TRAP↓+ label for stronger bearish trap structures
• Liquidity sweep level line
• Sweep wick zone top and bottom lines
• Semi-transparent sweep zone fill
• Optional weak trap marker
• Trap confidence percentage
• Zone health value
• Zone tested-count value
SWEEP marks a raw liquidity sweep event.
TRAP↑ marks a bullish trap confirmation after a downside sweep.
TRAP↓ marks a bearish trap confirmation after an upside sweep.
TRAP↑+ and TRAP↓+ mark stronger trap structures based on the internal score threshold.
The sweep zone shows the wick area and reference level used by the script while evaluating the liquidity event.
────────────────────
Inputs And Customization
────────────────────
Users can adjust:
• Swing length
• Sweep trigger mode
• Confirmation on candle close
• Minimum and maximum sweep penetration
• Minimum sweep wick ratio
• Local extreme lookback
• Sweep cooldown
• Same-level blocking distance
• ATR length
• Volume moving average length
• Follow-through confirmation behavior
• Trap confirmation window
• Strong and valid trap score thresholds
• ADX and DMI filters
• EMA regime filter
• Ichimoku cloud context
• ATR activity filter
• Volume activity filter
• Spike sweep blocking
• Premium / discount range
• Liquidity zone visibility
• Zone holding period
• Zone mitigation tracking
• Zone health capacity
• Strong, valid, weak, and sweep marker visibility
• Trap label display
• Marker and zone colors
The default settings are designed to focus on visible liquidity sweep structures while reducing low-quality signals from narrow chop, inactive volatility, repeated mitigated levels, or extreme one-candle spikes.
────────────────────
Reference Markers
────────────────────
The script includes several reference markers and zones.
SWEEP:
Shows when price sweeps a previous swing high or swing low and satisfies the selected reclaim and wick conditions.
TRAP↑:
Shows when a downside liquidity sweep develops into a bullish trap confirmation.
TRAP↓:
Shows when an upside liquidity sweep develops into a bearish trap confirmation.
TRAP↑+:
Shows when a bullish trap confirmation reaches the stronger score threshold.
TRAP↓+:
Shows when a bearish trap confirmation reaches the stronger score threshold.
Sweep Wick Zone:
Shows the wick area created by the sweep candle.
Liquidity Sweep Level:
Shows the prior swing level that was swept and reclaimed.
Zone Health:
Shows a simplified measure of how much interaction the zone has absorbed relative to the configured volume capacity.
Test Count:
Shows how many times the zone has been meaningfully retested after formation.
These markers are not trading signals. They are visual reference points for studying liquidity behavior, false breakouts, stop-hunt style movement, and trap confirmation around prior swing levels.
────────────────────
How To Use
────────────────────
Use this script as a liquidity sweep and trap-zone viewer.
General interpretation examples:
• A sweep above a prior swing high can show where upside liquidity may have been taken.
• A sweep below a prior swing low can show where downside liquidity may have been taken.
• A bearish trap label can help review failed upside breakout behavior.
• A bullish trap label can help review failed downside breakdown behavior.
• A stronger trap label can help identify sweeps with better context, rejection, and scoring conditions.
• A liquidity zone can help users monitor whether the swept area remains relevant.
• Zone health and test count can help users evaluate whether a level is fresh, repeatedly tested, or weakened.
• Mitigation behavior can help users avoid treating old levels as fresh liquidity areas.
This script is best reviewed together with price action, market structure, support and resistance, volume, volatility, and higher-timeframe trend context.
────────────────────
Confirmation And Repainting Notes
────────────────────
The script uses pivot-based swing highs and swing lows. Pivot structures require bars on both sides of the swing point before they are confirmed.
Because of this, swing reference levels appear only after the pivot condition is confirmed.
Sweep and trap conditions are calculated from available chart data. If confirmation on candle close is enabled, signals are intended to be evaluated after the candle closes.
If users disable close confirmation or use realtime bars, intrabar movement may change sweep, reclaim, or trap conditions before the candle closes.
The script does not use future price data to predict upcoming price movement. However, pivot-based swing references are naturally confirmed after a delay because the swing structure itself requires confirmation bars.
────────────────────
Limitations
────────────────────
This script does not predict future price movement.
It does not provide buy or sell recommendations.
A liquidity sweep does not guarantee reversal.
A trap label does not guarantee continuation in the opposite direction.
Strong trap scores only indicate that the event satisfied more of the selected structural, volatility, regime, and activity conditions.
In very strong trends, price can sweep liquidity and continue in the same direction.
In choppy, low-liquidity, news-driven, or extremely volatile conditions, sweep and trap signals may become less reliable.
This script should not be used as a standalone trading system.
────────────────────
Disclaimer
────────────────────
This publication is for educational and informational chart analysis only.
It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
All trading and investment decisions are the responsibility of the user.
━━━━━━━━━━━━━━━━━━━━
Liquidity Sweep Trap Zones
Liquidity Sweep Trap Zones는 스윙 고점과 스윙 저점의 유동성 스윕, 잠재적인 스탑헌팅 움직임, 트랩 확인 구간, 스윕된 유동성 레벨 주변의 미티게이션 행동을 분석하기 위한 유동성 기반 시장 구조 보조지표입니다.
이 스크립트는 가격이 이전 스윙 고점 위 또는 이전 스윙 저점 아래를 일시적으로 돌파한 뒤, wick 또는 종가 기준으로 해당 레벨을 다시 회수하는지 평가합니다. 스윕 침투 깊이, wick 품질, ADX / DMI 강도, EMA 레짐, 일목구름 컨텍스트, 변동성 활동성, 프리미엄 / 디스카운트 위치, 존 헬스 추적을 함께 사용해 약한 스윕 이벤트를 필터링합니다.
이 지표는 매수 또는 매도 추천을 제공하지 않습니다. 목적은 유동성 스윕, 거짓 돌파, 트랩 구간, 미티게이션 행동, 주요 스윙 레벨 주변의 반전 또는 지속 위험을 관찰하는 것입니다.
────────────────────
핵심 개념
────────────────────
유동성 스윕 분석은 가격이 눈에 잘 보이는 스윙 고점 또는 스윙 저점을 넘어선 뒤 반전하거나 계속 진행되는 경우가 많다는 개념을 기반으로 합니다.
스윙 고점 스윕은 가격이 이전 고점 위로 올라가 돌파 매수 또는 손절 주문을 유발한 뒤, 그 레벨 위에서 유지되지 못할 때 발생합니다.
스윙 저점 스윕은 가격이 이전 저점 아래로 내려가 이탈 매도 또는 손절 주문을 유발한 뒤, 그 레벨 아래에서 유지되지 못할 때 발생합니다.
이 스크립트는 네 가지 유동성 관련 개념에 초점을 둡니다.
• 스윙 고점과 스윙 저점 스윕 감지
• Wick 회수 또는 종가 회수 행동
• 스윕된 레벨 이후 트랩 확인
• 유동성 존 추적 및 미티게이션 인식
가격이 이전 스윙 고점을 스윕한 뒤 다시 아래로 회수하면, 스크립트는 하락형 유동성 트랩 구간을 식별할 수 있습니다.
가격이 이전 스윙 저점을 스윕한 뒤 다시 위로 회수하면, 스크립트는 상승형 유동성 트랩 구간을 식별할 수 있습니다.
이후 확인 및 스코어링 로직을 사용해 강한 트랩 구조와 약한 스윕 이벤트를 구분합니다.
────────────────────
표시 요소
────────────────────
이 스크립트는 다음 요소를 표시할 수 있습니다.
• 하락형 유동성 스윕 마커
• 상승형 유동성 스윕 마커
• 하락형 트랩 확인 라벨
• 상승형 트랩 확인 라벨
• Sweep wick zone
• 유동성 스윕 기준 레벨
• 미티게이션 또는 만료된 존 행동
• 트랩 점수 퍼센트
• 존 헬스 정보
• 존 재테스트 횟수 정보
이 요소들은 가격이 이전 유동성과 어디에서 상호작용했는지, 스윕 이후 회수 행동이 있었는지, 해당 존이 여전히 구조적으로 의미가 있는지 복기할 수 있도록 돕습니다.
────────────────────
작동 방식
────────────────────
1. 피벗 기반 구조를 사용해 확정된 스윙 고점과 스윙 저점을 식별합니다.
2. 가격이 스윙 고점 위 또는 스윙 저점 아래로 돌파하는지 감시합니다.
3. ATR을 사용해 스윕 침투 깊이를 정규화하여 너무 작은 스윕이나 과도하게 큰 스윕을 줄입니다.
4. Wick 비율 로직을 통해 스윕된 레벨 주변에서 의미 있는 거부 반응이 있었는지 확인합니다.
5. ADX와 DMI 조건을 통해 시장에 충분한 방향성 활동성이 있는지 또는 저에너지 횡보인지 평가합니다.
6. EMA 레짐과 선택 가능한 일목구름 컨텍스트를 통해 더 넓은 추세 환경을 확인합니다.
7. 프리미엄 / 디스카운트 로직은 스윕이 최근 dealing range 안에서 더 의미 있는 위치에서 발생했는지 평가합니다.
8. 거래량과 ATR 활동성 필터는 약하거나 비활성화된 시장 신호를 줄이는 데 사용됩니다.
9. 스윕이 감지되면 스크립트는 스윕 wick과 기준 레벨 주변에 유동성 존을 생성합니다.
10. 선택한 설정에 따라 트랩 확인은 즉시 발생하거나 후속 움직임 이후 발생할 수 있습니다.
11. 스크립트는 회수 품질, wick 행동, 거래량, ADX, DMI 정렬, 레짐 컨텍스트, 프리미엄 / 디스카운트 위치, 캔들 범위를 기반으로 트랩 점수를 부여합니다.
12. 존 헬스와 테스트 횟수 추적은 유동성 존이 반복적으로 테스트되었는지 또는 시간이 지나며 약화되었는지 복기할 수 있도록 돕습니다.
13. 미티게이션 로직은 가격이 해당 레벨을 다시 회수하면 그 레벨이 더 이상 신선한 구조가 아닐 수 있음을 표시할 수 있습니다.
────────────────────
시각 요소
────────────────────
이 스크립트는 다음 시각 요소를 포함합니다.
• SWEEP 마커
• TRAP↑ 라벨
• TRAP↓ 라벨
• 더 강한 상승형 트랩 구조를 나타내는 TRAP↑+ 라벨
• 더 강한 하락형 트랩 구조를 나타내는 TRAP↓+ 라벨
• Liquidity sweep level line
• Sweep wick zone 상단 및 하단 라인
• 반투명 sweep zone fill
• 선택 가능한 약한 트랩 마커
• 트랩 신뢰도 퍼센트
• 존 헬스 값
• 존 테스트 횟수 값
SWEEP은 기본 유동성 스윕 이벤트를 표시합니다.
TRAP↑는 하방 스윕 이후 상승형 트랩 확인을 표시합니다.
TRAP↓는 상방 스윕 이후 하락형 트랩 확인을 표시합니다.
TRAP↑+와 TRAP↓+는 내부 점수 기준을 충족한 더 강한 트랩 구조를 표시합니다.
스윕 존은 스크립트가 유동성 이벤트를 평가할 때 사용한 wick 영역과 기준 레벨을 보여줍니다.
────────────────────
입력값 및 설정
────────────────────
사용자는 다음 항목을 조정할 수 있습니다.
• Swing Length
• Sweep Trigger Mode
• Confirm Only On Closed Bar
• 최소 및 최대 스윕 침투 깊이
• 최소 sweep wick ratio
• Local extreme lookback
• Sweep cooldown
• Same-level blocking distance
• ATR Length
• Volume MA Length
• Follow-through confirmation behavior
• Trap confirmation window
• Strong / valid trap score thresholds
• ADX and DMI filters
• EMA regime filter
• Ichimoku cloud context
• ATR activity filter
• Volume activity filter
• Spike sweep blocking
• Premium / discount range
• Liquidity zone visibility
• Zone holding period
• Zone mitigation tracking
• Zone health capacity
• Strong, valid, weak, sweep marker visibility
• Trap label display
• Marker and zone colors
기본 설정은 좁은 횡보, 비활성 변동성, 반복적으로 미티게이션된 레벨, 극단적인 단일 캔들 스파이크에서 발생하는 저품질 신호를 줄이면서, 눈에 보이는 유동성 스윕 구조에 집중하도록 구성되어 있습니다.
────────────────────
참고 마커
────────────────────
이 스크립트에는 여러 참고 마커와 존이 포함되어 있습니다.
SWEEP:
가격이 이전 스윙 고점 또는 스윙 저점을 스윕하고, 선택한 회수 및 wick 조건을 만족할 때 표시됩니다.
TRAP↑:
하방 유동성 스윕이 상승형 트랩 확인으로 발전할 때 표시됩니다.
TRAP↓:
상방 유동성 스윕이 하락형 트랩 확인으로 발전할 때 표시됩니다.
TRAP↑+:
상승형 트랩 확인이 더 강한 점수 기준을 충족할 때 표시됩니다.
TRAP↓+:
하락형 트랩 확인이 더 강한 점수 기준을 충족할 때 표시됩니다.
Sweep Wick Zone:
스윕 캔들이 만든 wick 영역을 표시합니다.
Liquidity Sweep Level:
스윕되고 회수된 이전 스윙 레벨을 표시합니다.
Zone Health:
설정된 거래량 capacity 대비 해당 존이 얼마나 많은 상호작용을 흡수했는지 단순화해 보여줍니다.
Test Count:
존 형성 이후 해당 구간이 의미 있게 재테스트된 횟수를 표시합니다.
이 마커들은 매매 신호가 아닙니다. 유동성 행동, 거짓 돌파, 스탑헌팅성 움직임, 이전 스윙 레벨 주변의 트랩 확인을 관찰하기 위한 시각적 참고 지점입니다.
────────────────────
사용 방법
────────────────────
이 스크립트는 유동성 스윕과 트랩 존 확인용 보조지표로 사용할 수 있습니다.
일반적인 해석 예시는 다음과 같습니다.
• 이전 스윙 고점 위의 스윕은 상방 유동성이 처리된 위치를 보여줄 수 있습니다.
• 이전 스윙 저점 아래의 스윕은 하방 유동성이 처리된 위치를 보여줄 수 있습니다.
• 하락형 트랩 라벨은 실패한 상방 돌파 행동을 복기하는 데 사용할 수 있습니다.
• 상승형 트랩 라벨은 실패한 하방 이탈 행동을 복기하는 데 사용할 수 있습니다.
• 더 강한 트랩 라벨은 컨텍스트, 거부 반응, 스코어 조건이 더 양호한 스윕을 식별하는 데 도움을 줄 수 있습니다.
• 유동성 존은 스윕된 구간이 여전히 의미 있는지 관찰하는 데 사용할 수 있습니다.
• 존 헬스와 테스트 횟수는 해당 레벨이 신선한지, 반복 테스트되었는지, 또는 약화되었는지 평가하는 데 도움을 줄 수 있습니다.
• 미티게이션 행동은 오래된 레벨을 신선한 유동성 영역으로 계속 해석하지 않도록 돕습니다.
이 스크립트는 가격 행동, 시장 구조, 지지와 저항, 거래량, 변동성, 상위 시간대 추세 컨텍스트와 함께 검토하는 것이 좋습니다.
────────────────────
확인봉 및 리페인트 안내
────────────────────
이 스크립트는 피벗 기반 스윙 고점과 스윙 저점을 사용합니다. 피벗 구조는 스윙 지점의 좌우에 필요한 수의 봉이 형성된 뒤에 확정됩니다.
따라서 스윙 기준 레벨은 피벗 조건이 확정된 후에만 나타납니다.
스윕과 트랩 조건은 차트에서 사용 가능한 데이터를 기준으로 계산됩니다. 봉 마감 확인 옵션이 켜져 있다면, 신호는 봉 마감 이후 평가하는 것을 전제로 합니다.
사용자가 종가 확인을 비활성화하거나 실시간 봉에서 사용할 경우, 봉이 마감되기 전의 움직임에 따라 스윕, 회수, 트랩 조건이 달라질 수 있습니다.
이 스크립트는 향후 가격 움직임을 예측하기 위해 미래 가격 데이터를 사용하지 않습니다. 다만 피벗 기반 스윙 기준은 구조상 확인봉이 필요하기 때문에 자연스럽게 지연되어 확정됩니다.
────────────────────
한계
────────────────────
이 스크립트는 미래 가격 움직임을 예측하지 않습니다.
매수 또는 매도 추천을 제공하지 않습니다.
유동성 스윕은 반전을 보장하지 않습니다.
트랩 라벨은 반대 방향의 지속을 보장하지 않습니다.
강한 트랩 점수는 해당 이벤트가 선택된 구조, 변동성, 레짐, 활동성 조건을 더 많이 만족했다는 의미일 뿐입니다.
강한 추세에서는 가격이 유동성을 스윕한 뒤 같은 방향으로 계속 진행될 수 있습니다.
횡보가 심한 시장, 저유동성 환경, 뉴스성 급등락, 극단적 변동성 구간에서는 스윕 및 트랩 신호의 신뢰도가 낮아질 수 있습니다.
이 스크립트를 단독 매매 시스템으로 사용해서는 안 됩니다.
────────────────────
중요 고지
────────────────────
본 게시물은 교육 및 정보 제공 목적의 차트 분석 자료입니다.
투자 자문, 매수·매도 추천, 특정 금융상품 거래 권유를 의미하지 않습니다.
모든 투자 판단과 그 결과에 대한 책임은 이용자 본인에게 있습니다. Indicador

Synapse Trail Pro [WillyAlgoTrader]◆ SYNAPSE TRAIL PRO — FREE & OPEN-SOURCE
Synapse Trail Pro is an overlay indicator that fuses a ratcheted ATR trail, a 3-factor market regime engine, a 5-factor signal quality score, and a complete risk-management layer (SL + TP1/TP2/TP3 + automatic break-even) into one decision-support system. Every signal arrives pre-graded (A / B / C), pre-leveled (SL and three targets drawn on the chart), and pre-contextualized (regime, HTF bias, volume, RSI, ATR percentile — all in one dashboard).
The core problem it solves: classic SuperTrend-style trails fire too many signals in choppy markets, and the trader is left guessing which ones to trust. Synapse Trail Pro keeps the clean visual of an ATR trail but scores each signal 0–100 using multi-factor confluence and tells you the market regime in plain language — so you know at a glance whether the chart wants a trend signal taken or skipped.
This is fully free, open-source Pine v6 — no paywall, no invite, no DM required. Use it, study it, adapt it.
🧩 WHY THESE COMPONENTS WORK TOGETHER
A trail line alone tells you direction. A quality score alone tells you confidence. A regime filter alone tells you environment. None of these are useful in isolation — a high-confidence signal in a choppy regime is still a coin flip, and a clean trail flip in a strong trend with no volume confirmation can still fail.
Synapse Trail Pro fuses them into a single pipeline:
ATR Trail (with optional ratchet) → Direction Flip Detection → Regime Score (ADX + Choppiness + R²) → Quality Score (HTF + Volume + RSI + Regime + Break Strength) → Grade A/B/C → Risk Levels (preset SL + TP1/TP2/TP3) → Break-Even after TP1 → Lifecycle Stats
The trail produces the raw signal. The regime engine tells you whether the market is even capable of trending right now. The quality score weighs five independent confluence factors against that regime. The grade compresses the score into a single letter you can act on. The risk layer then drops your SL, three TPs, and break-even logic onto the chart automatically — so the moment the signal fires, you already see the trade plan.
Without the regime engine, you'd take signals in chop. Without the quality score, you'd treat every flip equally. Without the risk levels, you'd still be calculating SL and TPs manually after the signal. Each component covers a blind spot of the others.
🔍 WHAT MAKES IT ORIGINAL
1️⃣ Ratcheted ATR Trail with Adaptive Volatility Multiplier.
The trail center is an EMA (default 21) of close, with bands at ±ATR × multiplier (default base 1.618 — the golden ratio). When the Ratchet option is on (recommended), the lower band only moves up in a long position and the upper band only moves down in a short — never loosens, only tightens. On a direction flip, the band resets to its raw value.
When the Adaptive Volatility Multiplier is on, the base multiplier auto-scales based on the 100-bar ATR percentile rank:
— Low vol (rank < 30) → multiplier × 0.8 (narrower band, catch the move earlier)
— Mid vol (30–70) → multiplier × 1.0 (default)
— High vol (rank > 70) → multiplier × 1.25 (wider band, avoid noise wicks)
Why this matters: a fixed multiplier overreacts in calm markets and gets whipsawed in volatile ones. Percentile-rank scaling keeps the trail behavior consistent across market conditions.
2️⃣ Composite Market Regime Score (0–100) — three-factor blend.
Each bar, three independent measurements vote on whether the market is trending or choppy:
— ADX (weight 40%) : standard Directional Movement ADX, length 14. Score = min(ADX / 50 × 100, 100). High ADX = strong directional pressure.
— Choppiness Index (weight 35%) : ChopIdx = 100 × log10(sum(TR, N) / (highest(high, N) − lowest(low, N))) / log10(N), then inverted to a trend score: chopScore = 100 − ChopIdx. Length 14. Low choppiness = clean directional movement.
— R² Linearity (weight 25%) : R² = correlation(close, bar_index, 50)². Measures how linearly price is moving. R² near 1 = clean trend, R² near 0 = pure noise.
Final regime score = ADX × 0.40 + chopScore × 0.35 + R² × 100 × 0.25.
Thresholds:
— Score ≥ 60 → Trending (green)
— Score < 35 → Choppy (red) — signals flagged with ⚠ or hard-skipped
— Between → Mixed (yellow)
Why three indicators instead of one: ADX measures strength but lags. Choppiness measures range expansion but can spike on news. R² measures linearity but is noisy on short windows. Combined and weighted, they cover each other's failure modes.
3️⃣ 5-Factor Quality Score (0–100) with letter grading.
When a trail-flip signal fires, it's scored on five confluence factors:
— HTF Bias (max 30 points) : higher-timeframe (4× current TF by default) EMA-50 bias. Match = 30, against = 0, HTF data missing or filter off = 15 (neutral credit).
— Volume Confirmation (max 20 points) : volume > 20-bar SMA × 1.3 (configurable). Auto-bypassed and given full credit on volume-less instruments (FX).
— RSI Momentum (max 20 points) : bullish signal needs RSI > 50, bearish needs RSI < 50.
— Regime Score (max 20 points) : regimeScore × 0.20.
— Break Strength (max 10 points) : how far past the band close pierced, capped at 3 × ATR. breakStrength = min(|breakDist| / ATR, 3) / 3 × 100, then × 0.10.
Grades:
— Score ≥ 75 → A (high-quality, all factors aligned)
— Score ≥ 55 → B (acceptable, most factors aligned)
— Score < 55 → C (weak — most factors against, consider skipping)
A "Min Quality Score" input lets you hide everything below a threshold (e.g., set to 55 to show only A and B grades).
4️⃣ Risk Presets with Per-Trade Snapshot Locking.
Four risk presets (plus Custom) auto-set SL × ATR and TP1/TP2/TP3 as R-multiples:
— Conservative : SL 2.5 × ATR, TP 1R / 2R / 4R
— Balanced (default): SL 1.5 × ATR, TP 1R / 2R / 3R
— Aggressive : SL 1.0 × ATR, TP 1.5R / 2.5R / 4R
— Scalping : SL 0.8 × ATR, TP 0.8R / 1.5R / 2R
— Custom : full manual control
Critical detail: SL and TP multipliers are snapshotted at entry . If you change the preset mid-trade, the open position keeps its original levels — and the Avg R statistic stays accurate (each closed trade contributes its own-time R values).
5️⃣ Break-Even Logic with Diagnostic BE-Save Counter.
When Break-Even After TP1 is on (recommended), reaching TP1 automatically moves the stop-loss to entry price. From the next bar onward, any wick at entry stops out at break-even instead of original SL — letting winners run risk-free to TP2/TP3.
A dedicated BE Saves counter on the dashboard tracks wins that closed because BE-stop fired (TP1 reached but TP3 didn't). A high BE-save ratio is a diagnostic signal that your TP3 may be too far — consider tightening.
6️⃣ Same-Bar Hit Guard + Realistic Closure Logic.
Two guards prevent unrealistic results:
— Entry-bar hold : SL/TP hits are ignored on the entry bar itself. A hairpin wick can't instantly stop out a fresh position.
— Same-bar SL+TP1 : if both SL and TP1 are hit on the same bar, the trade closes as a LOSS (conservative — mirrors realistic broker behavior on a single wick).
Closures are routed through a single classifier function so flip-closures, SL-closures, and TP3-closures are all tallied identically.
7️⃣ Flip Detection + Dedicated Flip Alert.
A "flip" is when an opposite signal fires while a position is still active. The old trade is classified and counted (its TP-reached state determines W/L and R-multiple), THEN the new position opens. A dedicated POSITION FLIP alert fires in addition to the new buy/sell alert, with from-direction, to-direction, prior entry, and new entry — useful for closing managed positions externally.
8️⃣ Unified Dashboard with Three Toggleable Sections.
One positioned table with three sections you can switch on/off individually:
— Trade section : Direction (with grade), SL (with BE marker), TP1/TP2/TP3 (with ✓ on hit), Risk % / R:R with unicode gauge, Bars in Trade.
— Market section : Regime (with 0–100 gauge), HTF bias, Volume status, RSI, ATR | Volatility-rank with adaptive multiplier.
— Statistics section : Total signals + grade breakdown (A:N B:N C:N), Buy/Sell split, Closed trades, W/L, Win rate, Avg R-multiple, BE Saves, Flips.
Dynamic section headers carry live context (e.g., "─── Trade · LONG · 23 bars ───") so the divider itself summarizes state.
9️⃣ Three Trail Visual Schemes for Different Aesthetics.
— Adaptive (Bull/Bear) : classic bright green/red — high visibility.
— Premium Indigo (recommended): muted indigo (long) and earth-brown (short) — financial-terminal aesthetic, never competes with green TP lines.
— Monochrome : neutral grey for ultra-minimal charts.
Optional Double Trail Line adds a dashed secondary line offset by a fraction of ATR (configurable 0.05–1.0 × ATR), creating a "channel" visual. The dashed segments are drawn via a ring-buffer of line.new(... line.style_dashed) instead of plot() — this produces TradingView's native dashed look that plot() can't render natively.
🔟 Theme Auto-Detection + Premium Color Palette.
The indicator detects whether your chart background is dark or light (using color.r(chart.bg_color) < 128) and adapts every palette element accordingly. Theme can also be force-set to Dark or Light. Light-theme variants use deeper, more saturated colors to maintain contrast (e.g., deep crimson SL on white, dark amber for BE).
All label text colors are calibrated for ≥4.5:1 contrast against their background (e.g., dark green text on bright green long labels = 7.8:1 ratio).
1️⃣1️⃣ Webhook-Ready JSON Alerts with Full Payload.
Every buy/sell/flip/SL-hit/TP-hit/BE-activation event can fire as plain text OR structured JSON. The JSON payload includes action, ticker, timeframe, price, SL, TP1/TP2/TP3, R:R, grade, quality score, regime, choppy flag, and flip flag — ready for any webhook automation.
🧠 HOW IT WORKS — STEP BY STEP
Step 1 — ATR + Trail Center: ATR(13) and EMA(21) of close are computed. Raw bands = EMA ± ATR × multiplier (base 1.618).
Step 2 — Adaptive Multiplier (optional): If on, the multiplier scales by 100-bar ATR percentile (×0.8 / ×1.0 / ×1.25).
Step 3 — Ratchet Logic (optional): In a long, the lower band can only move up. In a short, the upper band can only move down. On a direction flip, the band resets to raw.
Step 4 — Direction Flip Detection: Close > prev upper band → direction = 1 (long). Close < prev lower band → direction = −1 (short). A change in direction is the raw signal.
Step 5 — Regime Score: ADX × 0.40 + ChopScore × 0.35 + R² × 100 × 0.25. Trending ≥ 60, Choppy < 35.
Step 6 — Quality Score: HTF (0/15/30) + Volume (0 or 20) + RSI (0 or 20) + Regime × 0.20 + BreakStrength × 0.10. Grade A ≥ 75, B ≥ 55, C < 55.
Step 7 — Filtering: Min Quality threshold, choppy-skip toggle, barstate.isconfirmed gating.
Step 8 — Risk Levels: SL = entry ± ATR × slMult. TP1/TP2/TP3 = entry ± slDistance × tpMult. All snapshotted to the trade.
Step 9 — Lifecycle: On TP1 first-touch → BE activates (SL → entry). On SL or TP3 → trade closes, classified by tp1Reached (WIN if true, LOSS if false), R-multiple credited (1/3 per TP partition), state reset.
Step 10 — Visuals + Alerts: SL/TP lines drawn forward, labels updated on hit (✓ + cyan), alerts fired with full payload, dashboard updated.
📖 HOW TO USE — BEGINNER GUIDE
🎯 Quick start (5 steps):
1. Add Synapse Trail Pro to your chart on any timeframe.
2. Open Settings. Leave defaults for the first session — they are tuned for general use (Balanced preset, Premium Indigo trail, HTF filter on, BE on).
3. Wait for the first signal to fire (▲ Long or ▼ Short marker). The marker shows the grade (A/B/C) and a ⚠ flag if in choppy regime.
4. Read the dashboard (top-right by default). Note the Direction , Grade , Regime , and the SL/TP1/TP2/TP3 levels — these are your full trade plan.
5. Execute the trade in your broker using the SL and TPs from the dashboard. Optionally partition position 1/3 at each TP.
👁️ Reading the chart:
— 🟢 ▲ Long Grade-letter below a bar = Buy signal. Color matches grade quality.
— 🔴 ▼ Short Grade-letter above a bar = Sell signal.
— ⚠ next to the grade = signal fired in choppy regime (be cautious or skip).
— Trail line = current direction context. Indigo = long bias, terracotta = short bias (in Premium scheme).
— Dashed secondary line = soft/hard limit zone, offset by a fraction of ATR.
— ENTRY line (dotted blue) = your entry reference price.
— SL line (solid red) = your stop-loss.
— TP1 / TP2 / TP3 lines (dashed green) = your take-profit targets. Turn solid teal with ✓ on hit.
— Entry → SL (BE) label in amber = break-even is active (TP1 was reached, SL is now at entry).
📊 Dashboard fields (Trade section):
— Direction : LONG / SHORT / FLAT + Grade letter.
— SL : stop-loss price. Shows "BE @" prefix when break-even is active.
— TP1 / TP2 / TP3 : target prices. ✓ prefix once reached.
— Risk / R:R : distance % from entry to SL + current R:R + visual gauge.
— Bars in Trade : how many bars since entry.
📊 Dashboard fields (Market section):
— Regime : Trending / Mixed / Choppy + 0–100 gauge.
— HTF : higher-timeframe bias (Bullish / Bearish / Flat / off).
— Volume : Confirmed / Weak / no data / off.
— RSI : current 14-period RSI value, color-coded.
— ATR | Vol : ATR value, 100-bar volatility percentile, and current adaptive multiplier.
📊 Dashboard fields (Statistics section):
— Signals : total fired + breakdown (A:N B:N C:N).
— Buy / Sell : directional split.
— Closed : total wins + losses (flip, SL, and TP3 closures all counted).
— W / L : wins / losses.
— Win Rate : TP1-reached = WIN. Color-coded ≥ 55% green, ≥ 45% yellow, else red.
— Avg R : average realized R-multiple per closed trade.
— BE Saves : wins that closed because BE-stop fired (diagnostic).
— Flips : trades closed by opposite signal mid-position.
💡 Beginner trading workflow:
1. Start with the Balanced preset and HTF Bias Filter ON .
2. Only take A-grade or B-grade signals — set Min Quality Score to 55.
3. Skip every signal flagged with ⚠ (choppy regime) until you understand the regime engine — or enable Hard-skip Choppy .
4. Use the Premium Indigo trail scheme — the muted colors keep your focus on the SL/TP levels, not the trail itself.
5. Always partition position 1/3 at each TP — that's what the R-multiple math assumes.
6. After 30–50 trades, review the Statistics section: if Avg R is positive, the setup works. If BE Saves > 30% of wins, consider tightening TP3.
🔧 Tuning guide:
— Too many signals: increase Min Quality Score to 75 (A-grade only), enable Hard-skip Choppy.
— Too few signals: lower Min Quality to 0, turn off HTF filter, switch from Balanced to Aggressive preset.
— Stops too tight: switch to Conservative preset (SL 2.5 × ATR).
— Stops too wide: switch to Scalping preset (SL 0.8 × ATR).
— BE stopping you out too often: disable Break-Even After TP1.
— Trail too jumpy: increase Trail EMA Length from 21 to 34, enable Ratchet.
— Trail too sluggish: decrease Trail EMA Length to 13, decrease ATR Length to 8.
— Chart too busy: turn off Double Trail Line and Regime Background, set Trail History Bars to 50.
⚙️ KEY SETTINGS REFERENCE
⚙️ Main Settings:
— ATR Length (default 13): ATR period for volatility band.
— Base ATR Multiplier (default 1.618 — golden ratio): base band width.
— Trail EMA Length (default 21): EMA period for trail center.
— Adaptive Volatility Multiplier (default off): auto-scale multiplier by 100-bar ATR percentile.
— Ratchet Trail (default on): trail only tightens in position direction.
🔍 Signal Filters:
— Min Quality Score (default 0): hide signals below threshold (0 = all, 55 = B+, 75 = A only).
— Hard-skip Choppy Signals (default off): fully suppress signals in choppy regime.
— Use HTF Bias Filter (default on): Quality Score bonus for HTF-aligned signals.
— HTF for Bias (default empty = auto 4×): higher timeframe for bias check.
— Use Volume Confirmation (default off): bonus when volume > 20-SMA × threshold.
— Volume Threshold (default 1.3): volume × SMA20 to count as confirmation.
🌊 Market Regime:
— ADX Length (default 14)
— Choppiness Length (default 14)
— R² Regression Length (default 50)
🛡️ Risk Management:
— Risk Preset (default Balanced): Conservative / Balanced / Aggressive / Scalping / Custom.
— Custom SL × ATR (default 1.5)
— Custom TP1/TP2/TP3 × Risk (default 1.0 / 2.0 / 3.0)
— Break-Even After TP1 (default on): move SL to entry on TP1.
— Show SL/TP Lines / Labels / % Distance : all on by default.
— Entry / SL / TP Line Styles : Dotted / Solid / Dashed defaults.
🎨 Visual:
— Theme (default Auto)
— Trail Color Scheme (default Adaptive Bull/Bear) — try Premium Indigo for a financial-terminal look.
— Trail Line Width (default 2)
— Trail History Bars (default 0 = all)
— Double Trail Line (default on)
— Double Trail Offset × ATR (default 0.25)
— Show Buy/Sell Labels / Grade / Regime Background / Watermark
📊 Dashboard:
— Show Dashboard (default on) — master toggle
— Position (default Top Right) — 6 positions available
— Trade / Market / Statistics Section toggles
🔔 Alerts:
— Webhook JSON Format (default off): plain text or structured JSON.
— Alert on TP Hits (default off)
— Alert on SL Hit (default on)
— Alert on Position Flip (default on)
🔔 ALERTS
— 🟢 BUY — ticker, TF, price, SL, TP1/TP2/TP3, R:R, grade, quality score, regime, choppy flag, flip flag
— 🔴 SELL — same payload
— 🔄 POSITION FLIP — from-direction, to-direction, prior entry, new entry
— 🛑 SL HIT — entry, SL price, time
— 🛡️ BE STOP-OUT — fires instead of regular SL when break-even was active
— 🎯 TP1 / TP2 / TP3 HIT — first-touch only, no duplicate fires
— 🛡️ BREAK-EVEN — fires the bar TP1 is reached and SL moves to entry
All alerts support plain text and JSON webhook format. All fire bar-close confirmed (alert.freq_once_per_bar_close).
⚠️ IMPORTANT NOTES
— 🚫 No repainting. All signals require barstate.isconfirmed. Alerts fire once per bar close. The HTF security() call uses the canonical non-repaint pattern (close + ema with lookahead_on), reading the closed HTF bar without future leakage.
— 📐 The trail flip is the raw signal source; quality score and filters only suppress, never invent signals. Same-bar SL+TP1 always resolves as a LOSS (conservative bias toward stop).
— 📐 Statistics counters are session-scoped — they reset on script reload, input change, or by incrementing the "Reset Stats Counter" input. The Stats section is descriptive, not predictive: past behavior on a chart does not guarantee future behavior on the same chart.
— ⚖️ Win = TP1 reached (regardless of how the trade ultimately closed). Avg R assumes 1/3 position partitioned at each TP. These are conventions; your live execution may differ.
— 🛠️ This is an analysis tool, not an automated trading bot. It detects trail flips, scores quality, projects SL/TP zones, and tracks outcomes — trade decisions and execution remain yours.
— 🌐 Works on all markets and timeframes. Volume-based filters auto-bypass on instruments without volume data (FX). Adaptive multiplier and regime engine scale naturally across symbols.
— 📜 Fully open-source Pine v6. Read the code, fork it, adapt it. Feedback and forks welcome. Indicador

Trend Pullback Retest MapTrend Pullback Retest Map
Trend Pullback Retest Map is a chart study designed to identify trend-based pullback setups, retest confirmations, failed continuation structures, and possible extension zones within an active market trend.
The script evaluates trend direction, pullback depth, structure bias, volatility range, and retest behavior. It then displays SET, RT, FAIL, and EXT markers to help users review whether price is preparing for continuation, confirming a retest, failing the setup, or becoming extended after a strong directional move.
It does not provide buy or sell recommendations. The purpose of this script is to help users study trend continuation structure, pullback quality, retest behavior, invalidation areas, and late-move extension risk.
────────────────────
Core Concept
────────────────────
Trend continuation analysis is often used to study whether price is likely to resume its previous direction after a controlled pullback.
A healthy pullback generally appears when price retraces within an existing trend without fully breaking the underlying structure.
A retest confirmation generally appears when price attempts to recover after the pullback and re-engage the trend direction.
A failed setup appears when price loses the expected continuation structure before confirmation.
An extension zone appears when price has already moved strongly in one direction and may carry higher late-entry risk.
This script focuses on four trend-continuation concepts:
• Trend-based pullback setup detection
• Retest confirmation after a pullback
• Setup invalidation and failure recognition
• Extension and exhaustion awareness after strong movement
When price pulls back into a valid trend structure, the chart may show a SET marker.
When price recovers from that area and confirms continuation behavior, the chart may show an RT marker.
When the expected structure breaks down, the chart may show a FAIL marker.
When price becomes stretched after a strong move, the chart may show an EXT marker.
────────────────────
What This Script Shows
────────────────────
The script can display:
• SET markers for potential pullback setup areas
• RT markers for retest confirmation
• FAIL markers for invalidated continuation setups
• EXT markers for possible extension or exhaustion zones
• Retest trigger reference lines
• Invalidation reference lines
• Completed setup reference lines
• Optional weak pullback markers
These elements are intended to make trend pullback, retest, failure, and extension behavior easier to review on the chart.
────────────────────
How It Works
────────────────────
1. The script evaluates trend direction using fast, trend, and slow EMA structure.
2. ATR is used to normalize pullback depth, trend progress, candle range, and extension distance.
3. A slow regime filter helps reduce signals against the broader trend environment.
4. A structure bias filter checks whether price is positioned on the correct side of the trend structure.
5. Recent impulse logic helps avoid weak sideways conditions with insufficient directional movement.
6. The script checks whether price has pulled back into a controlled area near the trend structure.
7. A pullback setup can be marked as SET when trend, depth, structure, volume, and candle quality conditions are met.
8. After SET, the script monitors whether price breaks the retest trigger or confirms momentum recovery.
9. If retest confirmation appears, the script marks RT.
10. If price breaks the invalidation area or loses the required trend structure, the script marks FAIL.
11. If price moves too far from the trend structure or shows exhaustion behavior, the script marks EXT.
12. Optional realtime behavior can be controlled so users can review signals with confirmed-bar logic.
────────────────────
Visual Elements
────────────────────
The script includes:
• SET marker
• RT marker
• FAIL marker
• EXT marker
• Optional WK marker
• Retest Trigger Line
• Invalidation Line
• Completed setup line state
• Color-coded event markers
SET is used as a preparation marker.
RT is used as a stronger continuation confirmation marker.
FAIL is used as a structure failure marker.
EXT is used as an extension or late-move caution marker.
The retest trigger line and invalidation line help users review the reference range that the script used while evaluating the setup.
────────────────────
Inputs And Customization
────────────────────
Users can adjust:
• Trend EMA length
• Fast EMA length
• Slow regime EMA length
• ATR length
• Pullback lookback bars
• Minimum trend slope
• Minimum fast / trend EMA gap
• Minimum trend progress
• Minimum trend age
• Structure lookback
• Slow regime filter
• Directional impulse requirements
• Pullback depth range
• Trend hold buffer
• Fast EMA touch buffer
• SET quality score
• Volume quality filter
• Setup range filter
• Chop range filter
• Retest confirmation window
• Direct RT behavior
• EXT reset requirements
• Structure break requirements for RT
• Failure and invalidation settings
• Extension and exhaustion thresholds
• Signal visibility
• Line visibility
• Marker colors and text colors
The default settings are designed to reduce weak sideways signals and focus more on trend continuation structures where price pulls back, recovers, or fails around a defined reference area.
────────────────────
Reference Markers
────────────────────
The script includes several event markers.
SET:
Shows when price forms a potential pullback setup within a valid trend structure.
RT:
Shows when price confirms a retest or momentum recovery after a setup.
FAIL:
Shows when the setup loses its expected continuation structure or breaks the invalidation area.
EXT:
Shows when price appears extended after a strong directional movement and may require caution.
WK:
Optional weak pullback marker that can be enabled to observe deeper or weaker pullback behavior.
Retest Trigger Line:
Shows the reference area that price needs to recover or break through for continuation confirmation.
Invalidation Line:
Shows the reference area where the setup structure is considered weakened or failed.
These markers are not trading signals. They are visual reference points for studying pullback quality, retest confirmation, failed continuation, and extension risk.
────────────────────
How To Use
────────────────────
Use this script as a trend pullback and retest structure viewer.
General interpretation examples:
• SET can be used to review where a pullback setup begins to form.
• RT can be used to review where price confirms recovery after a pullback.
• FAIL can be used to review where the expected continuation structure breaks.
• EXT can be used to review where price may be stretched after a strong move.
• Retest trigger lines can help users understand the confirmation area.
• Invalidation lines can help users understand where the setup loses quality.
• The script should be reviewed together with price action, support and resistance, volume, volatility, and higher-timeframe trend context.
This script should be used with independent analysis, risk management, and a defined trading plan.
────────────────────
Confirmation And Repainting Notes
────────────────────
The script calculates conditions using the available chart data.
Trend context, pullback depth, retest confirmation, failure conditions, and extension conditions can change while the current candle is still forming.
If users want more conservative signal interpretation, events should be evaluated after candle close.
The script does not use future price data to predict upcoming price movement.
Some signals may appear after a structure is already partially formed because confirmation conditions require price behavior to develop first.
────────────────────
Limitations
────────────────────
This script does not predict future price movement.
It does not provide buy or sell recommendations.
SET and RT markers are not guaranteed continuation signals.
FAIL markers may appear after part of the move has already occurred because failure confirmation requires price to break or weaken the expected structure.
EXT markers do not guarantee reversal. They only indicate that price may be extended relative to the selected trend and volatility conditions.
In choppy, low-liquidity, news-driven, or highly volatile markets, the script may produce weaker or delayed signals.
The script should not be used as a standalone trading system.
────────────────────
Disclaimer
────────────────────
This publication is for educational and informational chart analysis only.
It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
All trading and investment decisions are the responsibility of the user.
━━━━━━━━━━━━━━━━━━━━
Trend Pullback Retest Map
Trend Pullback Retest Map은 활성화된 시장 추세 안에서 추세 기반 눌림목 셋업, 리테스트 확인, 추세 지속 실패 구조, 과열 확장 구간을 식별하기 위한 차트 분석 보조지표입니다.
이 스크립트는 추세 방향, 눌림 깊이, 구조 편향, 변동성 범위, 리테스트 행동을 평가합니다. 이후 SET, RT, FAIL, EXT 마커를 표시해 가격이 추세 지속을 준비하는지, 리테스트를 확인하는지, 셋업이 실패하는지, 또는 강한 방향성 이동 이후 과도하게 확장되었는지 복기할 수 있도록 돕습니다.
이 지표는 매수 또는 매도 추천을 제공하지 않습니다.
목적은 추세 지속 구조, 눌림목 품질, 리테스트 행동, 무효화 영역, 늦은 진입 위험이 있는 확장 구간을 관찰하는 것입니다.
────────────────────
핵심 개념
────────────────────
추세 지속 분석은 가격이 일정한 눌림 이후 기존 방향으로 다시 이어질 수 있는지를 관찰하는 데 자주 사용됩니다.
건강한 눌림은 일반적으로 기존 추세 구조를 완전히 깨지 않으면서 가격이 일정 부분 되돌림을 보일 때 나타납니다.
리테스트 확인은 눌림 이후 가격이 다시 회복하면서 기존 추세 방향으로 재진입하려는 행동을 보일 때 나타납니다.
실패한 셋업은 확인이 나오기 전에 가격이 기대했던 추세 지속 구조를 잃을 때 나타납니다.
확장 구간은 가격이 이미 한 방향으로 강하게 움직인 뒤 늦은 진입 위험이 커질 수 있는 구간을 의미합니다.
이 스크립트는 네 가지 추세 지속 개념에 초점을 둡니다.
• 추세 기반 눌림목 셋업 감지
• 눌림 이후 리테스트 확인
• 셋업 무효화 및 실패 인식
• 강한 움직임 이후 확장 및 과열 인식
가격이 유효한 추세 구조 안으로 눌리면 차트에 SET 마커가 표시될 수 있습니다.
가격이 해당 구간에서 회복하고 추세 지속 행동을 확인하면 RT 마커가 표시될 수 있습니다.
기대했던 구조가 무너지면 FAIL 마커가 표시될 수 있습니다.
가격이 강한 움직임 이후 과도하게 확장되면 EXT 마커가 표시될 수 있습니다.
────────────────────
표시 요소
────────────────────
이 스크립트는 다음 요소를 표시할 수 있습니다.
• 잠재적 눌림목 셋업 구간을 나타내는 SET 마커
• 리테스트 확인을 나타내는 RT 마커
• 무효화된 추세 지속 셋업을 나타내는 FAIL 마커
• 과열 또는 확장 가능성을 나타내는 EXT 마커
• 리테스트 트리거 기준선
• 무효화 기준선
• 완료된 셋업 기준선
• 선택 가능한 약한 눌림 마커
이 요소들은 차트 위에서 추세 눌림, 리테스트, 실패, 확장 행동을 더 쉽게 복기하기 위한 시각적 참고 자료입니다.
────────────────────
작동 방식
────────────────────
1. 빠른 EMA, 추세 EMA, 장기 EMA 구조를 사용해 추세 방향을 평가합니다.
2. ATR을 사용해 눌림 깊이, 추세 진행도, 캔들 범위, 확장 거리를 정규화합니다.
3. 장기 레짐 필터를 통해 더 넓은 추세 환경과 반대되는 신호를 줄입니다.
4. 구조 편향 필터를 통해 가격이 추세 구조의 적절한 방향에 위치해 있는지 확인합니다.
5. 최근 임펄스 로직을 통해 방향성이 부족한 약한 횡보 구간을 줄입니다.
6. 가격이 추세 구조 근처의 통제된 영역으로 눌렸는지 확인합니다.
7. 추세, 눌림 깊이, 구조, 거래량, 캔들 품질 조건이 충족되면 SET으로 표시될 수 있습니다.
8. SET 이후 가격이 리테스트 트리거를 돌파하거나 모멘텀 회복을 확인하는지 관찰합니다.
9. 리테스트 확인이 나타나면 RT를 표시합니다.
10. 가격이 무효화 영역을 깨거나 필요한 추세 구조를 잃으면 FAIL을 표시합니다.
11. 가격이 추세 구조에서 지나치게 멀어지거나 과열 행동을 보이면 EXT를 표시합니다.
12. 선택 가능한 실시간 동작 설정을 통해 확정봉 기준으로 신호를 검토할 수 있습니다.
────────────────────
시각 요소
────────────────────
이 스크립트는 다음 시각 요소를 포함합니다.
• SET 마커
• RT 마커
• FAIL 마커
• EXT 마커
• 선택 가능한 WK 마커
• Retest Trigger Line
• Invalidation Line
• 완료된 셋업 라인 상태
• 색상으로 구분된 이벤트 마커
SET은 준비 구간 마커로 사용됩니다.
RT는 더 강한 추세 지속 확인 마커로 사용됩니다.
FAIL은 구조 실패 마커로 사용됩니다.
EXT는 확장 또는 늦은 진입 주의 마커로 사용됩니다.
리테스트 트리거 라인과 무효화 라인은 스크립트가 셋업을 평가할 때 사용한 기준 범위를 복기하는 데 도움을 줍니다.
────────────────────
입력값 및 설정
────────────────────
사용자는 다음 항목을 조정할 수 있습니다.
• Trend EMA Length
• Fast EMA Length
• Slow Regime EMA Length
• ATR Length
• Pullback Lookback Bars
• 최소 추세 기울기
• 최소 Fast / Trend EMA 간격
• 최소 추세 진행도
• 최소 추세 유지 시간
• 구조 기준 lookback
• 장기 레짐 필터
• 방향성 임펄스 조건
• 눌림 깊이 범위
• 추세 유지 버퍼
• Fast EMA 터치 버퍼
• SET 품질 점수
• 거래량 품질 필터
• 셋업 범위 필터
• 횡보 범위 필터
• 리테스트 확인 구간
• Direct RT 동작
• EXT 이후 reset 조건
• RT 구조 돌파 조건
• 실패 및 무효화 설정
• 확장 및 과열 기준
• 신호 표시 여부
• 라인 표시 여부
• 마커 색상 및 텍스트 색상
기본 설정은 약한 횡보 신호를 줄이고, 가격이 눌림 이후 회복하거나 실패하는 추세 지속 구조에 더 집중하도록 구성되어 있습니다.
────────────────────
참고 마커
────────────────────
이 스크립트에는 여러 이벤트 마커가 포함되어 있습니다.
SET:
가격이 유효한 추세 구조 안에서 잠재적 눌림목 셋업을 형성할 때 표시됩니다.
RT:
가격이 셋업 이후 리테스트 또는 모멘텀 회복을 확인할 때 표시됩니다.
FAIL:
셋업이 기대했던 추세 지속 구조를 잃거나 무효화 영역을 이탈할 때 표시됩니다.
EXT:
가격이 강한 방향성 이동 이후 확장되어 주의가 필요할 수 있을 때 표시됩니다.
WK:
더 깊거나 약한 눌림 행동을 관찰하기 위해 선택적으로 활성화할 수 있는 약한 눌림 마커입니다.
Retest Trigger Line:
가격이 추세 지속 확인을 위해 회복하거나 돌파해야 하는 기준 영역을 표시합니다.
Invalidation Line:
셋업 구조가 약화되거나 실패했다고 볼 수 있는 기준 영역을 표시합니다.
이 마커들은 매매 신호가 아닙니다.
눌림 품질, 리테스트 확인, 추세 지속 실패, 확장 위험을 관찰하기 위한 시각적 참고 지점입니다.
────────────────────
사용 방법
────────────────────
이 스크립트는 추세 눌림과 리테스트 구조 확인용 보조지표로 사용할 수 있습니다.
일반적인 해석 예시는 다음과 같습니다.
• SET은 눌림목 셋업이 형성되기 시작한 위치를 복기하는 데 사용할 수 있습니다.
• RT는 눌림 이후 가격이 회복을 확인한 위치를 복기하는 데 사용할 수 있습니다.
• FAIL은 기대했던 추세 지속 구조가 무너진 위치를 복기하는 데 사용할 수 있습니다.
• EXT는 강한 움직임 이후 가격이 과도하게 확장되었을 수 있는 구간을 복기하는 데 사용할 수 있습니다.
• 리테스트 트리거 라인은 확인 기준 영역을 이해하는 데 도움을 줄 수 있습니다.
• 무효화 라인은 셋업 품질이 사라지는 구간을 이해하는 데 도움을 줄 수 있습니다.
• 이 스크립트는 가격 행동, 지지와 저항, 거래량, 변동성, 상위 시간대 추세 컨텍스트와 함께 검토해야 합니다.
이 스크립트는 독립적인 분석, 리스크 관리, 본인의 매매 계획과 함께 참고해야 합니다.
────────────────────
확인봉 및 리페인트 안내
────────────────────
이 스크립트는 차트에서 사용 가능한 데이터를 기준으로 조건을 계산합니다.
현재 캔들이 형성되는 동안에는 추세 컨텍스트, 눌림 깊이, 리테스트 확인, 실패 조건, 확장 조건이 달라질 수 있습니다.
보다 보수적인 신호 해석을 원하는 사용자는 봉 마감 이후 이벤트를 확인해야 합니다.
이 스크립트는 향후 가격 움직임을 예측하기 위해 미래 가격 데이터를 사용하지 않습니다.
일부 신호는 확인 조건이 가격 행동의 진행을 필요로 하기 때문에 구조가 일부 형성된 뒤 표시될 수 있습니다.
────────────────────
한계
────────────────────
이 스크립트는 미래 가격 움직임을 예측하지 않습니다.
매수 또는 매도 추천을 제공하지 않습니다.
SET과 RT 마커는 추세 지속을 보장하지 않습니다.
FAIL 마커는 실패 확인을 위해 가격이 구조를 깨거나 약화되는 과정이 필요하므로 움직임이 일부 진행된 뒤 표시될 수 있습니다.
EXT 마커는 반전을 보장하지 않습니다. 선택한 추세 및 변동성 조건 대비 가격이 확장되었을 가능성을 나타낼 뿐입니다.
횡보가 심한 시장, 저유동성 시장, 뉴스성 급등락, 급변동 구간에서는 신호가 약해지거나 늦게 표시될 수 있습니다.
이 스크립트를 단독 매매 시스템으로 사용해서는 안 됩니다.
────────────────────
중요 고지
────────────────────
본 게시물은 교육 및 정보 제공 목적의 차트 분석 자료입니다.
투자 자문, 매수·매도 추천, 특정 금융상품 거래 권유를 의미하지 않습니다.
모든 투자 판단과 그 결과에 대한 책임은 이용자 본인에게 있습니다. Indicador

BB-RSI - Short IndicatorBB-RSI — Short Indicator
🔷 What it does:
This is a signal-only indicator that mirrors a fade-the-strength short DCA workflow. It tracks one virtual short position at a time, opened only when TWO independent overbought conditions align on a lower timeframe, then scales the position with up to nine safety orders as price ladders higher against entry. The indicator computes a running average entry, total deployed capital, and open PnL from the live fill ledger and renders all of it on the chart. Every event emits a webhook-ready JSON payload tailored for a DCA Bot.
- Dual confirmation entry: Bollinger Bands %B(20, 2.0) crossing up 1.00 AND RSI(7) crossing up 65, both on 30m.
- Wide deviation ladder: 0.72% to first safety order, 1.55× step multiplier — last AO at ~63% above base entry.
- Soft compounding: each safety order is sized 1.03× the previous one.
- Fixed exit: TP at 2.11% below the running average entry. No trailing, no Stop Loss.
- Eleven discrete events per cycle (entry + 9 AO fills + TP) — each one fires its own webhook payload.
🔷 Who is it for:
- Swing traders running a DCA Bot on crypto perpetuals that frequently overshoot resistance.
- Bot operators who want a chart-driven signal source that emits per-event JSON ready for a DCA Bot.
- Traders who want to monitor an evolving short position — base entry, owned AO levels, deployed capital, open PnL — directly on the chart without the strategy-tester overhead.
- Risk-conscious operators building a high-confidence, low-drawdown defensive short into a diversified portfolio.
🔷 How does it work:
Bollinger Bands %B Filter: A 30-minute Bollinger Bands(20, 2.0) is sampled via request.security and converted to %B = (close − lower) / (upper − lower). The BB gate fires when %B crosses up the configured level (default 1.00 — price exiting the upper band) at host-bar close.
RSI Filter: A 30-minute RSI(7) is sampled in parallel. The RSI gate fires when RSI crosses up the configured level (default 65 — entering overbought) at host-bar close.
Entry: When both gates align at the same host-bar close, the indicator marks a virtual short entry, captures the base entry price, seeds the cost-basis ledger, and fires the entry webhook payload.
Safety Order Ladder: After base entry, the indicator monitors close price upward against the position. When close reaches base entry × (1 + cumulative deviation), the k-th safety order is marked filled, cost-basis is updated, and the AO webhook payload is fired. Cumulative deviation grows by the step multiplier (default 1.55): 0.72%, 1.84%, 3.57%, 6.25%, 10.40%, 16.48%, 25.90%, 40.51%, 63.14%. AO USDT size grows by 1.03× per fill — soft compounding rather than aggressive martingale.
Honest Virtual Bookkeeping: Total cost and total qty are updated incrementally on every event, so the avg entry, deployed capital, and open PnL displayed in the status table reflect the actual broker-equivalent position state — no shortcut from base entry, no synthetic averaging.
Exit: A fixed Take Profit at 2.11% below the running average entry. When close reaches the TP target, the close webhook payload fires and the virtual position resets.
🔷 Why it's unique:
- Dual-Filter Confirmation: Two independent signals on the same lower timeframe must align. %B captures volatility expansion beyond statistical bounds; RSI captures momentum overheating. Together they filter out the either-or noise that triggers single-condition strategies.
- Soft Compounding Ladder: The 1.03× size multiplier is much gentler than typical martingale (1.5–2.0×). It scales position size with adverse drift but doesn't blow up capital deployment if all safety orders fill.
- Fill-by-Fill Avg Entry: The orange avg-entry line is derived from running totals updated on every event — what you see is what the broker-equivalent position would actually have.
- Per-Event Webhook Ledger: Eleven distinct events per cycle, each with its own JSON alert payload. The indicator drives a DCA Bot end-to-end through a single TradingView alert.
🔷 Considerations Before Using the Indicator:
Market & Timeframe: Designed for liquid crypto perpetuals on 30m–1h ranges. Default thresholds are calibrated for ATOMUSDT.P 30m. Strongly trending markets will fill the entire 9-AO ladder and hold the short while price grinds higher — the dual filter limits exposure to confirmed overbought conditions, but a regime shift to a strong trend requires manual oversight.
Cross Detection Granularity: Entries and AO fills are evaluated on bar close. A bar that spikes through a level and returns within the same bar may be missed by design — this matches realistic polling behavior and avoids over-signaling on intra-bar wicks.
Live vs Historical State: The virtual position state is rebuilt from chart history each time the indicator is recompiled. If the indicator is added mid-deployment or the live bot diverges from the signal stream (manual interventions, partial fills), the indicator state may not match the live bot. Toggle the indicator off and on to reset.
Funding Rates (Perpetuals): The indicator does not account for perpetual funding rates. Sustained positive funding (longs pay shorts) improves live performance; sustained negative funding degrades it. Review the historical funding pattern before live deployment.
No Stop Loss: There is no exit signal on adverse moves beyond the 9-AO ladder. Risk is structurally capped on the bot side by the bounded position-size ladder. If a hard exchange-side stop is required, configure it on the bot directly.
Backtesting Note: This is an indicator, not a strategy. There is no built-in P&L tester. For performance metrics over a 2.5-year sample (~267 closed trades, 79.78% win rate, 1.53% max drawdown, profit factor 6.23), use the companion strategy version on identical parameters.
🔷 How to Use It:
🔸 Add the indicator to a 30m chart on the perpetual pair you want to trade.
🔸 Review the BB filter (timeframe / period / deviation / level) and the RSI filter (timeframe / length / level). Defaults are calibrated for ATOMUSDT.P 30m — recalibrate per asset before deploying.
🔸 Set the AO ladder parameters (count, first AO size, step, multipliers) and the Take Profit percentage to match your bot's configuration.
🔸 In the DCA Bot Webhook group, paste the Bot ID, Email Token, and Pair (QUOTE_BASE format, e.g., USDT_ATOM).
🔸 Create an alert on the indicator with "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field. The indicator will emit JSON payloads for short entry, each safety order, and TP exit — formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
Base Order Size (USDT): Virtual order size for the avg-entry computation. Real sizing happens on the bot.
First AO Size (USDT): Virtual size of the first safety order; subsequent AOs scale by the Size Multiplier.
Order Size Multiplier: Factor that grows each subsequent safety order's USDT size.
Averaging Orders per Trade: Maximum number of safety orders per deal (default 9).
Deviation to First AO (%): Distance from base entry at which AO1 becomes eligible.
Deviation Step Multiplier: Ladder factor that widens each subsequent deviation step.
BB Timeframe / Period / Deviation / Level: Lower-timeframe Bollinger Bands %B filter on the host symbol.
RSI Timeframe / Length / Level: Lower-timeframe RSI filter on the host symbol.
Take Profit (%): Fixed distance below the running average entry where the virtual short closes.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle DCA Ladder, Avg Entry / TP plot lines, fill labels, signal triangles, status table.
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Indicador

PrimeWave AI [AuraNex]PrimeWave AI is an advanced adaptive trading indicator built around the core principles of Ichimoku Cloud analysis, enhanced with intelligent filtering and trade management systems. Unlike traditional fixed-parameter Ichimoku indicators, it dynamically adjusts key periods based on market volatility using an adaptive ATR-driven engine, allowing faster reactions during volatile conditions and smoother behavior in quiet markets.
The indicator combines multiple market factors including price position relative to the cloud, Tenkan–Kijun relationships, Chikou confirmation, cloud structure, volume activity, and a custom Momentum Pulse Engine to measure trend strength and acceleration. These factors are processed through a Confluence Scoring Engine that assigns a score from 0–100, helping identify higher-probability trading opportunities and filter weaker setups.
PrimeWave AI also includes a Kumo Breakout system for detecting cloud breakouts and retests, along with a Smart TP/SL engine that automatically calculates stop-loss and multiple take-profit levels using cloud boundaries, Kijun levels, or ATR-based methods.
Additional features include multi-timeframe trend alignment, automatic support/resistance zone detection, visual dashboards, customizable signal labels, and webhook-ready alerts, creating a complete trading framework for trend identification, signal confirmation, and risk management. Indicador

BB-RSI Overbought DCA - Short StrategyBB-RSI Overbought DCA — Short Strategy
🔷 What it does:
This is a short-only DCA strategy that fades overbought thrusts confirmed by two independent volatility-and-momentum filters on a lower timeframe. A short entry opens only when Bollinger Bands %B crosses up the upper band AND RSI crosses up an overbought threshold at the same lower-timeframe close — the dual confirmation requires both volatility-expansion and momentum-overheat to align. Nine safety orders form a wide deviation ladder for adverse upward price action. Exit is a fixed percentage Take Profit below the running average entry. No trailing, no Stop Loss.
- Single base order with up to nine safety orders, sized at a 1.03× progression for soft compounding.
- Dual-filter entry: BB %B(20, 2.0) crossing up 1.00 AND RSI(7) crossing up 65, both on 30m.
- Wide deviation ladder: 0.72% to first safety order, 1.55× step multiplier — last safety order at ~63% above base entry.
- Take Profit: 2.11% below average entry. No trailing.
- Every entry, safety order, and exit emits a webhook-ready JSON alert payload for direct DCA Bot consumption.
🔷 Who is it for:
- Swing traders looking for high-win-rate short exposure on crypto perpetuals that frequently overshoot resistance.
- Bot operators who want a mechanical fade engine with dual confirmation and bounded position size.
- Risk-conscious operators — at default settings the maximum deployed capital is ~8.93% of equity, and the realized maximum drawdown over a 2.5-year sample stayed at 1.53%.
- Traders building a low-correlation portfolio: a defensive short with very low DD and an exceptional profit factor pairs well with directional long strategies.
🔷 How does it work:
Bollinger Bands %B Filter: A 30-minute Bollinger Bands(20, 2.0) is sampled via request.security and converted to %B = (close − lower) / (upper − lower). When %B crosses up the configured level (default 1.00 — price exiting the upper band), the BB gate is satisfied. The 30-minute timeframe is sampled with lookahead disabled to avoid repaint.
RSI Filter: A 30-minute RSI(7) is sampled in parallel. When RSI crosses up the configured level (default 65 — entering overbought), the RSI gate is satisfied. Both gates must be satisfied at the same host-bar close to arm a base entry.
Entry: When both filters cross up on the same host bar, a short position opens at the base order size. The base order is configurable as Market (default) or Limit at the bar's close.
Safety Order Ladder: After the base fill, the strategy monitors price deviation upward against the position. The k-th safety order fires when close ≥ base entry × (1 + cumulative deviation), where cumulative deviation grows by the step multiplier (default 1.55). At default settings: 0.72%, 1.84%, 3.57%, 6.25%, 10.40%, 16.48%, 25.90%, 40.51%, 63.14%. Each safety order's size grows by the size multiplier (default 1.03) — soft compounding rather than aggressive martingale.
Exit: A fixed Take Profit at 2.11% below the running average entry. The position closes the moment close ≤ TP target. No trailing, no Stop Loss.
🔷 Why it's unique:
- Dual-Filter Confirmation: Two independent signals on the same lower timeframe must align. %B captures volatility expansion (price extension beyond statistical bounds); RSI captures momentum exhaustion. Together they filter out either-or noise that would trigger single-condition strategies.
- Soft Compounding Ladder: The 1.03× size multiplier is much gentler than typical martingale (1.5–2.0×). It still scales position size with adverse drift but doesn't blow up capital deployment if all safety orders fill.
- Bounded Position Cap: With 9 safety orders at 1.03× progression, the maximum deployed capital is exactly base + 80 × 10.159 = 893 USDT per trade ≈ 8.93% of default equity. Inside the conventional 5–10% per-trade band, no surprises.
- DCA Bot Integration: Every event (base, AO 1–9, exit) emits a fully-formed JSON alert payload. Connect one alert to a DCA Bot's webhook URL and the strategy drives the bot end-to-end.
🔷 Considerations Before Using the Strategy:
Market & Timeframe: Defaults are calibrated for BYBIT:ATOMUSDT perpetual on 30m. The dual-filter combination is portable to other liquid crypto perpetuals that mean-revert from overbought stretches, but filter thresholds (BB level, RSI level) should be reviewed before redeployment.
Strong Uptrends: Like any fade-the-strength setup, this strategy is positioned for ranges and rotations, not breakouts. In sustained uptrends the strategy may fill the entire 9-AO ladder and hold the short while price grinds higher. The dual filter limits exposure to confirmed overbought conditions, which historically have higher mean-reversion expectancy, but a regime shift to a strong trend requires manual oversight.
Performance Profile: This is a high-confidence, low-volatility, low-return defensive short. Over the 2.5-year backtest the strategy returned +3.95% with a 1.53% maximum drawdown — annualized return is modest, but the return-to-DD ratio of ~2.6 and profit factor of 6.23 reflect very tight risk control. Size accordingly: this is a portfolio contributor, not a standalone alpha source.
Funding Rates (Perpetuals): Backtests do not account for perpetual funding rates. Sustained positive funding on ATOMUSDT.P (longs pay shorts) would improve live performance; sustained negative funding (shorts pay longs) would degrade it. Review the historical funding pattern before live deployment.
Commission Calibration: The default commission (0.4%) is set high as a conservative assumption. The actual Bybit perpetual taker fee is approximately 0.06%, so live performance with realistic Bybit fees should be meaningfully better than the published numbers. Update the commission input to match your fee tier for accurate forward expectations.
No Stop Loss Justification: There is no exit on adverse moves beyond the 9-AO ladder. Per-trade risk is structurally capped by the bounded position-size ladder — at defaults that is 893 USDT max deployed = 8.93% of equity, inside the conventional 5–10% per-trade band. If a hard stop is required at the exchange level, layer it on the bot side.
🔷 STRATEGY PROPERTIES
Symbol: BYBIT:ATOMUSDT.P (Perpetual)
Timeframe: 30M
Test Period: Mar 1, 2025 — Apr 1, 2026 (~1.1 years).
Initial Capital: 10,000 USDT.
Order Size per Trade: 0.8% of Capital base + 9 safety orders at 1.03× progression.
Max Capital Deployed: ~893 USDT per trade (~8.93% of equity).
Commission: 0.4% per trade (conservative — Bybit perpetual taker is ~0.06%).
Slippage: 3 ticks.
Margin for Short Positions: 100%.
Indicator Settings: Default Configuration.
Base Order: 80 USDT, Market by default (Limit toggle available).
Take Profit: 2.11% below average entry (no trailing).
Stop Loss: None — bounded position size is the structural risk cap.
BB %B Filter: 30m BB(20, 2.0), Crossing Up 1.00.
RSI Filter: 30m RSI(7), Crossing Up 65.
Averaging Orders: 9, Deviation 0.72%, Deviation Step 1.55×, Size Multiplier 1.03×.
Strategy: Short Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +395.18 USDT (+3.95%)
Max Equity Drawdown: 154.46 USDT (1.53%)
Total Closed Trades: 267
Percent Profitable: 79.78% (213 / 267)
Profit Factor: 6.23
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and review the Base Order Size, BB filter (period / deviation / level), RSI filter (length / level), the 9-AO ladder, and the Take Profit percentage. Defaults are calibrated for ATOMUSDT.P 30m — recalibrate per asset before deploying.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays inside your personal risk band. Validate that the closed-trade count is statistically meaningful (≥ 100 is a reasonable floor). Update commission to match your exchange's actual fees.
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. The strategy will emit JSON payloads for short entry, each safety order, and exit — formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
Base Order Size (USDT): USDT amount opened on the short entry.
Use LIMIT for Base: Toggle between Market (default) and Limit at bar close.
Averaging Orders per Trade: Maximum number of safety orders per deal (default 9).
First AO Size (USDT): USDT size of the first safety order; subsequent AOs scale by the Size Multiplier.
Deviation to First AO (%): Distance from base entry at which AO1 becomes eligible.
Deviation Step Multiplier: Ladder factor that widens each subsequent deviation step.
Order Size Multiplier: Factor that grows each subsequent safety order's USDT size.
BB Timeframe / Period / Deviation / Level: 30-minute Bollinger Bands %B filter on the host symbol.
RSI Timeframe / Length / Level: 30-minute RSI filter on the host symbol.
Take Profit (%): Fixed distance from average entry where the short closes for profit.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle DCA Ladder, fill labels, status table.
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Estratégia

PrimeWave AI [AuraNex]PrimeWave AI is an advanced adaptive trading indicator built around the core principles of Ichimoku Cloud analysis, enhanced with intelligent filtering and trade management systems. Unlike traditional fixed-parameter Ichimoku indicators, it dynamically adjusts key periods based on market volatility using an adaptive ATR-driven engine, allowing faster reactions during volatile conditions and smoother behavior in quiet markets.
The indicator combines multiple market factors including price position relative to the cloud, Tenkan–Kijun relationships, Chikou confirmation, cloud structure, volume activity, and a custom Momentum Pulse Engine to measure trend strength and acceleration. These factors are processed through a Confluence Scoring Engine that assigns a score from 0–100, helping identify higher-probability trading opportunities and filter weaker setups.
PrimeWave AI also includes a Kumo Breakout system for detecting cloud breakouts and retests, along with a Smart TP/SL engine that automatically calculates stop-loss and multiple take-profit levels using cloud boundaries, Kijun levels, or ATR-based methods.
Additional features include multi-timeframe trend alignment, automatic support/resistance zone detection, visual dashboards, customizable signal labels, and webhook-ready alerts, creating a complete trading framework for trend identification, signal confirmation, and risk management. Indicador

Liquidity Sweep Reversal [forexobroker]Liquidity Sweep Reversal detects stop-hunt sweeps: price wicks past a confirmed swing extreme to grab resting liquidity but the bar closes back inside, trapping breakout traders. The unique angle is ATR-scaled depth bounds (a minimum to filter noise and a maximum to reject genuine breaks) plus a persistent reversal bias armed by the sweep, with entries timed on an EMA reclaim instead of only the rarer classic sweep bar.
🔶 ALGORITHM
1. Confirm swing structure with symmetric pivots (ta.pivothigh / ta.pivotlow), tracking the latest confirmed swing high and swing low.
2. Detect a bullish sweep: low pierces the swing low by at least Min Sweep Depth x ATR but no more than Max Sweep Depth x ATR, and close finishes back above the swing low (optionally requiring a bullish reversal body). Bearish sweep is the mirror.
3. The maximum-depth bound rejects runaway moves that are real breaks rather than stop hunts.
4. Persistent reversal bias: a bullish sweep arms bias +1, a bearish sweep arms bias -1, holding until the opposite side sweeps.
5. Entry timing: within an active sweep bias, an EMA reclaim (ta.crossover / ta.crossunder of close vs the Entry Reclaim EMA) fires the trade. Sweep-Only Mode swaps this for the strict sweep+reclaim bar.
🔶 SIGNAL LOGIC
- Buy: bullish sweep bias active (swing low swept and reclaimed) and close crosses over the Entry Reclaim EMA (or, in Sweep-Only Mode, the sweep bar itself), in session, position not already long, after the cooldown window, only on barstate.isconfirmed; position-lock flips to LONG.
- Sell: bearish sweep bias active (swing high swept and reclaimed) and close crosses under the Entry Reclaim EMA (or the sweep bar itself), in session, position not already short, cooldown elapsed, on barstate.isconfirmed; position-lock flips to SHORT.
Only fires when a confirmed sweep has armed the matching reversal bias.
🔶 INPUTS
- Liquidity: pivot length for swing confirmation (default 6) and ATR length.
- Sweep depth: minimum sweep depth in ATR multiples (default 0.20x ATR) and maximum sweep depth to reject real breaks (default 3.0x ATR).
- Reclaim validity: reclaim-within-bars window and require-reversal-body toggle (default on).
- Signal Logic: Entry Reclaim EMA length (default 9) and Sweep-Only Mode toggle (default off).
- Cooldown: minimum bars between signals (default 5).
- Filters: optional session restriction with a session window.
- Visual: swept-level lines, dashboard, 3-layer glow, buy/sell colors, dashboard background.
🔶 ALERTS
LSR Buy, LSR Sell, LSR Any Signal, LSR Low Swept, LSR High Swept, LSR New Swing High, LSR New Swing Low, LSR Low Pierce, LSR High Pierce, LSR Any Sweep, LSR Sweep Tick, LSR Strong Bull, LSR Webhook JSON.
🔶 LIMITATIONS
- Requires warm-up: pivots confirm only after Pivot Length bars on each side, so early history produces no sweep targets.
- Defaults (ATR 14, min 0.20x, max 3.0x) are tuned for liquid instruments; volatile or thin symbols may need wider depth bounds.
- Sweep-Only Mode is intentionally rare; the default EMA-reclaim regime mode trades more frequently.
- Non-repainting by design (pivots confirmed, signal on bar close); the swing being swept appears Pivot Length bars after it formed.
- A sweep is a probabilistic trap, not a guaranteed reversal; in strong trends a level can be swept and continue rather than reverse.
Indicador

Inversion FVG Tracker [forexobroker]Inversion FVG Tracker detects 3-candle Fair Value Gaps, watches for them to be fully mitigated, and then trades the inversion: a filled bullish FVG flips into resistance and a filled bearish FVG flips into support. Signals fire on the retest of an inverted gap. The unique angle is the full lifecycle state machine (fresh, inverted, retested) combined with an ATR-scaled minimum gap so micro-gaps are ignored.
🔶 ALGORITHM
1. ATR (default 14) is computed for gap-size scaling.
2. A bullish FVG forms when the current low is above the high two bars back and the gap spans at least the minimum (default 0.10 x ATR). A bearish FVG mirrors this with the current high below the low two bars back.
3. The most recent bull and bear FVG are tracked with a state value: fresh, mitigated/inverted, or retested.
4. Unmitigated FVGs older than the max age (default 60 bars) are discarded.
5. Mitigation uses close by default: a bull FVG closing fully below its bottom inverts to resistance; a bear FVG closing fully above its top inverts to support.
6. A retest buffer (default 0.10 x ATR) defines the inverted-zone test; an inverted bull FVG retested from below is bearish, an inverted bear FVG retested is bullish.
7. An inversion arms a persistent bias (bear FVG to support is bullish, bull FVG to resistance is bearish) that holds until the opposite inversion; entries then time off a reclaim EMA (default 9).
🔶 SIGNAL LOGIC
- Buy: in retest-only mode, an inverted bear-FVG retest (support); otherwise active inversion bias is bullish AND close crosses over the reclaim EMA, AND session filter passes AND position is not already long AND cooldown bars elapsed AND barstate.isconfirmed.
- Sell: in retest-only mode, an inverted bull-FVG retest (resistance); otherwise active inversion bias is bearish AND close crosses under the reclaim EMA, AND session filter passes AND position is not already short AND cooldown bars elapsed AND barstate.isconfirmed.
Only fires once an FVG has actually inverted to arm the bias.
🔶 INPUTS
- FVG group: minimum gap size as a multiple of ATR; default 0.10.
- ATR Length: volatility reference for gap and buffer scaling; default 14.
- Mitigate on Close: when on, an FVG inverts only when close passes fully through it; default on.
- Retest Buffer x ATR: tolerance around the inverted zone; default 0.10.
- FVG Max Age (bars): unmitigated gaps older than this are dropped; default 60.
- Signal Logic group: entry reclaim EMA default 9, retest-only mode default off, cooldown bars default 5.
- Filters group: optional session restriction; window default 0000-2400.
- Visual group: FVG zone boxes, dashboard, 3-layer glow, buy/sell colors, dashboard background.
🔶 ALERTS
IFT Buy, IFT Sell, IFT Any Signal, IFT Bull FVG, IFT Bear FVG, IFT Bull Inverted, IFT Bear Inverted, IFT Inv Bull Test, IFT Inv Bear Test, IFT Any FVG, IFT Inversion Live, IFT Webhook JSON.
🔶 LIMITATIONS
- A 3-candle FVG needs the two trailing bars, so the earliest chart bars produce no gaps.
- Only the most recent bull and bear FVG are tracked; older overlapping gaps are not retained.
- Defaults are tuned for liquid instruments; wide-spread or gappy symbols may need a larger minimum gap.
- Unmitigated gaps expire by age, so a very slow return to a valid gap can miss the inversion window.
- The non-retest-only path uses a fast EMA cross and can fire extra entries inside one inversion bias.
Indicador

Indicador

Estratégia

Veyra Delta Lens [JOAT]Veyra Delta Lens
Introduction
Veyra Delta Lens estimates delta pressure from OHLCV data and converts it into auction pressure, CVD z-score, participation entropy, absorption, and pressure-shift events.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. Signed Volume Pressure
Candle close location and body impact estimate directional volume pressure.
2. CVD Normalization
Cumulative pressure is normalized so current pressure can be compared with recent history.
3. Participation Entropy
Volume concentration and close location distinguish balanced absorption from directional release.
4. Pressure Envelope
An auction mean and delta rails display pressure on the price chart.
delta = signedVolume * 0.65 + impactVolume * 0.35
Features
Estimated signed volume pressure
CVD z-score and impulse scoring
Absorption and divergence context
Auction mean and pressure rails
Sparse VX+ and VX- labels
Input Parameters
Delta smoothing and impulse memory
CVD normalization window
Participation entropy window
Event score and cooldown
Rails, trace, and candle toggles
How to Use This Script
Use VX+ and VX- labels as confirmed pressure shifts. Gold circles show absorption or divergence conditions aligned with the current regime.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
Veyra is original in combining estimated delta, CVD normalization, entropy, auction rails, absorption, and divergence in one restrained overlay.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
Indicador

[ A L P H A X ] VOIDAlphaX VOID — Fair Value Gap Confluence System: FVG Detection, 5-Layer Retest Entries, CE Rejection Filter & ATR Trailing Exit Engine
AlphaX VOID is a professional-grade smart money confluence system built around the single most powerful concept in institutional price action: the Fair Value Gap. Where price moves so aggressively that it leaves an unmitigated imbalance in the order book — a void — institutions return to fill orders at those levels. VOID detects every qualifying gap in real time, tracks its state, and waits. When price returns to retest that void, a 5-layer confluence engine evaluates the quality of that retest across EMA structure, squeeze momentum, volume delta pressure, VWAP bias, and ADX directional strength. Only when enough layers agree does a signal fire — not on the gap formation, not on the first touch, but on a confirmed, high-quality institutional retest with the trend and momentum behind it. Designed for active traders on crypto, forex, gold, and indices across the 1-minute to 15-minute timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🕳 What Is a Fair Value Gap?
A Fair Value Gap (FVG) is a three-candle price structure where the middle candle moves with such force that it creates a gap between the wick of the first candle and the wick of the third candle — a zone where no two-sided trading occurred. Price moved through that area too fast for the market to establish fair value.
Bull FVG: The low of candle 3 is above the high of candle 1. Price left a gap to the upside — an unmitigated bullish imbalance. When price returns to this zone, institutions are likely resting buy orders there.
Bear FVG: The high of candle 3 is below the low of candle 1. Price left a gap to the downside — an unmitigated bearish imbalance. When price returns to this zone, institutions are likely resting sell orders there.
Why FVGs matter to institutional traders: Market makers and large institutions cannot fill their full order size in a single fast move. When price revisits the FVG zone, they use the retest to complete their position. This is why FVG retests so frequently produce high-velocity continuation moves — they are not random support/resistance, they are unfilled institutional order clusters.
AlphaX VOID does not simply draw FVG boxes. It tracks the lifecycle of every gap — from formation through active, retest, and filled — and only presents entry signals when the retest coincides with genuine multi-layer confluence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 FVG Detection Engine — Quality Filters
Not every gap is worth trading. Gaps formed during weak, choppy price action are noise. VOID applies two mandatory quality filters to every detected gap before registering it as valid.
Displacement Filter:
The middle candle of the three-candle structure must show genuine displacement — its body must exceed the average body size over the last 14 bars by a configurable multiplier (default: 1.15×). This ensures the gap was formed by a real impulsive move, not a slow grind that happened to leave a small gap. A gap without displacement is a weak gap.
Minimum Gap Size Filter:
The physical size of the gap (the distance between the relevant wicks of candle 1 and candle 3) must meet a minimum threshold expressed as a multiple of ATR (default: 0.15×). This eliminates micro-gaps that are too small to be meaningful — gaps so narrow that spread and noise would immediately invalidate any retest entry.
Only gaps passing both filters are registered, stored, and tracked.
FVG Lifecycle Tracking:
Every registered FVG is stored in memory arrays with its top, bottom, direction, formation bar, and fill state. On every bar, VOID updates the state of all active gaps:
Active — gap is unmitigated. Box and CE line extend forward in real time
Filled — price has fully closed through the gap boundary. Box color shifts to neutral gray, CE line fades. Optionally hidden entirely via the Hide Filled FVGs setting
Age cutoff — gaps older than the configured Max FVG Age (default: 120 bars) are excluded from retest scanning. Old gaps lose institutional relevance as market structure evolves
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 The FVG Visual System
Every active FVG is rendered directly on the price chart as a structured visual zone with three components.
FVG Box:
A shaded rectangle spanning the full gap from top to bottom. Bull gaps are shaded in semi-transparent yellow-green; bear gaps in semi-transparent red. The box extends forward by the configured number of bars (default: 30) and updates in real time as price evolves. When a gap fills, the box shifts to neutral gray — or is removed entirely if Hide Filled FVGs is enabled.
CE Line (Consequent Encroachment — 50% Level):
A dashed line at the exact midpoint of the FVG zone. This is the Consequent Encroachment level — the 50% retracement into the gap. This level is critical for entries: the most reliable FVG retests are those where price dips into the gap but closes back above (bull) or below (bear) the CE line, demonstrating that the institutional zone held and rejected price cleanly. The CE Rejection filter is on by default and can be toggled in settings.
FVG Formation Dots:
Small squares appear below (bull FVG) or above (bear FVG) the bar at the moment a new qualifying gap is formed, providing instant chart-level notification of every new gap without requiring dashboard attention.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 The Retest Detection Engine
Detecting a gap is the easy part. Detecting a high-quality retest of that gap is the core intellectual challenge VOID is built to solve.
On every bar, VOID scans all active, unfilled FVGs of the appropriate direction for a valid retest condition. A retest requires all of the following to be true simultaneously:
1. Price overlap: The current bar's low must be at or below the FVG top, and the current bar's high must be at or above the FVG bottom. Price is physically inside or touching the zone.
2. Candle rejection: The bar must close in the correct direction — a bullish close (close above open) for a bull FVG retest, a bearish close for a bear FVG retest. Price entered the gap but the candle closed back out, demonstrating rejection.
3. CE rejection (when enabled): For bull retests, the close must be at or above the CE midline — not just any bullish close, but one that reclaims the institutional midpoint. For bear retests, the close must be at or below the CE midline. This is the single most important retest quality filter in the system. A retest that fails to reclaim the 50% level is a weak, indecisive retest.
4. Age validation: The gap must be no older than the configured maximum age. Gaps older than this threshold are excluded even if all other conditions are met.
5. Most recent qualifying gap priority: When multiple gaps qualify simultaneously, VOID selects the most recently formed gap — the freshest institutional imbalance takes precedence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 The 5-Layer Confluence Engine
A valid FVG retest alone is not sufficient for a signal. VOID requires that the retest occur within a high-quality confluence environment across five independent layers. Each layer casts a directional vote on every bar. Signals only fire when a configurable minimum number of votes align (default: 3 of 5).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 1 — EMA Ribbon (Trend Structure)
A triple EMA ribbon using Fast (default: 8), Slow (default: 21), and Signal (default: 50) EMAs. All three must stack in directional order and price must be on the correct side for a full ribbon vote.
Bull: Fast above Slow above Signal, close above Fast EMA.
Bear: Fast below Slow below Signal, close below Fast EMA.
A separate EMA Trend Alignment setting (default: on) enforces that bull FVG retest signals only fire when the fast EMA is above the slow EMA — the minimum trend structure condition — even if the full ribbon stack is not met. This prevents counter-trend FVG entries that carry the lowest success rate.
The ribbon is plotted on the chart as a gradient fill between the Fast and Slow EMA lines — yellow-green fill during bull structure, red during bear, gray during flat.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 2 — Squeeze Momentum (Energy Detection)
The TTM Squeeze momentum engine measures whether energy is building or releasing and in which direction.
Squeeze state: When Bollinger Bands compress inside Keltner Channels, volatility is contracting and a directional breakout is loading. This state is displayed as an orange background tint and flagged on the dashboard as ⚡ SQZ. An FVG retest that coincides with a squeeze release is one of the highest-quality setups the system can detect — the gap provides the structural level, the squeeze provides the breakout energy.
Momentum direction: Calculated via linear regression of price relative to the midpoint of the recent high-low range. Positive and rising = bull momentum. Negative and falling = bear momentum.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 3 — Volume Delta (Institutional Pressure)
A proprietary volume pressure model that splits each candle's volume into estimated bullish and bearish components based on the close position within the high-low range, smoothed by EMA. A secondary OBV slope confirms the dominant pressure direction over the configured lookback.
Bull vote: Bull volume EMA exceeds bear, delta EMA is positive, and OBV slope is rising — three independent volume signals all confirming buying pressure.
Bear vote: The full inverse.
An FVG retest with genuine volume delta confirmation means real capital is flowing into the gap zone, not just price drifting back. This is the distinction between a high-probability institutional retest and a low-energy drift that is likely to fail.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 4 — VWAP Bias (Institutional Session Reference)
The Volume Weighted Average Price anchored to the session provides the clearest single reference for institutional directional bias. Price above VWAP means institutions are net buyers for the session. Price below means net sellers.
Bull vote: Close above VWAP.
Bear vote: Close below VWAP.
A bull FVG retest that occurs while price is above VWAP is a with-institution trade. A bull FVG retest while price is below VWAP is counter-institutional — the gap exists, the retest is clean, but the session-level bias is working against the entry. This distinction is worth one full confluence point and often determines whether a retest succeeds or fails.
The VWAP filter can be toggled off, and the VWAP line itself can be shown or hidden independently.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 5 — ADX Directional Strength (+DI / -DI)
The ADX filter in VOID operates at two levels. First, the ADX value must meet the minimum threshold (default: 18) confirming the market is trending rather than ranging. Second, the directional component is used — +DI versus -DI — to confirm that the ADX strength is aligned with the signal direction.
Bull vote: ADX above threshold and +DI exceeding -DI — the trend strength is directionally bullish.
Bear vote: ADX above threshold and -DI exceeding +DI — the trend strength is directionally bearish.
This is fundamentally different from a simple ADX on/off gate. An ADX reading of 25 with +DI above -DI in a bull FVG setup is confirming. An ADX reading of 25 with -DI above +DI in a bull FVG setup means the trend strength is bearish — directionally opposed to the signal — and this layer will not vote for it.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷 Signal Firing Logic
A VOID signal fires when all of the following are simultaneously true:
A valid FVG retest is detected (overlap + candle rejection + CE rejection if enabled + age check)
The confluence score meets or exceeds the configured minimum (default: 3 of 5 layers)
ADX confirms a trending market (value above minimum threshold)
Session filter confirms active hours
Signal cooldown has elapsed since the last signal (default: 8 bars) — prevents repeated signals during extended retest zones
EMA trend alignment condition is met if the Require EMA Trend Alignment setting is enabled
Edge triggering: The signal fires only on the bar where all conditions first become true simultaneously — not on every bar they remain true. Each triangle on the chart represents a distinct, fresh confluence event.
Score label: Every signal prints a label (e.g., 4/5 FVG ) showing the live confluence score at signal time. The FVG suffix confirms this is an institutional gap retest entry, not a generic momentum entry.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 FVG-Anchored Stop Loss Placement
VOID includes a purpose-built stop loss mode unique to FVG trading: Place SL Beyond FVG Edge (default: on).
When enabled, the stop loss for a bull retest entry is placed at the bottom of the retested FVG minus an ATR buffer — not below the current bar's low. For a bear retest, the stop is placed at the top of the retested FVG plus an ATR buffer.
Why this matters: The FVG boundary is the institutional invalidation level. If price closes beyond the far edge of the gap, the imbalance has been fully absorbed — the institutional thesis for the retest is gone and the trade is structurally invalid. Using the FVG edge as the stop base produces stops that are:
Structurally meaningful — anchored to the actual invalidation level, not an arbitrary ATR distance from entry
Tighter when gaps are narrow — better risk-reward on high-quality, precise gaps
Wider when gaps are large — providing the trade room to breathe within the full institutional zone
When this setting is off, the stop reverts to a standard ATR-based distance from the bar's low or high — consistent with the Pulse Scalper behavior.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡 Dynamic ATR Exit System
All three exit mechanisms from the VOID exit engine work together on every open trade:
Stop Loss: Placed at the FVG far edge (when enabled) or bar low/high, minus/plus an ATR buffer (default: 1.2×). Your maximum risk boundary. Does not move.
TP1 — Partial Target (50%): 1.8× ATR from entry. Scale out half the position here and move the remainder to breakeven. A small circle marker appears at the TP1 bar.
TP2 — Full Target: 3.5× ATR from entry. Full position exits and the system resets. A labeled TP marker confirms the exit on the chart.
ATR Trailing Stop: A dynamic stop that advances with price every bar — always positioned 1.5× ATR behind the current bar's low (bull) or high (bear). Plotted as a live orange line. In strong institutional continuation moves, the trail captures significantly more than the fixed TP2 target. In weak retests that stall early, the trail cuts the loss before the fixed SL is reached — providing a tighter actual exit than the structural stop.
All exit levels are plotted as live lines on the chart for the duration of the trade and cleared automatically on exit.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The real-time dashboard displays the complete internal state of the indicator across four sections, updated on every bar.
FVG STATE
Bull FVGs — count of currently active, unfilled bull FVGs being tracked
Bear FVGs — count of currently active, unfilled bear FVGs being tracked
Retest — live retest detection status: ▲ BULL RETEST or ▼ BEAR RETEST when a valid gap touch is occurring, — NONE otherwise. This updates in real time so you can see a retest developing before the full signal fires
MARKET
Session — ✓ ACTIVE or ✗ OFF-HOURS. Confirms whether the session filter gate is open
ADX — live ADX value with ✓ or ✗ pass/fail. Confirms whether market structure is trending strongly enough to support FVG retest entries
CONFLUENCE
L1 EMA — current ribbon state: ▲ BULL, ▼ BEAR, or — FLAT
L2 Momentum — current momentum state: ⚡ SQZ (squeeze building), ▲ BULL, ▼ BEAR, or — FLAT. The squeeze state is the highest pre-signal alert condition
L3 Vol Delta — current volume pressure: ▲ BULL, ▼ BEAR, or — NEUTRAL
L4 VWAP — current VWAP position: ▲ ABOVE (institutional bull bias) or ▼ BELOW (institutional bear bias)
L5 ADX Dir — ADX directional vote: ▲ BULL (+DI dominant), ▼ BEAR (-DI dominant), or — FLAT
Bull Score — live 0–5 score. Background highlights yellow-green when the minimum threshold is met
Bear Score — live 0–5 score. Background highlights red when the minimum threshold is met
POSITION
Position — current tracked position: ▲ LONG, ▼ SHORT, or — FLAT with background color highlight
Stop Loss — the active SL level (FVG-anchored or ATR-based depending on settings), color-coded by direction
TP1 / TP2 — the active first take-profit level; TP2 is tracked internally and triggers the full exit marker
Bars in Trade — bars elapsed since entry, tracking trade duration
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
FVG Boxes (yellow-green / red) — active imbalance zones extending forward in real time. Color shifts to gray on fill
CE Dashed Lines — the 50% midpoint of every active FVG. The key level for CE rejection filtering
Formation Dots — small squares marking the exact bar a new qualifying FVG was detected
▲ Triangle (below bar) — bull retest entry signal. All conditions met
▼ Triangle (above bar) — bear retest entry signal. All conditions met
Score Label (e.g. 4/5 FVG) — confluence score at signal time, printed on every entry triangle
EMA Ribbon Fill — yellow-green fill during bull EMA structure, red during bear, gray during flat
VWAP Line (purple) — optional, toggleable session VWAP reference
Orange Squeeze Background — active during Bollinger/Keltner squeeze conditions
Yellow-green background tint — active during open long trades
Red background tint — active during open short trades
SL Line — fixed stop loss level, active while trade is open
TP1 Line — first partial take-profit target
TP2 Line (bright) — full exit target
Trail Line (orange) — dynamic trailing stop, advances with price every bar
TP marker — confirms TP2 hit and full exit
SL marker — confirms stop loss or trail triggered
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX VOID — Step by Step
Step 1 — Read the FVG State
Check the dashboard: how many active bull and bear FVGs are on the chart?
Multiple active FVGs in one direction indicate a well-defined institutional order cluster — a zone with stacked imbalances that price is likely to respect strongly on retest
Zero active FVGs in a direction means no institutional retest opportunity exists yet — wait for a new gap to form
Step 2 — Watch for Retest Alert on the Dashboard
The RETEST row updates in real time. ▲ BULL RETEST or ▼ BEAR RETEST appearing means price is currently inside a valid FVG zone with a rejection candle forming
This is your cue to check the confluence score rows. Watch the bull or bear score building in real time on the current bar — if it is approaching or has crossed the threshold, a signal may be seconds away
Step 3 — Enter on the Signal Triangle
A ▲ triangle below the bar is a confirmed bull FVG retest entry. All conditions — FVG retest quality, confluence score, ADX, session, cooldown, trend alignment — are met simultaneously
A ▼ triangle above the bar is a confirmed bear FVG retest entry
Read the score label. A 5/5 signal is the maximum confluence available — all five layers and the gap retest aligned simultaneously. These are the highest-conviction setups VOID produces
Enter on the close of the signal bar or the open of the next bar
Step 4 — Manage the Trade with Live Exit Lines
The SL line is your structural invalidation. If you used the FVG-anchored SL, price closing beyond this level means the institutional gap has been fully absorbed — the thesis is invalid
Watch the orange Trail Stop advancing with price as the trade moves in your favor
At TP1, scale out 50% of the position. Move your stop to breakeven on the remainder
Let the trailing stop manage the rest — it captures whatever continuation the institutional imbalance produces
Step 5 — Exit and Reset
A TP marker confirms TP2 hit. Full exit and system reset
An SL marker confirms stop or trail triggered. Accept the loss and wait — the FVG that was retested is now filled or invalidated, and a new setup will develop from the next qualifying gap
Never re-enter immediately after a stopped trade. Wait for the confluence score to rebuild and a new qualifying gap to form or a fresh retest of a different active gap
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
ADX ✗ on the dashboard — the market is not trending. FVG retests in ranging markets are frequently absorbed rather than rejected, producing whipsaw exits
RETEST shows ▲ or ▼ but no triangle appears — a retest is occurring but the confluence score or other filters are blocking the signal. This is the system explicitly telling you the quality threshold is not met — do not override it manually
Session ✗ OFF-HOURS — thin liquidity environments produce unreliable FVG reactions. The institutional actors who created the gap are not active
Multiple gap fills in quick succession — if several FVGs are filling rapidly without producing entries, the market is in a trending impulse phase eating through old imbalances rather than respecting them. Wait for the new gaps being created by this impulse to age and become valid retest candidates
Score stuck at 1 or 2 of 5 — the confluence environment is fragmented. Too few layers agree for a reliable institutional retest
Orange squeeze background present but score below threshold — energy is coiling but the directional confluence is not established. Wait for the squeeze to release in a clear direction with score confirmation before acting
What to do:
Monitor the dashboard for the RETEST row and confluence scores building simultaneously — the ideal setup shows both developing on the same bar
Prioritize gaps with the CE Rejection filter active — CE-rejected retests are the cleanest institutional entries available
Wait for ADX to confirm — a trending ADX above threshold combined with a directional +DI/-DI alignment is the ideal background for FVG retest entries
The highest-quality VOID setup: active squeeze on the dashboard, price retesting a fresh FVG at the CE level, 5/5 confluence score, ADX ✓, session ✓. These conditions together rarely occur — when they do, they produce the strongest continuation moves the system identifies
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🕳 Real-time FVG detection engine — identifies all qualifying bull and bear Fair Value Gaps with displacement and minimum gap size filters
📦 Full FVG lifecycle tracking — every gap stored in memory arrays with top, bottom, direction, age, and fill state updated on every bar
📐 CE (Consequent Encroachment) filter — requires price to reclaim the 50% midpoint of the gap on retest, eliminating weak, indecisive touches
🧠 5-layer confluence gate — EMA Ribbon, Squeeze Momentum, Volume Delta, VWAP Bias, and ADX Directional Strength must agree before a retest signal fires
📊 Live confluence scoring — bull and bear scores updated every bar, displayed on the dashboard before the signal appears
🎯 FVG-anchored stop loss — places the SL at the structural invalidation level (the far FVG edge) rather than a generic ATR distance, producing structurally meaningful risk levels
⚡ Squeeze momentum integration — TTM-style Bollinger/Keltner squeeze detection flags pre-breakout energy buildup with orange background tint and dashboard state
📡 VWAP session bias — confirms whether a retest is with or against institutional session direction
🔬 ADX directional filter — uses both the ADX value and +DI/-DI directionality, not just a simple trend/no-trend gate
🛡 Dynamic ATR trailing stop — orange line advances with price every bar, capturing extended institutional continuation moves beyond the fixed TP2 level
📈 EMA ribbon with trend alignment enforcement — prevents counter-trend FVG entries that carry the lowest success rate
🕐 Session filter — restricts entries to active market hours, eliminating thin-liquidity false retest reactions
⏱ Signal cooldown — prevents repeated signals during extended retest zones, ensuring each entry represents a distinct high-quality event
📊 21-row live dashboard — FVG State, Market, Confluence, and Position sections updated in real time
🔔 10 alert conditions — new FVG formation, retest entry, TP1/TP2 hits, stop hits for both bull and bear
🎨 Fully cohesive dual-tone color system — yellow-green for all bullish elements, red for all bearish elements, orange for squeeze and trail, gray for filled gaps and neutral states
⚙ Fully configurable — FVG parameters, confluence layers, EMA periods, squeeze settings, VWAP filter, ADX threshold, exit multipliers, session window, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Fair Value Gaps
Show FVG Zones — toggle FVG boxes on or off
Show CE (50%) Lines — toggle the consequent encroachment midpoint lines
Max Active FVGs — maximum number of FVGs stored in memory simultaneously (default: 40)
Zone Extend (bars) — how many bars forward the FVG box and CE line project (default: 30)
Max FVG Age for Entries — gaps older than this bar count are excluded from retest scanning (default: 120)
Min Gap Size (ATR x) — minimum gap width as a multiple of ATR required for gap registration (default: 0.15)
Min Displacement (body x) — middle candle body must exceed average body by this multiplier (default: 1.15)
Require CE Rejection — close must reclaim the 50% gap midpoint on retest (default: on — strongly recommended)
Hide Filled FVGs — removes boxes and CE lines for gaps that have been fully mitigated (default: off)
EMA Ribbon
Fast EMA — fastest ribbon line (default: 8)
Slow EMA — intermediate ribbon line (default: 21)
Signal EMA — macro trend anchor (default: 50)
Show EMA Ribbon — toggle ribbon fill and lines
Squeeze Momentum
BB Length / BB Mult — Bollinger Band parameters for squeeze detection (defaults: 20 / 2.0)
KC Length / KC Mult — Keltner Channel parameters (defaults: 20 / 1.5)
Momentum Length — linear regression period for momentum direction (default: 12)
Volume Delta
Volume MA Length — EMA smoothing for bull and bear volume estimates (default: 14)
OBV Slope Length — lookback for OBV slope directionality (default: 10)
VWAP
Use VWAP Filter — when on, Layer 4 requires close to be on the correct side of VWAP (default: on)
Show VWAP Line — toggle the VWAP line on the chart (default: off)
Confluence Gate
Min Layers Required — minimum confluence votes needed for a signal (default: 3 of 5)
Session Filter — toggle active hours restriction
Active Session — configurable session window (default: 0700-2000)
Signal Cooldown — minimum bars between consecutive signals (default: 8)
Require EMA Trend Alignment — enforces minimum EMA directional alignment even when full ribbon is not stacked (default: on)
ADX Filter
Use ADX Filter — toggle the trend quality and directional gate
ADX Length — calculation lookback (default: 14)
ADX Minimum — threshold below which all signals are suppressed (default: 18)
Exit Settings
ATR Length — lookback for all ATR exit calculations (default: 10)
SL ATR Mult — stop loss ATR buffer beyond FVG edge or bar low/high (default: 1.2)
TP1 ATR Mult — first take-profit target (default: 1.8)
TP2 ATR Mult — full exit target (default: 3.5)
Use ATR Trailing Stop — toggle dynamic trailing stop
Trail ATR Mult — trailing distance from current bar's extreme (default: 1.5)
Show Exit Levels — toggle SL, TP1, TP2, and trail lines on the chart
Place SL Beyond FVG Edge — anchors stop to the structural gap invalidation level (default: on)
Display
Show Confluence Score Label — prints live score on every signal triangle
Show Dashboard — toggle the full dashboard panel
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Bull Bright — yellow-green family for all bullish signals, fills, ribbons, and labels
Bear / Bear Bright — red family for all bearish signals, fills, ribbons, and labels
Squeeze — orange for squeeze tint and trailing stop line
Bull FVG / Bear FVG — gap box fill and border colors
Filled FVG — neutral gray for mitigated gaps
EMA Fast / Slow / Signal — individual EMA line colors
Ribbon Fill Bull / Bear / Flat — ribbon fill colors for each trend state
VWAP Line — VWAP plot color (default: purple)
SL / TP / TP2 / Trail Lines — individual exit level line colors
Long Zone BG / Short Zone BG — active trade background tints
Bull Label Text / Bear Label Text — text color for score labels on bull and bear signals
Dash Text / Dash BG / Dash Header / Dash Section / Dash Frame — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (10 total)
FVG Formation Alerts
New Bull FVG Formed — a qualifying bullish Fair Value Gap has been detected. Watch for retest entry
New Bear FVG Formed — a qualifying bearish Fair Value Gap has been detected. Watch for retest entry
Entry Alerts
Bull FVG Retest Entry — all conditions met: bull FVG retest, CE rejection, confluence score, ADX, session
Bear FVG Retest Entry — all conditions met for a short institutional retest entry
Exit Alerts
Bull TP1 Hit — price reaches the first bull take-profit. Scale out 50%
Bull TP2 Hit — price reaches the full bull exit target. Position closed
Bull Stop Hit — stop loss or trailing stop triggered on a long position
Bear TP1 Hit — price reaches the first bear take-profit. Scale out 50%
Bear TP2 Hit — price reaches the full bear exit target. Position closed
Bear Stop Hit — stop loss or trailing stop triggered on a short position
All alert messages are formatted as const strings for clean webhook and notification platform integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M1–M5 :
Min Layers at 3/5 — strong confluence without requiring perfection on every bar
CE Rejection on — the single most important FVG quality filter. Leave this enabled in all configurations
ADX minimum at 18 — slightly more permissive than the Pulse Scalper default, accounting for the structural quality already provided by the FVG retest condition
FVG-anchored SL on — structurally superior stop placement for all FVG-specific entries
Max FVG Age at 120 bars — covers approximately 2 hours on M1, 10 hours on M5. Sufficient for intraday imbalances without trading excessively old gaps
For other instruments or timeframes, adjust:
Higher timeframes (M15, H1, H4) — increase Max FVG Age to 200–300, increase Retest Cooldown to 15–25, increase TP2 to 4.5–5.5× ATR, raise Min Confidence to 4/5
Crypto (BTC, ETH) — increase Min Gap Size to 0.25–0.35× ATR to filter micro-gaps in volatile crypto price action, increase KC Mult to 2.0 for the squeeze layer
Indices (NAS100, US30) — use defaults with session tightened to 09:30–16:00. Increase displacement multiplier to 1.3 for cleaner gap quality on index moves
More signals — lower Min Layers to 2, disable CE Rejection, increase Max FVG Age, reduce Cooldown
Fewer, higher-quality signals — raise Min Layers to 4 or 5, keep CE Rejection on, raise ADX minimum to 22–25, reduce Max FVG Age to 60–80 bars
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🏦 Smart money and institutional price action traders — VOID is built on the core concept that institutional order flow creates imbalances and returns to fill them. This is the foundational logic of ICT methodology applied with quantitative confluence filters
🥇 Gold (XAUUSD) and forex scalpers — FVGs are particularly reliable on gold and major forex pairs where institutional order flow is most dominant
📊 Crypto and index traders — the displacement and gap size filters adapt the system to higher-volatility instruments without producing noise
🎯 Precision entry traders — the CE rejection filter and FVG-anchored stop produce tighter, more structurally defined entries than generic momentum systems
🧠 Systematic traders — the 5-layer confluence score provides a quantitative quality metric for every retest event, not just a visual signal
📉 Traders who want to stop chasing breakouts — VOID forces you to wait for price to return to the institutional level, eliminating the discipline failure of entering on extended, overheated moves
⚠ Traders who struggle with stop placement — the FVG-anchored SL system provides structurally meaningful stop levels determined by the market's own imbalance boundaries, not arbitrary ATR multiples
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. FVG boxes and CE lines may extend or update visually on the current bar, but no signal is generated until bar close confirmation
The CE Rejection filter is strongly recommended. Disabling it allows signals on any touch of the FVG box, including weak wicks that are unlikely to produce clean continuation moves
Maximum 500 labels, 500 lines, and 500 boxes are rendered. On very low timeframes with extended chart history, the oldest FVG boxes, CE lines, and signal markers may be automatically removed by TradingView's rendering limits. Reduce Max Active FVGs if this becomes an issue
FVG fill state is based on bar close — a wick through the gap boundary that closes inside or above the zone does not mark the gap as filled. Only a close beyond the boundary constitutes a fill
The VWAP calculation resets at the start of each session. On 24-hour crypto instruments, the VWAP anchors to the chart's visible history. For best VWAP behavior on crypto, consider disabling the VWAP filter (Layer 4) and relying on the remaining four layers
Gap age counting begins from the formation bar. A gap formed 5 bars ago on M5 is 25 minutes old — very fresh. The same gap age on H1 is 5 hours old — potentially stale. Adjust Max FVG Age to your timeframe context
The Trade Status section tracks position direction from signal to exit within a single chart session — it does not connect to your broker or brokerage account
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who understand that price always returns to where it left unfinished business — and who want a system precise enough to be there when it does. Indicador

Nexus Kinetic Reactor [JOAT]Nexus Kinetic Reactor
Introduction
Nexus Kinetic Reactor estimates price as a noisy state process. It tracks state, velocity, uncertainty, confidence, and optional projection cones.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. Recursive State Estimate
A smoothing lambda updates the estimated price state bar by bar.
2. Velocity Regime
Changes in the state estimate create velocity and acceleration-style context.
3. Uncertainty Bands
Noise windows and sigma bands show how uncertain the current estimate is.
4. Confidence Gate
Signals require tracking confidence and expectancy thresholds before labels appear.
state := state + lambdaAdjustment * (price - state)
Features
Recursive price-state estimator
Velocity and acceleration regime logic
Uncertainty bands
Projection cone
Blocked signal markers and dashboard
Input Parameters
Smoothing lambda and noise window
ATR length and velocity threshold
Minimum confidence and expectancy
Band sigma and projection bars
Cone, candle, and panel toggles
How to Use This Script
Use the state estimate and uncertainty bands as kinetic context. Labels only appear when the model clears confidence and expectancy gates.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
Nexus is original in combining state estimation, velocity gating, uncertainty bands, expectancy filtering, and projection visualization.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
Indicador

Indicador

HiddenRidder - 2xBB Timelocked + MAs## HiddenRidder - 2xBB Timelocked + MAs##
⚠️ Disclaimer
This indicator is shared for educational purposes only. It is a technical analysis tool and does not guarantee specific win rates or financial success. Always practice strict risk management.
------------------------------
## 🔍 Overview
HiddenRidder - 2xBB Timelocked + MAs is a multi-timeframe trend architecture overlay. It projects macro volatility zones and institutional trend states directly onto lower execution timeframes.
This setup is highly optimized for 0DTE options, futures trading, and swing trades .
Unlike standard Bollinger Bands that track a single period, this script tracks two separate Higher Timeframe (HTF) bands simultaneously: a Fast Bollinger (Length 3) and a Slow Bollinger (Length 9). This allows you to monitor short-term momentum shifts and long-term structural trends from a single chart without switching timeframes.
------------------------------
## 🛠️ Core Features & Logic
* Timelocked Dual Bollinger Bands: Calculates two separate Bollinger Bands locked to a higher timeframe (e.g., Daily) using a 2x Standard Deviation multiplier.
* Fast Bollinger (Length 3): Captures immediate HTF price expansions.
* Slow Bollinger (Length 9): Establishes the macro structural boundaries.
* Dynamic Trend Basis Line: The central slow basis line changes color dynamically. It turns Green when the price trades above it and Red when the price trades below it.
* Hyper-Extension Breakout Clouds: When enabled (Fill Outside BB), the chart floods with color when the price breaks outside the slow 2SD bands.
* Bright Green Cloud: Triggers when the close price breaks above the upper outer band.
* Bright Red Cloud: Triggers when the close price breaks below the lower outer band.
------------------------------
## ⏱️ Timeframe Setup Guide
* Indicator Input Setting: Keep the Bollinger Band lock Timeframe set to Daily (D).
* Execution Chart: Open your main trading chart on the 5-Minute (5M) timeframe.
* The Interface: The wide macro bands will stretch across your fast 5M candles, acting as major institutional support and resistance maps.
------------------------------
## 🚦 The Baseline Filter ( The Golden Rule )
To stay on the right side of the institutional trend on a fast 5M chart, use the center line color as your directional filter:
* If the center line is Green , focus only on Long setups.
* If the center line is Red , focus only on Short setups.
------------------------------
## 🎯 Trade Setups & Strategy Execution##
Strategy 1 : The Mean Reversion (The Snap-Back)
Best for choppy, sideways, or range-bound macro markets.
* Long Setup:
1. The 5M price drops and touches or pierces the Slow Bollinger Lower Band (Length 9).
2. Wait for a 5M bullish reversal candle (e.g., a hammer, bullish engulfing, or long lower wick).
3. Entry: Open of the next candle.
4. Take Profit (TP): The dynamic central basis line.
5. Stop Loss (SL): Just below the recent 5M swing low.
* Short Setup:
1. The 5M price rallies and touches or pierces the Slow Bollinger Upper Band (Length 9).
2. Wait for a 5M bearish reversal candle (e.g., a shooting star, bearish engulfing, or long upper wick).
3. Entry: Open of the next candle.
4. Take Profit (TP): The dynamic central basis line.
5. Stop Loss (SL): Just above the recent 5M swing high.
## Strategy 2 : The Hyper-Extension Breakout (Riding the Cloud)
Best for aggressive, heavy-volume momentum days.
* Long Setup:
1. A 5M candle closes completely above the Slow Bollinger Upper Band.
2. The Bright Green Breakout Cloud floods your screen.
3. Entry: Enter long immediately on the close of that breakout candle.
4. Take Profit (TP): Trail using 5M swing highs, or exit when a 5M candle closes back inside the Fast Bollinger Upper Band (Length 3).
5. Stop Loss (SL): Below the Fast Bollinger Upper Band line.
* Short Setup:
1. A 5M candle closes completely below the Slow Bollinger Lower Band.
2. The Bright Red Breakout Cloud floods your screen.
3. Entry: Enter short immediately on the close of that breakout candle.
4. Take Profit (TP): Trail using 5M swing lows, or exit when a 5M candle closes back inside the Fast Bollinger Lower Band (Length 3).
5. Stop Loss (SL): Above the Fast Bollinger Lower Band line.
------------------------------
## ⚙️ Input Settings Summary
* Bollinger Band lock Timeframe: Select your target higher timeframe (Default: D).
* Length Short: Sets the period for the Fast Bollinger band (Default: 3).
* Length Long: Sets the period for the Slow Bollinger band (Default: 9).
* Fill Outside BB: Turn this on to display the green/red hyper-extension breakout clouds.
=====================
🎁 Bonus Feature : High-tier institutional EMA Ribbon (20/50/200) with custom trend-cloud formatting. It is currently set to invisible by default , keeping the chart clean while hiding a pro-level momentum engine just for my loyal fans. Indicador

Indicador
