HassilEaDualPRO
- Experts
- Versione: 2.0
- Aggiornato: 12 agosto 2026
Hassila Cable Quant is a mean-reversion expert advisor written for one instrument and one timeframe: GBPUSD on M15. It is not a multi-pair robot. There is no symbol list in the settings and no universal mode. The advisor checks at startup that the chart symbol is really GBP against USD, and it stops with a message if it is not.
The reason for a single pair is that the parameters of a mean-reversion system depend on the behaviour of the instrument it runs on. GBPUSD has a wider daily range than the other majors, it moves with force at the London open, and its character changes when New York comes in. The same RSI thresholds that suit a quieter pair fire too early here, and stop distances that are enough elsewhere are too tight. For that reason the RSI thresholds and the ATR multiplier of this advisor were set against the range of GBPUSD rather than against an average of several instruments, the default trading windows follow the session structure of this pair, and the calendar filter watches the releases that move sterling and the dollar. Broker suffixes are handled automatically: the advisor reads the base and quote currencies of the symbol instead of comparing the name against fixed text, so GBPUSD, GBPUSD.pro, GBPUSDm, GBPUSD_i and similar variants all work, and the panel shows the real symbol name.
About the timeframe. The advisor is attached to a GBPUSD M15 chart and works on closed bars. The signal comes from a 7-period RSI on M15 and the stop and target distances come from a 14-period ATR on the same timeframe. There is one decision per M15 bar, with no tick-by-tick reading and no entries in the middle of a bar. Cooldowns and pauses are counted in M15 bars rather than in minutes, so the rhythm of the system does not change when the market goes quiet. M15 was chosen after testing the alternatives. On faster timeframes the movement that mean reversion tries to capture on this pair is small relative to the spread, and on slower ones the signals become rare while the ATR-based stop grows large against the target. M15 is where the average excursion of the pair still covers the distance being risked.
How it trades. When an M15 bar closes inside the active trading window, the advisor looks for the RSI in an extreme zone and opens a position in the direction of the reversion. The take profit and the stop loss are computed from the current ATR in a one-to-one ratio and are sent to the server together with the order, so the position is never left unprotected, not even if the connection drops or the terminal is closed. After a target is reached the advisor can open one reactive trade in the direction of the move, inside the same risk model. Position size is scaled by an anti-martingale factor, which increases after a winning trade and decreases after a losing one. This is the opposite of a martingale, which increases size after a loss. The factor has a ceiling and a floor, it is stored between restarts, and it can be reset to 1.00 at startup.
Risk controls. Several brakes are active by default. There is a compulsory cooldown of a number of bars after each losing trade, and a longer pause after a run of consecutive losses. A regime watchdog stops the advisor for a number of bars if the win rate of the recent trades falls below a threshold. There is a daily loss limit, a cumulative loss limit and a maximum number of trades per day. Entries are rejected when the spread is above its normal level. An optional clean restart clears the factor, the streaks and the pauses when the advisor is attached. The state of these brakes is stored in the terminal, so restarting MetaTrader does not give the advisor a fresh start it had not earned.
Trading hours. Beyond the timeframe, the advisor controls when it trades. There are two windows that are configured independently, intended for the London session and for the New York session. The clock can be the server time, a fixed offset, or true UTC with the daylight saving changes of the United States and the United Kingdom computed internally. An optional New York cut-off stops new entries at one hour and closes everything at another. Four ready-made profiles are included so that the configuration does not have to be built by hand. The manual explains which clock to use in the Strategy Tester and which one on a live account, because they are not the same and the difference changes the results.
News filter. The advisor reads the economic calendar of MetaTrader 5 and blocks trading around high-impact releases for the pound and the dollar, with a margin before and after each event. Holidays, debt auctions and speeches are excluded. Event names are recognised in English and in Spanish. This filter is switched off by default on purpose, because the calendar does not respond inside the Strategy Tester and leaving it on would suggest it had been tested when it had not.
What the advisor does not do. It does not use a grid, it does not use a martingale, it does not average into a losing position, it does not hide the stop loss on the client side, and it does not run recovery cycles that increase the risk after a loss. Every position is opened with a real stop loss and a real take profit on the server.
Panel and control. An on-chart panel shows the state of the system on one screen: the effective risk and the lot that results from it, the stop and target in pips, the current spread, the active window and session, the server clock, the M15 RSI value and how far it is from the trigger, the calendar status with the next and the previous event, the win rate of each engine separately, the result of the day and the total, the current streak and the next size factor, and the equity with its drawdown. A diagnostic line appears first when the advisor cannot trade, for example when AutoTrading is off, the terminal is disconnected, the account is read-only, or the symbol is in close-only mode, so the reason is visible without reading the log. A button on the chart switches between a defensive, a normal and an aggressive profile.
Optional bridge. The advisor can publish its state to JSON files so that an external dashboard can read it. The command channel is closed by default, requires a shared key, and accepts only defensive actions such as pausing, resuming, closing and changing the profile. It never accepts commands that open positions, and it cannot act on positions belonging to other advisors.
Requirements. The symbol is GBPUSD, in any broker variant, and the timeframe is M15. Netting and hedging accounts both work; holding several positions at the same time requires a hedging account, and on a netting account the advisor detects this and disables that feature on its own. This is a system that is sensitive to transaction cost, so an account with a low spread and a properly declared commission is needed. A VPS is advisable so that trading windows are not missed. Before using it on a live account, run it on a demo account with your own broker, with your own spread and your own commission configured, because results depend on execution conditions and are not the same at two different brokers.
For support and questions about the settings, please write in the product comments or send me a private message on MQL5.
Trading on the foreign exchange market involves a risk of loss. Past results, whether real or simulated, do not guarantee future results.

L'utente non ha lasciato alcun commento sulla valutazione.
Thanks