LPE Market Indicator v1.0
User Manual – Production Release
Release Date: February 1, 2026
Version: 1.0 (Production)
Category: Entry Gate Analysis – Liquidity & Participation
Platform: MetaTrader 5
Developer: GomerAI LLC
Website: https://gomerai.com
Overview
The LPE (Liquidity & Participation Engine) Market Indicator is a professional-grade entry gate filter that evaluates market conditions before allowing trades. It combines liquidity analysis (spread, volume, ATR) with session quality assessment (time-of-day, movement quality) to determine if market conditions are favorable for trading.
Purpose: Act as a gatekeeper – only allow trades when market conditions meet quality thresholds.
Context-Only Analysis: This indicator provides market quality assessment only and does not generate trade signals.
What is LPE?
LPE analyzes two critical dimensions:
- Liquidity Score (0.0-1.0) – Market depth and transaction quality
- ATR-based volatility (higher ATR = more liquidity)
- Spread quality (tighter spread = better liquidity)
- Volume analysis (higher volume = more participation)
- Session Quality (0.0-1.0) – Time-of-day and movement quality
- Trading session identification (London, NY, Asian)
- Session overlap bonuses (London/NY = peak activity)
- Price movement quality (trending vs choppy)
Combined Quality Score: Average of both scores, displayed as colored histogram (0-100%).
Key Features
✅ Separate Window Display
- Histogram in dedicated window below chart
- Never empty – shows quality on every bar
- Color-coded: Red (poor), Orange (moderate), Green (good)
✅ Dual-Scoring System
- Liquidity Score: Market depth assessment
- Session Quality: Time-of-day optimization
- Combined Score: Overall market quality
✅ Visual Quality Feedback
- Red bars (<30%): Poor conditions – avoid trading
- Orange bars (30-70%): Moderate conditions – trade cautiously
- Green bars (>70%): Good conditions – favorable for trading
✅ EA Compatible
- Works with GomerAI MultiStrat Networked EA
- Provides entry gate filter data
- AITL integration ready
Installation
Step 1: Copy File
- Download
LPE_Market_Indicator_v1.0.mq5 - Copy to:
[MT5 Data Folder]/MQL5/Indicators/GomerAI/LPE/ - Create folder if it doesn’t exist
Step 2: Compile
- Open MetaEditor (F4)
- Navigate to file
- Click “Compile” (F7)
- Verify: “0 errors”
Step 3: Attach to Chart
- Open any chart
- Navigator → Indicators → Custom
- Drag “LPE_Market_Indicator_v1.0” onto chart
- Configure parameters
- Click “OK”
Step 4: Verify
- Separate window appears below chart
- Colored histogram visible
- Bars show on every candle
- Initialization message in Experts log
Visual Elements
Colored Histogram
Red Bars (<30% quality):
- Meaning: Poor market conditions
- Characteristics: Wide spreads, low volume, off-session, choppy movement
- Action: Avoid trading or reduce position sizes significantly
- Example: Asian session, low liquidity periods
Orange Bars (30-70% quality):
- Meaning: Moderate market conditions
- Characteristics: Average spreads, moderate volume, transitional sessions
- Action: Trade cautiously, use tighter stops
- Example: Session transitions, pre-news periods
Green Bars (>70% quality):
- Meaning: Good market conditions
- Characteristics: Tight spreads, high volume, peak sessions, trending movement
- Action: Favorable for trading, normal position sizing
- Example: London/NY overlap, trending markets
Understanding the Scores
Liquidity Score (0.0-1.0)
Components:
- ATR (50% weight): Higher ATR = more liquidity
- Spread (30% weight): Tighter spread = better quality
- Volume (20% weight): Higher volume = more participation
High Liquidity (0.7-1.0):
- Market moving with good range
- Spreads tight
- Volume above average
- Easy to enter/exit positions
Low Liquidity (0.0-0.3):
- Market stagnant
- Spreads wide
- Volume below average
- Difficult execution, slippage risk
Session Quality (0.0-1.0)
Session Weights:
- Asian Session (00:00-09:00 UTC): 0.3 weight (lower activity)
- London Session (08:00-17:00 UTC): 1.0 weight (high activity)
- NY Session (13:00-22:00 UTC): 1.0 weight (high activity)
- London/NY Overlap (13:00-17:00 UTC): +0.2 bonus (peak activity)
- Dead Zone (22:00-00:00 UTC): 0.1 weight (very low activity)
Movement Quality (40% of score):
- Body-to-range ratio
- Higher ratio = more directional movement (trending)
- Lower ratio = more wicks (choppy, ranging)
High Session Quality (0.7-1.0):
- Peak trading hours
- Directional price movement
- Multiple markets active
Low Session Quality (0.0-0.3):
- Off-hours trading
- Choppy, ranging movement
- Single market (or none) active
Input Parameters
Liquidity Analysis Settings
InpATR_Period (Default: 14)
- ATR calculation period
- Range: 10-20
- Higher values: smoother, slower to adapt
- Lower values: more reactive, more noise
InpATR_Lookback (Default: 50)
- Bars for ATR normalization
- Range: 30-100
- Determines ATR relative scoring
InpVolume_Period (Default: 20)
- Volume moving average period
- Range: 10-50
- Used for volume quality assessment
InpSpread_MaxPoints (Default: 30.0)
- Maximum acceptable spread in points
- Instrument-specific (forex typically 2-5, indices 1-10)
- Spreads above this = poor liquidity score
Session Quality Settings
InpMovement_Lookback (Default: 10)
- Bars for movement quality assessment
- Range: 5-20
- Recent price action analysis window
Session Weight Inputs:
InpAsian_SessionWeight: 0.3 (default)InpLondon_SessionWeight: 1.0 (default)InpNY_SessionWeight: 1.0 (default)InpOverlap_SessionBonus: 0.2 (default)
Customization: Adjust if your strategy favors specific sessions
Display Options
ShowPanel (Default: true)
- Enable/disable info panel (not implemented in v1.0)
Color Settings:
ColorPoor: Red (default) – Poor qualityColorModerate: Orange (default) – Moderate qualityColorGood: LimeGreen (default) – Good quality
Best Practices
1. Use as Entry Gate
- Before entering trade: Check LPE histogram
- Green bars: Normal position sizing
- Orange bars: Reduce size by 50%
- Red bars: Avoid trading or use micro lots
2. Session Awareness
- Best trading: London/NY overlap (13:00-17:00 UTC)
- Caution: Asian session, session transitions
- Avoid: Dead zone (22:00-00:00 UTC)
3. Combine with Other Indicators
- LPE assesses when to trade (market quality)
- Use other indicators for what to trade (direction, entry)
- Example: LWSWING for structure + LPE for timing
4. Instrument-Specific Calibration
- Forex: Default settings work well
- Indices: Increase
InpSpread_MaxPoints(10-20) - Commodities: Adjust ATR settings for volatility
- Crypto: Increase spread and ATR thresholds
5. Backtest Your Thresholds
- Track win rate by LPE score ranges
- Identify your optimal entry thresholds
- Adjust session weights based on results
Troubleshooting
Histogram Always Red
Possible Causes:
InpSpread_MaxPointstoo low for instrument- Trading during off-hours
- Low volatility period
Solution:
- Increase
InpSpread_MaxPointsto match typical spreads - Wait for active session
- Lower session may be valid – don’t force trades
Histogram Always Green
Possible Causes:
InpSpread_MaxPointstoo high- ATR lookback too short
- Session weights too generous
Solution:
- Adjust
InpSpread_MaxPointsto be more restrictive - Increase
InpATR_Lookback - Fine-tune session weights
No Visual Output
Check:
- Indicator compiled successfully
- Attached to correct chart
- Sufficient bars on chart (need 60+)
- Check Experts log for errors
Error 4014 (Expected)
This is normal.
- Indicator attempts AITL connection
- MT5 blocks WebRequest in indicators
- Indicator runs in offline mode
- Data flows through EA when attached
Integration with GomerAI EA
When Used with EA:
- EA reads liquidity and session scores
- Scores transmitted to AITL
- Used as entry gate filter
- Trades only executed when LPE conditions met
Buffer Layout (for EA developers):
- Buffer 0: QualityVisual (0-100% for display)
- Buffer 1: QualityColorIndex (0/1/2 for color)
- Buffer 2: LiquidityScore (0.0-1.0) [EA READS]
- Buffer 3: SessionQuality (0.0-1.0) [EA READS]
Quick Reference
Quality Score Interpretation
| Score | Color | Meaning | Action |
|---|---|---|---|
| 0-30% | Red | Poor | Avoid/reduce significantly |
| 30-50% | Orange | Below Average | Caution, reduce size |
| 50-70% | Orange | Above Average | Trade cautiously |
| 70-100% | Green | Good | Normal trading |
Session Quick Guide (UTC)
| Session | Hours | Quality | Notes |
|---|---|---|---|
| Asian | 00:00-09:00 | Low | Avoid or scalp only |
| London | 08:00-17:00 | High | Active trading |
| NY | 13:00-22:00 | High | Active trading |
| Overlap | 13:00-17:00 | Peak | Best conditions |
| Dead Zone | 22:00-00:00 | Very Low | Avoid |
Parameter Quick Adjust
| Trading Style | ATR_Period | ATR_Lookback | Spread_MaxPoints |
|---|---|---|---|
| Scalping | 10 | 30 | Instrument-specific |
| Day Trading | 14 | 50 | Instrument-specific |
| Swing Trading | 20 | 100 | Higher tolerance |
Technical Support
Website: https://gomerai.com/support
GitHub: https://github.com/TMGContracting/GomerAI-EA
Email: support@gomerai.com
When reporting issues, include:
- MT5 build number
- Indicator version (v1.0)
- Symbol and timeframe
- Screenshot
- Experts log
- Parameter settings
Legal Disclaimer
This indicator provides market quality assessment only. It does NOT provide trade signals, entry/exit recommendations, or financial advice. Trading carries risk. Use at your own risk. Past performance is not indicative of future results. See full disclaimer in indicator source code.
Version History
v1.0 (2026-02-01) – PRODUCTION RELEASE
- Production-ready release
- Liquidity + Session scoring
- Colored histogram display
- EA v0.09 compatible
- User manual created
v0.01 (2026-01-14)
- Initial development build
© 2026 GomerAI LLC. All Rights Reserved.
LPE Market Indicator v1.0 – Production Release
Release Date: February 1, 2026
https://gomerai.com