Configuration Tips
Indicator Configuration Tips
Master the art of configuring technical indicators for optimal performance. Learn how to adjust parameters, optimize settings, and customize indicators for different markets and trading styles.
Configuration Fundamentals
Understanding Parameters
Every indicator parameter serves a specific purpose:
Parameter Type | Purpose | Impact of Changes |
---|---|---|
Period/Length | Lookback window | Longer = smoother, more lag; Shorter = responsive, more noise |
Multiplier | Sensitivity adjustment | Higher = fewer signals; Lower = more signals |
Threshold | Signal levels | Defines entry/exit points |
Source | Price input | Close, Open, High, Low, HL2, HLC3, OHLC4 |
Method | Calculation type | SMA, EMA, WMA, etc. |
The Default Dilemma
Should you use default settings?
✅ Start with defaults when:
- Learning a new indicator
- Testing initial strategy
- Trading major pairs/stocks
- Normal market conditions
❌ Adjust defaults when:
- Specific asset characteristics
- Unusual volatility levels
- Shorter/longer timeframes
- After thorough testing
Parameter Optimization by Indicator Type
Moving Averages
Standard Configurations:
Scalping:
EMA: [5, 10, 20]
Timeframe: 1-5 min
Day_Trading:
EMA: [20, 50]
SMA: [50, 100]
Timeframe: 15min-1H
Swing_Trading:
SMA: [50, 100, 200]
EMA: [20, 50]
Timeframe: 4H-Daily
Position_Trading:
SMA: [100, 200]
EMA: [50, 100]
Timeframe: Daily-Weekly
Fine-Tuning Tips:
- Volatile assets: Use EMA for faster response
- Stable assets: Use SMA for smoother signals
- Increase period by √2 for each timeframe up
- Fibonacci numbers (8, 13, 21, 34, 55) often work well
Momentum Oscillators (RSI, Stochastic, CCI)
Optimization Framework:
Market Type | RSI Period | Overbought | Oversold | Notes |
---|---|---|---|---|
Trending | 14 | 80 | 40 | Adjust levels with trend |
Volatile | 7-9 | 75 | 25 | Shorter period, wider bands |
Stable | 21 | 70 | 30 | Longer period, standard bands |
Crypto 24/7 | 14 | 75 | 25 | Account for continuous trading |
Advanced RSI Configuration:
Multi_Timeframe_RSI:
M15:
period: 7
levels: [25, 75]
H1:
period: 14
levels: [30, 70]
H4:
period: 21
levels: [35, 65]
Volatility Indicators
Bollinger Bands Configuration:
Market_Conditions:
High_Volatility:
period: 20
std_dev: 2.5 # Wider bands
Normal_Volatility:
period: 20
std_dev: 2.0 # Standard
Low_Volatility:
period: 20
std_dev: 1.5 # Tighter bands
Scalping:
period: 10
std_dev: 1.0 # Very tight
ATR Settings by Strategy:
Stop_Loss_Multipliers:
Conservative: ATR × 3
Standard: ATR × 2
Aggressive: ATR × 1.5
Scalping: ATR × 1
Position_Sizing:
Risk_per_trade: Account_Risk % / (ATR × Multiplier)
Volume Indicators
Volume Moving Average:
- Stocks: 20-period (monthly)
- Forex: 50-period (no central volume)
- Crypto: 24-period (24 hours)
- Futures: 10-period (contract-specific)
Asset-Specific Configuration
Cryptocurrency
Special Considerations:
- 24/7 trading = different patterns
- High volatility = adjust parameters
- Exchange differences = test per platform
Crypto_Config:
BTC:
RSI: 14
BB_StdDev: 2.5
MA_Periods: [20, 50, 100]
Altcoins:
RSI: 7-10 # More responsive
BB_StdDev: 3.0 # Wider for volatility
MA_Periods: [10, 25, 50] # Shorter periods
Forex Pairs
Major Pairs Configuration:
EURUSD:
ATR_Period: 14
RSI_Period: 14
MA_Type: EMA
GBPJPY: # More volatile
ATR_Period: 20
RSI_Period: 10
MA_Type: SMA # Smoother
Stock Market
Sector-Specific Settings:
Tech_Stocks:
Volatility: High
Indicators: Faster parameters
Utilities:
Volatility: Low
Indicators: Slower parameters
Small_Caps:
Adjust: Wider bands, shorter periods
Timeframe Adjustments
Universal Scaling Formula
For scaling indicators across timeframes:
New_Period = Base_Period × √(New_Timeframe / Base_Timeframe)
Example:
- Base: 14-period RSI on 1H chart
- Target: Daily chart (24 × 1H)
- New Period: 14 × √24 ≈ 69 (round to 70)
Quick Reference Table
Indicator | M1 | M5 | M15 | H1 | H4 | D1 | W1 |
---|---|---|---|---|---|---|---|
MA Fast | 5 | 10 | 15 | 20 | 20 | 20 | 10 |
MA Slow | 20 | 30 | 50 | 50 | 100 | 200 | 40 |
RSI | 7 | 9 | 14 | 14 | 14 | 14 | 14 |
MACD | 6,13,5 | 8,17,9 | 12,26,9 | 12,26,9 | 12,26,9 | 12,26,9 | 12,26,9 |
BB Period | 10 | 15 | 20 | 20 | 20 | 20 | 20 |
ATR | 7 | 10 | 14 | 14 | 14 | 14 | 14 |
Advanced Configuration Techniques
Dynamic Parameter Adjustment
Volatility-Based Adjustment:
Dynamic_RSI:
if ATR > ATR_MA:
RSI_Period = 10 # Higher volatility, faster RSI
else:
RSI_Period = 20 # Lower volatility, slower RSI
Volume-Based MA:
Adaptive_MA:
if Volume > Volume_MA × 1.5:
Use: EMA_10 # High volume, fast MA
else:
Use: SMA_20 # Normal volume, standard MA
Multi-Indicator Optimization
Synchronized Settings:
Harmonized_System:
Base_Period: 20
Indicators:
MA: 20
RSI: 14 (20 × 0.7)
ATR: 14 (20 × 0.7)
BB: 20 (same as base)
Volume_MA: 20
Fibonacci-Based Configuration
Many traders use Fibonacci numbers:
Fibonacci_Periods:
Short_Term: [5, 8, 13]
Medium_Term: [21, 34, 55]
Long_Term: [89, 144, 233]
Application:
Scalping: Use 5, 8, 13
Day_Trading: Use 13, 21, 34
Swing_Trading: Use 34, 55, 89
Testing and Validation
Configuration Testing Protocol
- Baseline Test
- Use default settings
- Record performance metrics
- Minimum 100 trades
- Single Variable Test
- Change ONE parameter
- Test for same period
- Compare to baseline
- Optimization Range
- Test parameter range (e.g., RSI 10-20)
- Plot performance curve
- Find optimal zone, not point
- Robustness Check
- Test on different time periods
- Various market conditions
- Multiple assets
Performance Metrics to Track
Metrics:
Win_Rate: Target > 40%
Profit_Factor: Target > 1.3
Sharpe_Ratio: Target > 1.0
Max_Drawdown: Limit < 20%
Per_Parameter:
Track: Win rate change
Note: Best/worst performance
Document: Market conditions
MagiaTrade AI Agent Configuration
Optimal AI Agent Setup
ai_agent_indicators:
# Trend Detection
moving_average:
type: EMA
period: 20
source: close
# Momentum Confirmation
rsi:
period: 14
overbought: 70
oversold: 30
# Volatility Filter
bollinger_bands:
period: 20
std_dev: 2
ma_type: SMA
# Volume Validation
volume:
ma_period: 20
prompt_template: |
Use indicators with following priority:
1. Trend (MA) - Primary signal
2. Momentum (RSI) - Confirmation
3. Volatility (BB) - Risk management
4. Volume - Final validation
Adjust parameters based on:
- Market volatility (ATR)
- Time of day
- Recent performance
Dynamic Configuration Rules
adaptive_rules:
high_volatility:
condition: ATR > ATR_MA × 1.5
adjustments:
- Wider stop losses
- Shorter indicator periods
- Reduced position size
low_volatility:
condition: ATR < ATR_MA × 0.7
adjustments:
- Tighter stop losses
- Standard periods
- Normal position size
trending_market:
condition: ADX > 25
adjustments:
- Use trend indicators
- Adjust oscillator levels
- Trail stops with trend
Common Configuration Mistakes
❌ Avoid These Errors
- Over-tweaking - Constant parameter changes
- Decimal precision - 14.3 period RSI (meaningless)
- Extreme values - 200-period RSI on 5-min chart
- Ignoring correlation - Similar periods on related indicators
- Copy-paste settings - Using same config for all assets
✅ Best Practices
- Document changes - Track what and why
- Test systematically - One change at a time
- Use round numbers - 10, 20, 50, 100, 200
- Consider relationships - Fast MA < Slow MA
- Regular review - Monthly parameter assessment
Quick Configuration Checklist
Before applying any configuration:
- Understand what each parameter does
- Have baseline performance metrics
- Test on historical data first
- Verify on multiple timeframes
- Check different market conditions
- Document the configuration
- Set review schedule
- Have rollback plan
Configuration Templates
Conservative Trader
indicators:
MA: [50, 200] # Slower
RSI: 21 # Smoother
ATR: 20 # More stable
Volume: 50 # Longer average
Aggressive Trader
indicators:
MA: [5, 20] # Faster
RSI: 7 # More responsive
ATR: 10 # Quicker adaptation
Volume: 10 # Recent activity
Balanced Approach
indicators:
MA: [20, 50] # Standard
RSI: 14 # Default
ATR: 14 # Default
Volume: 20 # Standard
Related Resources
- Best Practices - General guidelines
- Combining Indicators - Multi-indicator setups
- Common Pitfalls - Avoid configuration errors