1. Lookback Period (lookback)
Impact: The lookback period controls how much historical data is included in calculations for momentum, volatility, and feedback loops. A longer lookback makes the indicator less reactive to short-term changes, smoothing out the signal output, and focusing on long-term trends.
Short Lookback: Makes the indicator highly responsive to recent price moves, suitable for fast-paced markets or scalping.
Long Lookback: Reduces noise by averaging over a larger dataset, ideal for capturing significant trends in swing trading or longer-term analysis.
2. Momentum and Volatility Weights (momentumWeight & volatilityWeight)
Momentum Weight:
High Momentum Weight: Emphasizes strong price trends, amplifying the indicator's response when price direction is clear. This adjustment makes the indicator favor momentum-based entries, resulting in quicker entries and exits in trending markets.
Low Momentum Weight: Reduces the impact of momentum, allowing the indicator to respond more evenly to price movements, even during minor fluctuations.
Volatility Weight:
High Volatility Weight: Makes the indicator more sensitive to volatile conditions, leading to quicker responses when volatility spikes. This setting will adapt RSI and other indicators more aggressively in response to volatility, making signals more reactive and potentially less reliable in choppy markets.
Low Volatility Weight: Decreases the indicator's reactivity to volatility, filtering out noisy price movements and creating smoother signal output. This adjustment is suitable for low-volatility, trending markets, where extreme reactivity could lead to whipsaws.
3. Learning Rate and Adaptive Learning Rate (learning_rate & adaptive_learning_rate)
Learning Rate:
High Learning Rate: Enables faster adaptations to recent price movements, leading to quicker, but potentially noisier, signal changes. Useful in volatile or fast-moving markets.
Low Learning Rate: Slows down the rate of adaptation, reducing noise and making the indicator more stable. This setting is ideal for markets with sustained trends, where rapid adaptation isn’t as critical.
Adaptive Learning Rate:
Enabled: The script adjusts the learning rate based on market volatility, increasing it in high-volatility conditions and reducing it in stable markets. This setting makes the indicator more versatile, automatically balancing sensitivity and stability according to current market conditions.
Disabled: Keeps the learning rate constant, making the indicator respond in a fixed manner across different market environments.
4. Memory Factor (memory_factor)
High Memory Factor (e.g., 0.8 - 1): Increases the influence of past values on the current signal, creating a smoother output by retaining historical context. A high memory factor helps reduce noise in trending markets, stabilizing the signal.
Low Memory Factor (e.g., 0.2 - 0.5): Reduces the influence of past data, making the indicator more reactive to current conditions. This adjustment makes the output more sensitive, ideal for capturing rapid reversals or momentum shifts but may lead to false signals in quiet or sideways markets.
5. Monte Carlo Simulations (simulations)
High Simulation Count: Increases the number of possible price paths generated, creating a more reliable probabilistic signal but also making the indicator less sensitive to small changes. This adjustment helps filter out false signals but can slow down real-time calculations.
Low Simulation Count: Reduces the accuracy of probabilistic forecasting, making the indicator more sensitive to recent price action. Suitable for fast-moving markets where a quicker reaction is desired, but with an increased risk of false signals.
6. Minimum and Maximum RSI Lengths (min_rsi_length & max_rsi_length)
Minimum RSI Length:
Low Minimum (e.g., 1-5): Allows the RSI length to adjust to very short periods, making it highly responsive to price changes. This is useful for detecting rapid, short-term reversals but can introduce noise.
Higher Minimum (e.g., 10-20): Keeps the RSI length within a more conservative range, reducing its ability to capture quick movements and focusing instead on stronger, sustained trends.
Maximum RSI Length:
High Maximum (e.g., 1000): Allows for long RSI periods, useful for smoothing out the signal in quiet or sideways markets and focusing on significant trend shifts.
Low Maximum (e.g., 100): Restricts RSI length, maintaining moderate responsiveness across market conditions.
7. Signal Sensitivity (sensitivity)
High Sensitivity: Makes thresholds for signal generation more stringent, reducing the number of signals and focusing on high-confidence situations. This adjustment reduces noise and prevents false signals, especially in choppy or sideways markets.
Low Sensitivity: Lowers the threshold for signal generation, creating more frequent signals, which can be useful in volatile markets. However, this setting increases the likelihood of false positives.
8. Weighting Adjustments for Indicators (Machine Learning Parameters)
Momentum, Volatility, and Volume Weights (ml_momentumWeight, ml_volatilityWeight, ml_volumeWeight):
These weights control the influence of each factor (momentum, volatility, volume) on the machine learning model's output.
High Weights: Increase the influence of each factor on the final signal, making the indicator more responsive to strong price moves or volatility spikes.
Balanced Weights: Provide a holistic view of the market, incorporating all factors without overemphasis on one, giving a more stable, adaptive signal.