Documentation

ALEEP Config

Configure ML model features, parameters, exit strategies, and run custom analysis

Open in App

Enterprise Feature

This feature is available on the Enterprise plan. The documentation below describes its full capabilities so you can evaluate whether it fits your workflow. Contact us to learn more about upgrading your access.

Overview

ALEEP Config is the advanced configuration interface for the ALEEP Machine Learning engine. It allows you to customize the ML model's feature selection, tune parameters, configure exit strategies, set entry filters, and run custom analysis on any stock symbol. This is the control center for fine-tuning the ML signal generation pipeline.

Quick Start

  • Enter a stock symbol in the search bar
  • Select the technical features (indicators) you want the model to use
  • Configure ML parameters (K neighbors, prediction days, lookback bars)
  • Click "Run Analysis" to generate signals and backtest results
  • Review the backtest statistics and signal history

Tip

Start with default settings to establish a baseline. Then adjust one parameter at a time to understand how each change affects signal quality and backtest results.

Feature Selection

Features are the technical indicators the ML model uses as inputs for pattern matching. Each feature captures a different aspect of price action, momentum, or volatility.

FeatureFull NameWhat It Measures
RSIRelative Strength IndexMomentum oscillator measuring speed of price changes (0-100)
WTWaveTrendCross-based momentum indicator with overbought/oversold levels
MFIMoney Flow IndexVolume-weighted RSI measuring buying/selling pressure
STOCHStochastic OscillatorCompares closing price to price range over N periods
ROCRate of ChangePercentage price change over N periods
ADXAverage Directional IndexMeasures trend strength regardless of direction
CCICommodity Channel IndexMeasures price deviation from statistical mean
MACDHMACD HistogramDifference between MACD line and signal line

Note

Each feature has configurable parameters (periods, smoothing, etc.) accessible through the feature settings panel. The default parameters are reasonable starting points.

ML Parameters

ParameterDescriptionGuidance
Neighbors (K)Number of nearest neighbors to considerLower K (3-5) = more responsive but noisier. Higher K (8-15) = smoother but slower
Prediction DaysHow far ahead the model predictsShorter (1-3) for day trading. Longer (5-10) for swing trading
Max Bars BackHistorical bars used for pattern matchingMore bars = more patterns but slower computation. 2000-5000 is typical

Kernel Configuration

The kernel determines how the model measures similarity between current and historical patterns. Different kernels emphasize different aspects of the distance calculation.

KernelDescription
RQ (Rational Quadratic)Flexible kernel that adapts to multiple length scales. Good general-purpose choice.
RQ + GaussianCombines RQ with Gaussian kernel for both local and global pattern matching.
NoneRaw distance-based matching without kernel transformation.

Exit Strategies

Exit strategies determine when the model suggests closing a position. Multiple exit methods can be active simultaneously; the first triggered exit closes the position.

StrategyDescription
Time-BasedExit after N bars regardless of profit/loss
Opposite SignalExit when the model generates a contrary signal
Stop LossExit if price drops below a fixed percentage threshold
ATR-BasedExit using Average True Range for dynamic stop levels
Trailing StopExit using a trailing stop that follows price upward
Take ProfitExit when a target profit percentage is reached

Entry Filters

Entry filters add additional conditions that must be met before a signal is acted upon. They help reduce false signals by requiring confirmation from other indicators.

  • Volume Filter: Requires minimum volume threshold
  • RSI Filter: Requires RSI within a specified range
  • Volatility Filter: Requires volatility within acceptable bounds
  • Momentum Filter: Requires positive momentum confirmation
  • ADX Filter: Requires minimum trend strength
  • Trend / EMA Filter: Requires price alignment with moving averages
  • SMA Filter: Requires price above/below a Simple Moving Average
  • Regime Filter: Requires specific market regime conditions

Advanced Settings

ML

Core machine learning parameters including distance methods, weighted voting, ensemble settings, adaptive K, LOF outlier detection, and probability calibration.

Exits

Configure exit strategy combinations, stop loss types, trailing parameters, take profit levels, and time-based exits.

Filters

Set entry filter thresholds for volume, momentum, volatility, trend, and regime conditions.

Models

Select and configure distance metrics (Euclidean, Manhattan, Chebyshev, Cosine, Minkowski, Lorentzian, Mahalanobis).

Backtest Results

After running an analysis, the results panel shows detailed backtest statistics including total trades, win rate, profit factor, maximum drawdown, and equity curve. Use these results to evaluate configuration effectiveness before relying on live signals.

MetricDescription
Total TradesNumber of trades generated in the backtest period
Win RatePercentage of trades that were profitable
Profit FactorGross profit divided by gross loss (above 1.0 = profitable)
Max DrawdownLargest peak-to-trough decline in the backtest
Sharpe RatioRisk-adjusted return metric
Avg Win / Avg LossAverage gain on winning trades vs average loss on losing trades

Best Practices

  • Start with default settings before customizing
  • Change one parameter at a time to understand its impact
  • Ensure backtest has at least 20+ trades for statistical significance
  • Watch for overfitting: extremely high win rates on few trades may not generalize
  • Test configurations across different market conditions and time periods
  • Save successful configurations for reuse

Warning

Backtest results reflect historical performance only. Overfitted configurations that look excellent in backtests may perform poorly on new data. Always validate across multiple time periods and market conditions.

Common Configuration Templates

TemplateSettingsBest For
Conservative SwingK=8, Pred Days=5, RSI+MACD+ADX features, RSI+Trend filters, Stop 5%Lower-frequency, higher-confidence swing trades
Aggressive DayK=3, Pred Days=1, RSI+WT+STOCH features, Volume filter only, Stop 2%High-frequency signals for active day traders
Momentum FollowK=5, Pred Days=3, ROC+ADX+MACDH features, ADX+Momentum filters, Trailing 3%Trending stocks with strong directional moves
Mean ReversionK=10, Pred Days=5, RSI+MFI+CCI features, RSI+Volatility filters, Take Profit 3%Overbought/oversold bounce setups

Tip

These templates are starting points. Every stock has different volatility and behavior characteristics. Run the backtest on your specific symbol to see which template works best, then fine-tune from there.

Combining with Other Tools

  • Configure ALEEP here, then visualize signals on AI Charts for an integrated visual experience
  • Use Market Regimes to inform your filter settings — enable Regime Filter during choppy markets
  • Cross-reference ALEEP Config backtest results against the same stock's Composite Score for fundamental validation
  • Apply signals from ALEEP Config to stocks identified through the Screener or Pattern Signals for multi-layer analysis

This platform provides data and analysis tools for educational and informational purposes only. Nothing on this platform constitutes financial advice, investment recommendations, or solicitation to buy or sell any securities. Always conduct your own research and consult with a qualified financial advisor before making investment decisions.