Enigma Unlocked FR [Thomas]

578
Introduce
Enigma Unlocked FR [Thomas] is a technical analysis indicator designed to help traders study swing-based market structure, breakout conditions and potential retest opportunities through a clean and organized chart layout.
The indicator combines swing high and swing low detection, bullish and bearish breakout signals, retest levels, EMA trend filtering, optional session filtering, ATR-based Entry and Target references, and a compact market dashboard.
The purpose of this tool is to provide a structured way to observe price behavior around important swing levels and organize technical analysis without unnecessarily cluttering the chart.
This indicator is based on price-action calculations and configurable technical conditions. It does not guarantee trading results or predict market direction with certainty.

1. Swing High & Swing Low Detection
The indicator identifies confirmed swing highs and swing lows using a configurable Swing Length setting.
These levels provide the foundation for the breakout and retest logic.
How It Works
Swing Highs identify selected local price highs.
Swing Lows identify selected local price lows.
The latest confirmed swing levels are used as structural reference points.
Traders can adjust Swing Length according to their preferred chart analysis.
A higher Swing Length may identify broader swing levels, while a lower setting may respond to smaller price movements.
Confirmed pivot calculations require candles on both sides of the swing. Therefore, a swing level may become available only after confirmation.

2. Bullish Breakout Setup
لقطة
The bullish breakout condition is designed to identify a candle closing above the latest confirmed swing high.
The indicator checks the breakout candle and applies the selected trend and session filters before displaying the signal.
Setup Reading
Identify the latest confirmed swing high.
Observe price approaching the reference level.
Check whether the candle closes above the swing high.
Review the BUY breakout marker.
Examine the surrounding market structure before considering the setup.
The breakout marker represents a technical condition based on the script's calculations. It does not confirm that price will continue rising.

3. Bearish Breakout Setup
لقطة
The bearish breakout condition identifies a candle closing below the latest confirmed swing low.
This condition can help traders study downward breaks of previously established price levels.
Setup Reading
Locate the latest confirmed swing low.
Observe price testing the level.
Check whether the candle closes below the swing low.
Review the SELL breakout marker.
Evaluate the broader price structure and market context.
A bearish breakout is a chart condition, not a guaranteed continuation signal.

4. Retest Setup
لقطة
The retest feature focuses on the previously broken swing level.
After a bullish breakout, the indicator stores the broken swing high as a potential retest reference. After a bearish breakout, it stores the broken swing low.
The retest condition uses an ATR-based tolerance to account for recent volatility around the reference level.
Bullish Retest
A potential bullish retest is identified when price returns near the broken swing high, closes back above the level and satisfies the script's candle and filter conditions.
Bearish Retest
A potential bearish retest is identified when price returns near the broken swing low, closes back below the level and satisfies the script's candle and filter conditions.
Retest Confirmation
The indicator marks the first qualifying retest of the stored level to reduce repeated retest markers from the same setup.
A retest does not guarantee that the level will hold. Traders should evaluate the reaction and surrounding price action independently.

5. EMA Trend Filter
لقطة
The indicator includes an optional Exponential Moving Average (EMA) trend filter.
When enabled, the script uses the selected EMA length and its direction to filter breakout and retest conditions.
Filter Logic
Bullish conditions require price above the EMA with the EMA non-decreasing.
Bearish conditions require price below the EMA with the EMA non-increasing.
The EMA filter is configurable and can be disabled from the settings.
This feature is intended to help traders compare signals with a selected trend condition. It does not eliminate false signals or guarantee trend accuracy.

6. London & New York Session Filter
The indicator includes an optional session filter for London and New York trading hours.
Users can enable or disable each session independently and adjust the session time settings.
How to Use
Open the Session Filter settings.
Enable the session filter if required.
Select London, New York or both.
Review signals during the selected session windows.
The session filter is disabled by default. When enabled, signals are restricted to the configured session conditions.
Session timing can affect signal frequency. Traders should verify the settings according to their market and chart time preferences.

7. Entry Reference
When a qualifying breakout or retest signal is generated, the indicator can display an Entry reference line.
The Entry reference is calculated from the closing price of the signal candle.
Entry Display
White horizontal line
Entry price label
Latest setup reference
The Entry line is a technical reference for chart analysis. It is not an instruction to execute a trade at that exact price.

8. ATR-Based Target System
لقطة
The indicator includes three configurable target references:
TP1
TP2
TP3
Target distances are calculated using the Average True Range (ATR), which measures recent price volatility.
Target Calculation
For a bullish setup, target references are calculated above the Entry price.
For a bearish setup, target references are calculated below the Entry price.
The default multipliers are:
TP1: 1 × ATR
TP2: 2 × ATR
TP3: 3 × ATR
Users can modify the ATR length and target multipliers through the settings.
Target Display
Entry line
TP1 line
TP2 line
TP3 line
Price labels on the right side
The indicator displays the latest target set to maintain a cleaner chart.
ATR targets are volatility-based reference levels. They are not fixed pip targets, guaranteed profit levels or predictions of future price movement.

9. Clean Chart Presentation
The indicator is designed to keep its main chart elements easy to identify.
The chart can display:
BUY and SELL breakout markers
Retest markers
Retest reference levels
Entry and target lines
Optional EMA
Dashboard information
The number of historical retest levels and the target line length can be adjusted to suit different chart layouts.

10. Premium Dashboard
لقطة
The dashboard provides a compact summary of selected indicator conditions.
It displays:
Current EMA-based trend state
Recent breakout structure condition
Session filter status
Latest detected signal
The dashboard can be positioned in different chart corners or disabled completely.
It is intended as a visual reference and should always be read alongside the actual price chart.

11 . IMPORTANT NOTE
لقطة
All the chart annotations, including Order Blocks, BOS, CHoCH, trend markings, and highlighted zones, have been added manually by me for better visualization and to make the market structure easier to understand.
These markings are for educational and analytical purposes only. They are not automatically generated by any indicator.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.