New add-on instructions for existing MT4 EA.
Each trade placed by this EA contains an Order Comment which identifies the Bollinger Band settings and TimeFrame used for opening that particular trade.
Order Comment examples:
“202.5M15+15466_73450_315_1”
or
“202.5M1-74115_1234_231190_1”
Order Comment structure:
First two symbols (example: “20”) identify the Bollinger Band Period used for this trade.
Next three symbols (example: “2.5”) identify the Bollinger Band Deviation used for this trade.
Starting from the 6th symbol and ending immediately before either “+” or “-” is a substring identifying the TimeFrame used for this trade.
Possible TimeFrame values: “M1”, “M5”, “M15”, “M30”, “H1”, “H4”, “D1”
Important note: If the substring starts with “M1”, it may represent either:
“M1”
or
the beginning of “M15”
All symbols starting from and including “+” or “-” are required for other parts of the existing EA and must NOT be modified, removed, or used for this new add-on logic.
All existing EA logic currently works only on candle closures for the related TimeFrame and NOT on every tick.
This new add-on must NOT change, remove, or interfere with any existing EA logic.
This add-on only introduces one additional exit rule.
For each individual trade, whichever happens first must close the trade:
Stop Loss
existing/main EA exit rule
new add-on exit rule
New EA input setting: Name: “Opposite BB touch threshold”
Input values:
0 = disabled (no new exit rule)
1 = close the trade after the first opposite BB touch
2 = close the trade after the second opposite BB touch
3 = close the trade after the third opposite BB touch
etc.
Maximum allowed input can be set to 1000 if required.
Definition of “Opposite BB touch”:
For BUY trades: A touch occurs when a fully closed candle of the TimeFrame identified from the Order Comment has:
Candle LOW price lower than the LOWER Bollinger Band using the Bollinger Band Period and Deviation identified from the same Order Comment.
For SELL trades: A touch occurs when a fully closed candle of the TimeFrame identified from the Order Comment has:
Candle HIGH price higher than the UPPER Bollinger Band using the Bollinger Band Period and Deviation identified from the same Order Comment.
Important: Trade direction (BUY/SELL) cannot be identified from the Order Comment and must be determined from the actual order type.
Candle range used for counting touches:
Start counting from the FIRST FULLY CLOSED candle AFTER the trade entry candle.
End counting at the latest fully closed candle (shift 1).
The trade entry candle itself must NOT be included in the count.
New exit rule:
If the total counted “Opposite BB touches” for one individual open trade becomes equal to or greater than that trade’s “Opposite BB touch threshold” input value, then ONLY that single trade must be closed immediately.
End of instructions.
비슷한 주문
I have a technical specification ready for a custom alert indicator in NinjaTrader 8 (NinjaScript / C#). Important clarification: it is NOT an automatic trading bot, it is solely a visual indicator (arrows/lines on the chart) and sound alerts (notifications) based on EMA crossovers and range breakouts (ORB 15m) on lower timeframes for futures (MES). I already have the exact rules written out unambiguously
Custom MT5 EA for buy stop and sell stop breakout strategy.’ ‘Requirements, develop a custom Expert Advisor for MetaTrader 5 that places buy-stop and sell-stop pending orders based on defined breakout rules.’ ‘All important values adjustable via inputs.’ ‘Includes stop loss, take profit, trailing stop, and configurable risk management.’ ‘One trade at a time, works on demo before live.’ Provide source code and
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 or broker clock. 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell/buy at 50% of the FVG 7. SL: 10 pips above
I need a professional MT5 Expert Advisor (MQL5) for XAU/USD (Gold) only. Requirements: - Symbol: XAU/USD only - Timeframe: H1 trend, M5 entry - Smart Money Concept (SMC) - Liquidity Sweep - Break of Structure (BOS) - Order Block Retest - Confirmation Candle (Engulfing or Pin Bar) - ATR-based Stop Loss - Risk:Reward = 1:3 (adjustable) - Auto Lot (1% risk) - Break Even - Trailing Stop - Maximum 2 trades per day - One
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
Version document : 1.0 Plateforme : TradingView Langage : Pine Script v6 Type : Indicateur d'analyse et d'aide à la décision (non-exécutant) 1. Présentation du projet Nom du produit ONYX SR V2 — Intelligent Support & Resistance Scalping System Objectif Créer un indicateur TradingView capable d'identifier automatiquement des opportunités de scalping basées sur : supports et résistances dynamiques ; action du prix ;
Ниже представлено готовое, технически выверенное Техническое задание (ТЗ) . Вы можете полностью скопировать этот текст и разместить его на бирже фриланса (например, MQL5.com в разделе «Фриланс» или на Smart-Lab). Данное ТЗ написано на профессиональном языке, понятном разработчикам торговых систем для терминала QUIK (на языке Lua) . ТЕХНИЧЕСКОЕ ЗАДАНИЕ (ТЗ) Разработка мультивалютного торгового робота для терминала
I am looking for an experienced MQL5 developer to build a high-frequency (HFT) latency arbitrage Expert Advisor for Pepperstone MT5 , using LMAX as the leading price feed. The initial focus will be on US30 (Dow Jones) , and if the strategy proves successful, I want the EA to be easily expandable to additional symbols such as NAS100, GER40, XAUUSD, major forex pairs, and other supported instruments. The EA should
Start ↓ Detect Trend (H4) ↓ Confirm Structure (H1) ↓ Wait for Pullback ↓ Check Indicators ↓ Calculate Confidence Score ↓ Score ≥ 80? ├── No → Wait └── Yes ↓ Calculate Lot Size ↓ Place Order ↓ Set Stop Loss ↓ Set Take Profit ↓ Manage Trade ↓ Move to Break-even ↓ Trail Stop ↓ Close Trade. IF Price > EMA200 (H4) AND EMA50 > EMA200 (H4) AND ADX > 25 AND RSI between 55 and 70 AND MACD Main > Signal AND Bullish engulfing