OPEN-SOURCE SCRIPT
Apex System

**Apex System – Market Structure & Smart Money Entry Indicator**
Apex System is a market structure–based indicator designed to help traders identify high-probability trade opportunities using a combination of higher-timeframe bias, structural breaks, displacement, and inefficiency detection.
The script focuses on aligning multiple confirmations before generating a signal, helping filter out low-quality setups and improve trade timing.
---
### Core Concepts Used
**Higher Timeframe Bias**
The system determines overall market direction using a higher timeframe EMA and RSI. Trades are only taken in the direction of the dominant trend.
**Market Structure (Fractals & BOS)**
Fractal highs and lows are used to track market structure. When price breaks a key fractal level, a **Break of Structure (BOS)** is marked on the chart.
**Displacement Detection**
Strong impulsive candles are identified using ATR. These candles indicate potential institutional participation and momentum.
**Fair Value Gaps (FVG)**
The script highlights inefficiencies in price delivery where the market moves too quickly, leaving gaps that often act as areas of interest.
**Order Blocks**
Potential supply and demand zones are drawn based on key reversal candles.
---
### How Trade Signals Are Generated
A signal appears only when multiple conditions align:
**BUY Signal**
* Higher timeframe trend is bullish
* Bullish break of market structure occurs
* Strong bullish displacement candle appears
* A bullish fair value gap forms
**SELL Signal**
* Higher timeframe trend is bearish
* Bearish break of market structure occurs
* Strong bearish displacement candle appears
* A bearish fair value gap forms
When these conditions align, the indicator prints **BUY or SELL labels** on the chart.
---
### How to Use the Indicator
1. Use the indicator on your preferred timeframe.
2. Observe the higher timeframe bias to understand market direction.
3. Wait for a **BOS** confirmation.
4. Look for **BUY/SELL signals** that align with the bias.
5. Use the highlighted **FVG and Order Blocks** as areas for entries, stop placement, or profit targets.
This tool is designed to assist traders who incorporate **Smart Money Concepts (SMC)** or **market structure analysis** in their trading approach.
---
### Key Features
• Higher timeframe trend filter
• Market structure break detection (BOS)
• Displacement detection using ATR
• Fair Value Gap visualization
• Order Block zones
• Automatic BUY/SELL signal labels
• Alert conditions for automated notifications
---
### Notes
This indicator is intended as a **decision-support tool** and should be used alongside proper risk management and trading discipline.
Apex System is a market structure–based indicator designed to help traders identify high-probability trade opportunities using a combination of higher-timeframe bias, structural breaks, displacement, and inefficiency detection.
The script focuses on aligning multiple confirmations before generating a signal, helping filter out low-quality setups and improve trade timing.
---
### Core Concepts Used
**Higher Timeframe Bias**
The system determines overall market direction using a higher timeframe EMA and RSI. Trades are only taken in the direction of the dominant trend.
**Market Structure (Fractals & BOS)**
Fractal highs and lows are used to track market structure. When price breaks a key fractal level, a **Break of Structure (BOS)** is marked on the chart.
**Displacement Detection**
Strong impulsive candles are identified using ATR. These candles indicate potential institutional participation and momentum.
**Fair Value Gaps (FVG)**
The script highlights inefficiencies in price delivery where the market moves too quickly, leaving gaps that often act as areas of interest.
**Order Blocks**
Potential supply and demand zones are drawn based on key reversal candles.
---
### How Trade Signals Are Generated
A signal appears only when multiple conditions align:
**BUY Signal**
* Higher timeframe trend is bullish
* Bullish break of market structure occurs
* Strong bullish displacement candle appears
* A bullish fair value gap forms
**SELL Signal**
* Higher timeframe trend is bearish
* Bearish break of market structure occurs
* Strong bearish displacement candle appears
* A bearish fair value gap forms
When these conditions align, the indicator prints **BUY or SELL labels** on the chart.
---
### How to Use the Indicator
1. Use the indicator on your preferred timeframe.
2. Observe the higher timeframe bias to understand market direction.
3. Wait for a **BOS** confirmation.
4. Look for **BUY/SELL signals** that align with the bias.
5. Use the highlighted **FVG and Order Blocks** as areas for entries, stop placement, or profit targets.
This tool is designed to assist traders who incorporate **Smart Money Concepts (SMC)** or **market structure analysis** in their trading approach.
---
### Key Features
• Higher timeframe trend filter
• Market structure break detection (BOS)
• Displacement detection using ATR
• Fair Value Gap visualization
• Order Block zones
• Automatic BUY/SELL signal labels
• Alert conditions for automated notifications
---
### Notes
This indicator is intended as a **decision-support tool** and should be used alongside proper risk management and trading discipline.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.