Fully working EA needs one new trade EXIT rule.

MQL4 Experts Forex C++

Spécifications

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.


Répondu

1
Développeur 1
Évaluation
(13)
Projets
20
40%
Arbitrage
1
0% / 100%
En retard
1
5%
Gratuit
2
Développeur 2
Évaluation
(41)
Projets
47
60%
Arbitrage
4
50% / 25%
En retard
0
Travail
3
Développeur 3
Évaluation
(279)
Projets
376
72%
Arbitrage
19
32% / 47%
En retard
14
4%
Gratuit
Publié : 14 codes
4
Développeur 4
Évaluation
(580)
Projets
671
32%
Arbitrage
42
45% / 45%
En retard
12
2%
Chargé
5
Développeur 5
Évaluation
(210)
Projets
283
46%
Arbitrage
27
59% / 37%
En retard
36
13%
Travail
6
Développeur 6
Évaluation
(633)
Projets
1001
47%
Arbitrage
33
36% / 36%
En retard
98
10%
Gratuit
Publié : 6 codes
7
Développeur 7
Évaluation
(7)
Projets
9
0%
Arbitrage
2
0% / 100%
En retard
0
Gratuit
Publié : 1 article
8
Développeur 8
Évaluation
(3)
Projets
6
17%
Arbitrage
0
En retard
1
17%
Gratuit
Publié : 3 codes
9
Développeur 9
Évaluation
(23)
Projets
34
53%
Arbitrage
1
100% / 0%
En retard
1
3%
Gratuit
10
Développeur 10
Évaluation
(169)
Projets
202
48%
Arbitrage
5
20% / 60%
En retard
2
1%
Gratuit
11
Développeur 11
Évaluation
(33)
Projets
36
33%
Arbitrage
5
0% / 80%
En retard
0
Travail
Publié : 2 codes
12
Développeur 12
Évaluation
(2)
Projets
2
0%
Arbitrage
0
En retard
0
Gratuit
13
Développeur 13
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
14
Développeur 14
Évaluation
(543)
Projets
825
62%
Arbitrage
33
27% / 45%
En retard
23
3%
Gratuit
Publié : 1 code
15
Développeur 15
Évaluation
(5)
Projets
10
10%
Arbitrage
2
0% / 50%
En retard
2
20%
Travail
16
Développeur 16
Évaluation
(47)
Projets
55
33%
Arbitrage
15
27% / 60%
En retard
1
2%
Travail
17
Développeur 17
Évaluation
(8)
Projets
9
89%
Arbitrage
0
En retard
0
Gratuit
18
Développeur 18
Évaluation
(1)
Projets
2
0%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
Publié : 1 article
19
Développeur 19
Évaluation
(250)
Projets
460
26%
Arbitrage
139
20% / 60%
En retard
100
22%
Gratuit
20
Développeur 20
Évaluation
(4)
Projets
5
0%
Arbitrage
1
100% / 0%
En retard
1
20%
Chargé
21
Développeur 21
Évaluation
(2)
Projets
4
50%
Arbitrage
0
En retard
0
Travail
22
Développeur 22
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
23
Développeur 23
Évaluation
(242)
Projets
285
77%
Arbitrage
13
69% / 0%
En retard
4
1%
Travail
24
Développeur 24
Évaluation
(21)
Projets
27
41%
Arbitrage
4
50% / 50%
En retard
1
4%
Travail
25
Développeur 25
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
26
Développeur 26
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
27
Développeur 27
Évaluation
(6)
Projets
5
0%
Arbitrage
4
25% / 75%
En retard
2
40%
Gratuit
28
Développeur 28
Évaluation
(77)
Projets
243
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
29
Développeur 29
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
30
Développeur 30
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
31
Développeur 31
Évaluation
(314)
Projets
560
35%
Arbitrage
81
31% / 44%
En retard
203
36%
Travail
Commandes similaires
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 =

Informations sur le projet

Budget
30+ USD

Client

(3)
Commandes passées7
Nombre d'arbitrages0