Fully working EA needs one new trade EXIT rule.

MQL4 Experts Forex C++

Specification

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.


Responded

1
Developer 1
Rating
(13)
Projects
20
40%
Arbitration
1
0% / 100%
Overdue
1
5%
Free
2
Developer 2
Rating
(41)
Projects
47
60%
Arbitration
4
50% / 25%
Overdue
0
Working
3
Developer 3
Rating
(279)
Projects
376
72%
Arbitration
19
32% / 47%
Overdue
14
4%
Free
Published: 14 codes
4
Developer 4
Rating
(580)
Projects
671
32%
Arbitration
42
45% / 45%
Overdue
12
2%
Loaded
5
Developer 5
Rating
(210)
Projects
283
46%
Arbitration
27
59% / 37%
Overdue
36
13%
Working
6
Developer 6
Rating
(633)
Projects
1001
47%
Arbitration
33
36% / 36%
Overdue
98
10%
Free
Published: 6 codes
7
Developer 7
Rating
(7)
Projects
9
0%
Arbitration
2
0% / 100%
Overdue
0
Free
Published: 1 article
8
Developer 8
Rating
(3)
Projects
6
17%
Arbitration
0
Overdue
1
17%
Free
Published: 3 codes
9
Developer 9
Rating
(23)
Projects
34
53%
Arbitration
1
100% / 0%
Overdue
1
3%
Free
10
Developer 10
Rating
(169)
Projects
202
48%
Arbitration
5
20% / 60%
Overdue
2
1%
Free
11
Developer 11
Rating
(33)
Projects
36
33%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
12
Developer 12
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 0%
Overdue
0
Free
14
Developer 14
Rating
(543)
Projects
825
62%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
Published: 1 code
15
Developer 15
Rating
(5)
Projects
10
10%
Arbitration
2
0% / 50%
Overdue
2
20%
Working
16
Developer 16
Rating
(47)
Projects
55
33%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
17
Developer 17
Rating
(8)
Projects
9
89%
Arbitration
0
Overdue
0
Free
18
Developer 18
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
0
Free
Published: 1 article
19
Developer 19
Rating
(250)
Projects
460
26%
Arbitration
139
20% / 60%
Overdue
100
22%
Free
20
Developer 20
Rating
(4)
Projects
5
0%
Arbitration
1
100% / 0%
Overdue
1
20%
Loaded
21
Developer 21
Rating
(2)
Projects
4
50%
Arbitration
0
Overdue
0
Working
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(242)
Projects
285
77%
Arbitration
13
69% / 0%
Overdue
4
1%
Working
24
Developer 24
Rating
(21)
Projects
27
41%
Arbitration
4
50% / 50%
Overdue
1
4%
Working
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
(6)
Projects
5
0%
Arbitration
4
25% / 75%
Overdue
2
40%
Free
28
Developer 28
Rating
(77)
Projects
243
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Developer 30
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
31
Developer 31
Rating
(314)
Projects
560
35%
Arbitration
81
31% / 44%
Overdue
203
36%
Working
Similar orders
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
Test instructions: - Run EA on US30 (Dow Jones) - Timeframe: H1 - Test period: last 3–6 months - Use default risk settings (1% per setup) - Check Friday breakout logic only Expected behavior: - EA should mark Friday High/Low - Wait for candle close breakout - Wait for retracement into range - Enter only when H1 candle closes inside range - Execute 2 trades per setup (TP1 = 1R, TP2 = 2R) - Respect 1.5% daily loss
ART 1: NUMBER OF TRADES ALLOWED IN ONE DIRECTION: Maximum number of trades in one direction = ------------------------------ ------------------------------ ------------------------------ -------------- par PART 2 PARTIAL CLOSURE OF STOPLOSS: Total STOPLOSS =------ Pips 1a: Percentage of Stoploss =--% 1b Percentage of Lot size =--% 2a: Percentage oe of Lot size =--% f Stoploss =--% 2b
MT5 Expert Advisor (EA) Acquisition Request – Proven XAUUSD Martingale / Grid EA I am looking to purchase a fully developed, actively traded, and proven MT5 Expert Advisor for XAUUSD (Gold) that uses Martingale, Grid, Averaging, Recovery, or Hybrid Recovery techniques. Mandatory Verification Requirement To be considered, please provide: - MT5 Investor Password (Read-Only Access) for verification - Account Number /
Looking to buy profitable MT4/MT5 Expert Advisors (EAs). Requirements: • Fully automated • 6+ months backtest • 100+ trades • No martingale or grid systems Send: • Backtest report • Max drawdown • Markets traded • Brief strategy summary Only original EAs developed by you. Long-term collaboration available
I am looking for an experienced MQL5 developer to create a custom indicator for MetaTrader 5. The project requirements and indicator logic will be shared privately with the selected candidate to protect the concept and implementation details. Requirements: Strong experience with MQL5 indicator development. Ability to create clean, efficient, and well-structured code. Experience with custom buffers, chart objects
Live chart [ expert is not executing trades on xauusd ] , Deleting Existing Parameter not in use , Live Chart Adjustments Only , No Need to Change anything else , expert will be live testing Throughout
Prepare expert for xauusd live chart [ expert is not executing trades on xauusd ] . Deletion and cleaning code . Trailing Stop Rule to follow the given method . Live Chart Only
SNIPER X AI 30 - 120 USD
I need help in building a Robot SNIPER X AI — FINAL BUILD Trading System Type AI Scalping + Sniper Entry Expert Advisor Platforms MetaTrader 4 MetaTrader 5 Supported Brokers � exness.com � justmarkets.com � deriv.com Universal MT4/MT5 broker support FINAL CORE FEATURES ✅ AI Scalping Engine ✅ Sniper Entries ✅ Auto Buy/Sell ✅ EMA Trend Detection ✅ RSI Momentum Filter ✅ Smart Stop Loss ✅ Dynamic Take Profit ✅ Trailing
//+------------------------------------------------------------------+ //| $10 Smart Scalping Bot for MT5 | //| EURGBP + AUDUSD + XAGUSD Optimized | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; //========================= INPUTS ================================== input double LotSize = 0.01; input int FastEMA = 20; input int SlowEMA =

Project information

Budget
30+ USD

Customer

(3)
Placed orders7
Arbitrage count0