Q Ultimate
- Experts
- Versione: 1.0
Nov 30, 2026 · @HarkensTechSolutions
Q Ultimate AnySymbol is an Expert Advisor that trades candlestick patterns, filtered by trend and RSI. It trades the symbol of the chart you attach it to. The default timeframe is M15, and you can change it.
How it works
The EA checks for signals when a new candle starts.
- Buy: a bullish engulfing or hammer pattern, with the price above the 50-period simple moving average and RSI (14) below 70.
- Sell: a bearish engulfing pattern, with the price below the moving average and RSI (14) above 30.
Features and advantages
- Stops that adjust to volatility: Stop Loss and Take Profit are based on ATR (21). They may be adjusted to meet your broker's price rules.
- Breakeven: after a set profit distance, the EA tries to move the Stop Loss to the entry price plus a buffer for buys, or minus it for sells.
- Spread filter: it skips new entries when the spread is more than 30% of ATR.
- Checks before trading: it checks trading hours, trading permissions, free margin and volume limits before opening a trade.
- Trade control: you can limit open trades and set a minimum time between new entries.
- Position size: each order uses the symbol's minimum lot, which differs between brokers.
- Chart dashboard: view balance, equity, account floating profit or loss, price, RSI, spread status and open EA trades.
- Telegram notifications: optional messages for trade openings, breakeven changes, closings, and EA start and stop.
On netting accounts, the EA opens a new trade only when there is no position on that symbol. This includes manual positions and those of other EAs.
Input parameters
General settings
- MaxTrades (default: 2): maximum open EA trades on the symbol. On netting accounts, the EA holds no more than one position.
- MagicNumber (default: 2024556): identifies the EA's trades. Use a different number for each chart running the EA on the same symbol.
- InpTimeframe (default: M15): timeframe for signals and indicators. Select "current" to use the chart's timeframe.
Risk management
- SL_ATR_Mult (default: 3.0): Stop Loss distance as a multiple of ATR.
- TP_ATR_Mult (default: 5.0): Take Profit distance as a multiple of ATR.
Breakeven settings
- BE_ATR_Mult (default: 1.0): profit distance, as a multiple of ATR, that triggers breakeven. Used when BE_Points is 0.
- BE_Points (default: 0): breakeven trigger in points. A value above 0 replaces the ATR trigger.
- BE_Buffer (default: 5): distance in points beyond the entry price for the new Stop Loss.
Trade timing
- MinMinutesBetweenTrades (default: 5): minimum minutes between new entries. The timer resets when the EA restarts.
Telegram settings
- TG_BotToken (default: empty): your Telegram bot token.
- TG_ChatID (default: empty): your Telegram chat ID. Messages are sent only when both the token and chat ID are filled in.
- TG_OnTradeOpen (default: true): notify when a trade opens.
- TG_OnBreakeven (default: true): notify when breakeven is set.
- TG_OnTradeClose (default: true): notify when a trade closes.
- TG_OnStartup (default: true): notify when the EA starts or stops.
Telegram setup
Enter your bot token and chat ID. In the terminal, open Tools, then Options, then Expert Advisors. Allow WebRequest and add https://api.telegram.org to the list. The startup message includes your account number, account name, broker and balance. Turn off TG_OnStartup if you don't want to send these details. Telegram messages aren't sent in the Strategy Tester.
Risk warning
Trading involves a risk of loss. Past results and backtests don't guarantee future performance. A Stop Loss doesn't guarantee the exit price. Test the EA on a demo account before using real money.
