Level 1 Gold - MAs & Bias
Feb 7, 2026

The Level 1 Gold - MAs & Bias tool provides a streamlined trend bias framework designed to identify trade direction using dual moving average crossovers and integrated session filtering.
Usage
The indicator is primarily used to establish a directional bias for trading, specifically optimized for Gold (XAUUSD) on the 1H timeframe. Traders can interpret the signals as follows:
- Directional Bias: When the EMA 5 (Orange) crosses above the SMA 21 (Blue), the tool signals "BUYS ONLY". Conversely, when the EMA 5 crosses below the SMA 21, it signals "SELLS ONLY".
- Visual Cues: Bullish crossovers are marked with a Green Circle, while bearish crossovers are marked with a Red Circle.
- Session Filtering: The tool highlights invalid trading sessions (shaded areas) where volatility or liquidity may be suboptimal. Users should look for breakouts across horizontal support/resistance levels that align with the established bias during valid sessions.
Details
The script utilizes two distinct moving average types to balance sensitivity and trend stability. The 5-period Exponential Moving Average (EMA) acts as a fast momentum tracker, while the 21-period Simple Moving Average (SMA) serves as the baseline for the medium-term trend. The "Bias" logic is stateful, meaning it retains the last crossover direction until a new opposite crossover occurs, ensuring the trader remains focused on a single direction. The session filter is specifically configured to avoid low-volume periods like Monday mornings and Friday afternoons.
Settings
Moving Averages
- EMA Length: Sets the period for the fast exponential moving average (default: 5).
- SMA Length: Sets the period for the slow simple moving average (default: 21).
Sessions
- Session Times: Customizes the active trading window (default: 06:00-16:00 UK time).
- Days Filter: Allows users to enable or disable specific days of the week for the session filter.
Visuals
- Toggle Visuals: Options to enable or disable crossover markers and session shading.
- Color Palette: Adjustable colors for the EMA, SMA, and bias labels.
FAQ
How do I use this for my strategy? Wait for a crossover to confirm the bias, ensure you are within a valid trading session, and then look for price action entries (like support/resistance breakouts) in that specific direction.
Can I use this on assets other than Gold? While optimized for Gold on the 1H chart, the settings can be adjusted to suit other volatile assets or different timeframes.
How can I access this indicator? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.