OPEN-SOURCE SCRIPT
Alpha Forge Singularity Engine v1.6

The Singularity Engine is a market energy and force-based oscillator designed to identify moments of abnormal market pressure, directional expansion, compression, aftershock behavior, and potential liquidity trap conditions.
Instead of acting like a traditional momentum oscillator, Singularity attempts to read the market field around price action:
Is energy building?
Is directional force increasing?
Did price enter a high-pressure expansion phase?
Is the market drifting after a major impulse?
Are traders potentially trapped after a sweep?
Has the latest signal reached a user-defined TP or SL?
The goal is not to predict price, but to provide a structured view of market behavior and context.
Core Concept
Singularity uses a custom market energy model built from:
Candle body movement
Total candle range
ATR-based expansion
Volume mass
Close location within the candle
Directional force
This creates a normalized energy score and directional force reading that are used to classify the current market state.
The engine can identify states such as:
Bull Singularity
Bear Singularity
Bull / Bear Force Burst
Charging
Aftershock
Bull / Bear Drift
Recovery
Possible or Confirmed Trap
Coiling
Stable Field
Void / No Edge
Optional Overlay BUY / SELL Signals
Users can choose to display BUY / SELL labels directly on the price chart.
Overlay signals are optional and can be controlled from the settings panel.
Signal modes include:
Conservative
Only uses full Singularity events.
Standard
Uses Singularity events, Force Bursts, and Recovery conditions.
Aggressive
Also allows Charging conditions for earlier but more active signals.
Users can also choose whether grades appear on the overlay labels, such as:
BUY A
SELL A+
BUY B+
Signal Grading
Singularity includes an internal grading model that scores BUY and SELL conditions using energy, directional force, volume mass, range expansion, trend context, recovery behavior, and charging behavior.
Available grades:
A+
A
B+
B
C
Users can filter overlay signals by minimum grade:
A+ only
A and above
B+ and above
B and above
C and above
All
This allows users to control how selective or active the overlay signals are.
TP / SL Tracker
v1.6 includes an optional latest signal trade tracker.
When an overlay BUY or SELL signal appears, the tracker can monitor that latest signal using user-defined take profit and stop loss settings.
Users can choose:
Percent-based TP / SL
ATR-based TP / SL
Track BUY signals
Track SELL signals
Show active entry line
Show active TP / SL lines
Show TP / SL result markers
Keep only the latest TP / SL marker
Example result markers:
TP ✓
SL ✕
The tracker is visual only. It is designed to help users quickly see whether the most recent signal reached the selected TP or SL level.
HUD Dashboard
The Alpha Forge HUD provides a quick readout of the current market field.
The dashboard includes:
Current Field
Energy Score
Live Force
Active Grade
Last Signal
Bars Ago
Trade Status
Result
Last Entry
Last TP
Last SL
Impulse Memory
Mode
This allows users to see whether the market is actively expanding, cooling, drifting, recovering, or entering a higher-risk trap/aftershock phase.
Filters
The indicator includes optional filters for additional control:
EMA trend filter
Higher-timeframe bias filter
Session filter
Grade filter
Signal cooldown
Trap cooldown
Singularity cooldown
Burst cooldown
These settings allow the tool to be adjusted for different markets and timeframes.
Trap Logic
Singularity includes liquidity sweep and rejection logic.
Trap mode can be set to:
Possible
Labels possible long or short trap conditions immediately after a sweep/rejection.
Confirmed
Waits for follow-through confirmation before labeling a trap condition.
This helps users distinguish between early warning signals and more confirmed trap behavior.
Best Used For
The Singularity Engine can be used on:
Stocks
Crypto
Forex
Indices
Intraday charts
Swing-trading timeframes
It is especially useful for traders who want to see abnormal energy events, directional pressure, continuation risk, exhaustion risk, and post-signal TP/SL tracking in one clean interface.
Important Notes
This indicator is not a standalone trading system and does not guarantee future results. The BUY / SELL labels and TP / SL tracker are visual tools based on the selected settings. Users should combine this tool with their own analysis, risk management, and market context.
Signals can behave differently across tickers, timeframes, volatility conditions, and session types. Always test and tune settings before relying on any indicator in live conditions.
Suggested Starting Settings
For general testing:
Overlay Signal Mode: Standard
Minimum Overlay Grade: B+
TP / SL Mode: Percent
Take Profit %: 2.0
Stop Loss %: 1.0
Trap Mode: Possible
Use EMA Trend Filter: Off
Use Higher Timeframe Bias Filter: Off
Use Session Filter: Off
Oscillator Label Mode: Standard
For cleaner signals:
Overlay Signal Mode: Conservative
Minimum Overlay Grade: A
Oscillator Label Mode: Minimal
For more active signals:
Overlay Signal Mode: Aggressive
Minimum Overlay Grade: B
Read the field. Track the force. Follow the expansion.
Instead of acting like a traditional momentum oscillator, Singularity attempts to read the market field around price action:
Is energy building?
Is directional force increasing?
Did price enter a high-pressure expansion phase?
Is the market drifting after a major impulse?
Are traders potentially trapped after a sweep?
Has the latest signal reached a user-defined TP or SL?
The goal is not to predict price, but to provide a structured view of market behavior and context.
Core Concept
Singularity uses a custom market energy model built from:
Candle body movement
Total candle range
ATR-based expansion
Volume mass
Close location within the candle
Directional force
This creates a normalized energy score and directional force reading that are used to classify the current market state.
The engine can identify states such as:
Bull Singularity
Bear Singularity
Bull / Bear Force Burst
Charging
Aftershock
Bull / Bear Drift
Recovery
Possible or Confirmed Trap
Coiling
Stable Field
Void / No Edge
Optional Overlay BUY / SELL Signals
Users can choose to display BUY / SELL labels directly on the price chart.
Overlay signals are optional and can be controlled from the settings panel.
Signal modes include:
Conservative
Only uses full Singularity events.
Standard
Uses Singularity events, Force Bursts, and Recovery conditions.
Aggressive
Also allows Charging conditions for earlier but more active signals.
Users can also choose whether grades appear on the overlay labels, such as:
BUY A
SELL A+
BUY B+
Signal Grading
Singularity includes an internal grading model that scores BUY and SELL conditions using energy, directional force, volume mass, range expansion, trend context, recovery behavior, and charging behavior.
Available grades:
A+
A
B+
B
C
Users can filter overlay signals by minimum grade:
A+ only
A and above
B+ and above
B and above
C and above
All
This allows users to control how selective or active the overlay signals are.
TP / SL Tracker
v1.6 includes an optional latest signal trade tracker.
When an overlay BUY or SELL signal appears, the tracker can monitor that latest signal using user-defined take profit and stop loss settings.
Users can choose:
Percent-based TP / SL
ATR-based TP / SL
Track BUY signals
Track SELL signals
Show active entry line
Show active TP / SL lines
Show TP / SL result markers
Keep only the latest TP / SL marker
Example result markers:
TP ✓
SL ✕
The tracker is visual only. It is designed to help users quickly see whether the most recent signal reached the selected TP or SL level.
HUD Dashboard
The Alpha Forge HUD provides a quick readout of the current market field.
The dashboard includes:
Current Field
Energy Score
Live Force
Active Grade
Last Signal
Bars Ago
Trade Status
Result
Last Entry
Last TP
Last SL
Impulse Memory
Mode
This allows users to see whether the market is actively expanding, cooling, drifting, recovering, or entering a higher-risk trap/aftershock phase.
Filters
The indicator includes optional filters for additional control:
EMA trend filter
Higher-timeframe bias filter
Session filter
Grade filter
Signal cooldown
Trap cooldown
Singularity cooldown
Burst cooldown
These settings allow the tool to be adjusted for different markets and timeframes.
Trap Logic
Singularity includes liquidity sweep and rejection logic.
Trap mode can be set to:
Possible
Labels possible long or short trap conditions immediately after a sweep/rejection.
Confirmed
Waits for follow-through confirmation before labeling a trap condition.
This helps users distinguish between early warning signals and more confirmed trap behavior.
Best Used For
The Singularity Engine can be used on:
Stocks
Crypto
Forex
Indices
Intraday charts
Swing-trading timeframes
It is especially useful for traders who want to see abnormal energy events, directional pressure, continuation risk, exhaustion risk, and post-signal TP/SL tracking in one clean interface.
Important Notes
This indicator is not a standalone trading system and does not guarantee future results. The BUY / SELL labels and TP / SL tracker are visual tools based on the selected settings. Users should combine this tool with their own analysis, risk management, and market context.
Signals can behave differently across tickers, timeframes, volatility conditions, and session types. Always test and tune settings before relying on any indicator in live conditions.
Suggested Starting Settings
For general testing:
Overlay Signal Mode: Standard
Minimum Overlay Grade: B+
TP / SL Mode: Percent
Take Profit %: 2.0
Stop Loss %: 1.0
Trap Mode: Possible
Use EMA Trend Filter: Off
Use Higher Timeframe Bias Filter: Off
Use Session Filter: Off
Oscillator Label Mode: Standard
For cleaner signals:
Overlay Signal Mode: Conservative
Minimum Overlay Grade: A
Oscillator Label Mode: Minimal
For more active signals:
Overlay Signal Mode: Aggressive
Minimum Overlay Grade: B
Read the field. Track the force. Follow the expansion.
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.
Discord: discord.gg/gnjf87QGmv
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.
Discord: discord.gg/gnjf87QGmv
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.