Hedge Fund Bot News Trader with AI Analysis
- Experts
- Ramazan Aslan
- Versione: 5.66
- Aggiornato: 2 aprile 2026
- Attivazioni: 10
Hedge Fund Bot v5.65 — Smart Scalper Pro
Overview
Hedge Fund Bot is a fully automated expert advisor for MetaTrader 5. It is designed for traders who prefer a structured, rule-based approach to the markets. The system does not make decisions based on a single indicator. Instead, it evaluates six independent technical conditions simultaneously and combines them into a unified signal score before any trade is opened. A position is only entered when the score meets a minimum threshold defined by the user. Every trade includes a fixed stop loss and a fixed take profit. There is no martingale, no grid, no hedging, and no averaging down.
The system is built around the idea that a trade should only be taken when the evidence is clear. Weak or ambiguous signals are ignored. Only when the majority of the six conditions agree on a direction does the system act. This approach reduces the number of low-quality entries and keeps the trading activity aligned with actual market conditions rather than forcing trades when nothing meaningful is happening.
Signal Scoring System
The signal scoring system is the foundation of the expert advisor. Before every potential trade, the system calculates a score between 0 and 10. This score represents the combined strength and agreement of the six technical conditions evaluated. The user sets a minimum score, and only signals that meet or exceed that threshold result in a trade being opened.
The first condition evaluated is EMA trend alignment. The system uses three exponential moving averages with periods of 8, 21, and 50. When all three are aligned in the same direction, meaning the fastest is above the medium which is above the slowest for a buy, or the reverse for a sell, the full EMA score is awarded. When only two of the three are aligned, a partial score is given. When the fast EMA crosses the medium EMA on the current bar, an additional bonus is added because a fresh crossover carries more informational value than an existing alignment. This component carries the highest weight in the total score because trend alignment is the most reliable filter for trade direction.
The second condition is the RSI momentum reading. The 14-period relative strength index is evaluated both for its current level and for the direction of its recent movement. The system does not simply buy oversold and sell overbought conditions. Instead, it looks for the RSI to be in a momentum zone that confirms the direction of the EMA signal. When the RSI is rising and in a range consistent with bullish momentum, it adds to the buy score. When it is falling in a bearish range, it adds to the sell score. Reversal signals, where the RSI crosses back from an extreme level, are also detected separately and scored as an additional confirmation layer.
The third condition uses Bollinger Bands with a 20-period setting and a standard deviation of 2. The system evaluates where the current price sits relative to the band range and to the middle line. When price is positioned on the correct side of the middle band relative to the signal direction, a score is added. When price has moved beyond the outer band during a period of low volatility, indicating a potential breakout, additional points are added. This condition helps the system distinguish between trending moves and random noise within a consolidation.
The fourth condition is the MACD. The system evaluates the relationship between the MACD line and the signal line. Both the current relative position of the two lines and any recent crossover are scored. A crossover that occurs on the current bar receives a higher weighting than one that occurred several bars ago, because the timing of a crossover matters for entry quality. When the MACD histogram is positive and growing for a buy signal, or negative and falling for a sell signal, additional confidence is added to the score.
The fifth condition is a 10-period momentum oscillator. This indicator measures the raw speed of price movement. When the momentum is rising and above its neutral level in the direction of the signal, it confirms that price is actually accelerating in the intended direction. When momentum is decelerating or moving against the signal, it reduces confidence. This condition acts as a secondary velocity check that complements the RSI reading.
The sixth condition is tick volume. The system compares the current bar's tick volume to the average of the recent bars. When tick volume is significantly above average at the moment a signal forms, it suggests that more market participants are involved in the current move. A volume spike in the direction of the signal adds a final confirmation point to the score. This condition does not override the others but adds a useful layer of market participation evidence.
Trade Management
All positions opened by Hedge Fund Bot include a stop loss and a take profit that are calculated automatically based on the Average True Range indicator with a 14-period setting. The ATR reflects the current volatility of the instrument. In high-volatility conditions, the stop loss and take profit distances expand to give the trade room to breathe. In low-volatility conditions, they contract to keep the risk proportionate. The multipliers applied to the ATR for both the stop loss and the take profit are fully adjustable by the user.
The trailing stop feature moves the stop loss toward the current price as the trade becomes more profitable. The trailing stop only moves in the favorable direction and never widens. It activates once the trade has moved a user-defined distance in profit, expressed as an ATR multiple. After activation, it follows the price at the defined distance. This allows profitable trades to continue running while progressively locking in gains.
The break-even feature moves the stop loss to the entry price once the trade has reached a defined profit level. This eliminates the risk of a winning trade becoming a losing one. Break-even activates independently of the trailing stop and can be used together with it or on its own. The take profit is never modified by either feature. It remains at the original target set when the trade was opened.
Risk Management
The daily drawdown limit tracks the account balance at the start of each trading day. If the equity falls below the defined percentage of that starting balance, no new trades are opened for the remainder of the day. The tracking resets automatically at the start of the next trading day.
The circuit breaker monitors the drawdown from the equity peak reached during the current session. If the drawdown from peak exceeds the defined threshold, trading is paused for one hour. After the pause expires, the system resets its peak reference and resumes normal operation. This mechanism is designed to stop trading automatically during unusual market conditions or after a sequence of losses without requiring the user to intervene manually.
The spread filter checks the current spread of the instrument before every potential entry. If the spread exceeds the defined limit, the trade is skipped. Separate spread limits can be defined for gold instruments and for all other instruments, because the typical spread on gold differs significantly from that on standard forex pairs. Trades during unusually wide spreads, which often occur around news releases or at the start and end of trading sessions, are automatically avoided.
The session filter verifies that the broker's trading session is active before opening any trade. The system reads the broker's actual session schedule directly from the platform. Weekend trading and after-hours trading are automatically blocked regardless of what signals the indicators may be generating.
The margin check confirms that sufficient free margin is available before every trade. The lot size is calculated based on a percentage of the account balance relative to the stop loss distance. If the calculated lot size cannot be filled due to insufficient margin, the trade is skipped cleanly without generating an error. The minimum lot size for the instrument is always respected.
Position Sizing
Position sizes are calculated using a fixed risk percentage of the account balance. The user defines what percentage of the balance should be at risk on each trade. The system then calculates the appropriate lot size so that if the stop loss is hit, the loss equals that defined percentage. This means position sizes scale automatically with account growth or reduction. Larger accounts trade larger lots, smaller accounts trade smaller lots, always keeping the risk exposure consistent relative to the balance.
Supported Instruments
The system is designed primarily for gold instruments including XAUUSD and broker-specific variants. It is also compatible with major currency pairs and other liquid instruments available in the broker's symbol list. Up to three symbols can be active simultaneously, each with its own independent signal evaluation and position tracking. When the symbol field is left blank, the system automatically uses the symbol of the chart it is attached to.
Input Parameters
The symbol inputs define which instruments the system monitors. Up to three symbols can be specified. If the first symbol field is left blank, the chart symbol is used automatically.
The timeframe input sets the period of the candlestick data used for all indicator calculations. The H1 timeframe is recommended as a starting point for most instruments.
The minimum score input defines the threshold that the signal score must reach before a trade is opened. A value of 5 means the system requires at least half of the maximum possible score. Higher values produce fewer but more selective signals. Lower values allow more trades but with weaker confirmation.
The ATR multiplier for the stop loss controls how far the stop loss is placed from the entry price relative to the current ATR. Larger multipliers produce wider stops that are less likely to be hit by normal price fluctuations. Smaller multipliers produce tighter stops with higher hit frequency.
The ATR multiplier for the take profit controls the distance to the profit target. The ratio between the take profit multiplier and the stop loss multiplier determines the reward-to-risk ratio of each trade.
The trailing stop and break-even inputs control whether these features are active and at what profit levels they engage, both expressed as ATR multiples.
The daily drawdown limit is expressed as a percentage of the opening balance of each trading day. When this limit is reached, no further trades are opened that day.
The circuit breaker drawdown is expressed as a percentage of the session equity peak. When the drawdown from that peak reaches this level, trading is paused for one hour.
The maximum concurrent positions input limits how many positions can be open at any time. This applies across all symbols combined.
The spread limits define the maximum acceptable spread in points for gold instruments and for all other instruments separately. Trades are skipped when the spread exceeds these limits.
The magic number uniquely identifies trades opened by this expert advisor instance. Different instances running on different charts should use different magic numbers to avoid interference.
Recommended Starting Settings
For XAUUSD on the H1 timeframe, a minimum score of 5 provides a balanced starting point between trade frequency and signal quality. An ATR stop loss multiplier of 1.3 and an ATR take profit multiplier of 3.0 produce a reward-to-risk ratio of approximately 2.3 to 1. Both the trailing stop and break-even features are recommended to be enabled from the start. A daily drawdown limit of 5 percent and a circuit breaker at 10 percent are reasonable starting values for a conservative approach. A maximum of 3 concurrent positions is suggested initially.
Additional Notes
The expert advisor does not connect to any external servers, does not send any data outside of MetaTrader 5, and does not require an internet connection beyond what the platform itself uses for price data. All calculations are performed locally within the MetaTrader 5 environment.
All input parameter names, log messages displayed in the Experts tab, and all text shown on the chart are in English, as required by the marketplace.
Strategy tester results represent historical performance using past price data. Historical results do not guarantee or predict future performance. Trading financial instruments involves risk of loss. The user is solely responsible for all trading decisions and their outcomes.
