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.
비슷한 주문
C'est un Expert Advisor (EA) MQL5 pour MetaTrader 5, conçu pour l' XAUUSD , combinant un filtre de tendance et une grille adaptative avec gestion de panier ("basket") et protections contre le drawdown. Version 1.00. Logique de trading Filtre de tendance (H4 par défaut) • EMA rapide (50) vs EMA lente (200) pour déterminer la direction (UP/DOWN) • Filtre ADX (période 14, seuil 18) pour éviter de trader en
My EA is semi Auto EA..with Master and slave concept Using Heiken Ashi +Heiken Smooth and Moving Average What to do?1. Remove some previous feature 2.Change some rules of 4 slave to pending Order 3. Check the coding is clean. 4. create panel dialog box
I currently sell a white-label XAUUSD EA, but the existing supplier owns the source code. I now need a new, independently developed EA and licensing system that my company fully owns and controls. I am not requesting decompilation or copying of proprietary code. Existing settings, presets and trading examples will be provided as reference. The developer must first identify any missing strategy rules before
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Hello, I trade on HFM MT5. Need SCALPING EA for scalping, budget $30. SYMBOLS: XAUUSD (GOLD), US30, NAS100, GER40, EURUSD TIMEFRAME: M1 and M5 PLATFORM: MT5, must work on HFM VPS STRATEGY: - EMA 9 crosses EMA 21 - RSI 14: BUY only if RSI >45, SELL only if RSI <55 - Bollinger Bands: Only trade when price returns inside BB after breakout - 1 trade at a time per symbol - SL: 150 points Gold / 100 points indices (must be
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account