Tutorial

Indicator Settings Optimization Guide

December 20, 20246 min readHigh Edge Team

Indicator Settings Optimization Guide

All High Edge indicators come with optimized default settings, but understanding how to adjust them can improve performance in different market conditions.

Start with Defaults

Important: Default settings are optimized for:

  • S&P 500 Micro Futures (MES)
  • 5-minute primary timeframe
  • Regular trading hours (RTH)

Don't change settings until you understand what they do and why you're changing them.

When to Adjust Settings

Only adjust settings if:

  1. Trading Different Instruments: ES, NQ, YM may need different parameters
  2. Different Timeframes: 1-minute vs 15-minute may require adjustments
  3. Market Regime Changes: Volatile vs calm markets
  4. Personal Trading Style: More/less sensitive based on your preferences

HE_MovingAverages Optimization

Default Settings

  • Trend EMA: 20 periods
  • Slow EMA: 50 periods
  • Trend Filter EMA: 200 periods

When to Adjust

Faster Markets (Volatile)

If signals come too late:

  • Reduce Trend EMA to 15 periods
  • Reduce Slow EMA to 40 periods

Slower Markets (Low Volatility)

If too many false signals:

  • Increase Trend EMA to 25 periods
  • Increase Slow EMA to 60 periods

Different Timeframes

  • 1-minute: Use 10/30/100 (faster)
  • 15-minute: Use 25/60/200 (similar to defaults)
  • 60-minute: Use 30/75/250 (slower)

Testing Approach

  1. Backtest: Test changes on historical data first
  2. Forward Test: Use in simulation with small changes
  3. Measure: Track win rate and average R:R
  4. Compare: Compare new settings vs defaults
  5. Decide: Only keep changes that improve results

HE_EMAAngle Optimization

Default Angle Thresholds

  • Strong: ±30°
  • Moderate: ±15°
  • Weak: ±5°

Adjusting Sensitivity

More Sensitive (Catches Trends Earlier)

  • Strong: ±25°
  • Moderate: ±12°
  • Weak: ±3°

Less Sensitive (Fewer False Signals)

  • Strong: ±35°
  • Moderate: ±20°
  • Weak: ±8°

Market-Specific Adjustments

  • Trending Markets: Use more sensitive (catch trends earlier)
  • Ranging Markets: Use less sensitive (reduce false signals)

HE_BarInfo Optimization

Body Percentage Thresholds

Default thresholds work well for most conditions. Only adjust if:

  • Very Volatile Markets: Increase thresholds (ignore small body bars)
  • Very Quiet Markets: Decrease thresholds (catch smaller moves)

Tail Analysis Settings

Default tail settings are optimal for MES. For other instruments:

  • ES (Full Size): Similar to defaults
  • NQ (More Volatile): May need slightly higher thresholds
  • YM (Less Volatile): May need slightly lower thresholds

Optimization Best Practices

1. Change One Thing at a Time

Don't change multiple settings simultaneously. You won't know what caused improvement or degradation.

2. Test Statistically

  • Minimum 50 trades before drawing conclusions
  • Track both win rate AND risk/reward
  • Use a trading journal

3. Market Conditions Matter

Settings that work in trending markets may fail in ranging markets. Consider:

  • Regime Detection: Use HE_RegimeBOMDetector to identify market type
  • Adaptive Settings: Different settings for different regimes (advanced)

4. Don't Over-Optimize

Warning: Over-optimization leads to curve-fitting. Settings that work perfectly on historical data often fail on live data.

Rule: If settings work well across multiple market conditions and timeframes, stop optimizing.

Backtesting Checklist

Before changing any default settings:

  1. [ ] Understand what the setting does
  2. [ ] Have a hypothesis (why will this improve results?)
  3. [ ] Test on at least 50 historical trades
  4. [ ] Compare to default settings
  5. [ ] Test across different market conditions
  6. [ ] Forward test in simulation
  7. [ ] Document results
  8. [ ] Make decision based on data, not emotions

Recommended Testing Process

Phase 1: Understand Defaults

  1. Trade with default settings for 2-4 weeks
  2. Document all trades
  3. Note any consistent issues

Phase 2: Identify Issues

  1. Are signals too late? → Consider faster settings
  2. Too many false signals? → Consider slower settings
  3. Missing trades? → Consider more sensitive settings
  4. Too many losing trades? → Consider less sensitive settings

Phase 3: Test Changes

  1. Make ONE small adjustment
  2. Test for 1-2 weeks
  3. Compare results to defaults
  4. If better: Keep and test longer
  5. If worse: Revert and try different adjustment

Phase 4: Validate

  1. Test winning settings for 1 month
  2. Ensure they work across different market conditions
  3. Don't change again unless market structure changes

When NOT to Optimize

Don't optimize if:

  • You haven't traded with defaults for at least 1 month
  • You're not consistently profitable with defaults
  • You're trying to recover losses (that's a psychology issue, not a settings issue)
  • You don't understand what the setting does
  • You're making changes based on recent losses (recency bias)

Conclusion

Optimization can improve performance, but it's often unnecessary. Default settings are carefully chosen and work well for most traders.

Remember: A good strategy with default settings beats a mediocre strategy with optimized settings. Focus on understanding the indicators and market context before optimizing.

Related Resources

#tutorial#optimization#settings#configuration

Related Articles

Tutorial
Jan 15, 20255 min read

Getting Started with NinjaTrader 8 Indicators

Learn how to install and configure your first trading indicator in NinjaTrader 8. Step-by-step guide for beginners.