Fully working EA needs one new trade EXIT rule.

MQL4 Esperti Forex C++

Specifiche

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.


Con risposta

1
Sviluppatore 1
Valutazioni
(13)
Progetti
20
40%
Arbitraggio
1
0% / 100%
In ritardo
1
5%
Gratuito
2
Sviluppatore 2
Valutazioni
(41)
Progetti
47
60%
Arbitraggio
4
50% / 25%
In ritardo
0
In elaborazione
3
Sviluppatore 3
Valutazioni
(279)
Progetti
376
72%
Arbitraggio
19
32% / 47%
In ritardo
14
4%
Gratuito
Pubblicati: 14 codici
4
Sviluppatore 4
Valutazioni
(580)
Progetti
671
32%
Arbitraggio
42
45% / 45%
In ritardo
12
2%
Caricato
5
Sviluppatore 5
Valutazioni
(211)
Progetti
284
46%
Arbitraggio
27
59% / 37%
In ritardo
36
13%
In elaborazione
6
Sviluppatore 6
Valutazioni
(633)
Progetti
1001
47%
Arbitraggio
33
36% / 36%
In ritardo
98
10%
In elaborazione
Pubblicati: 6 codici
7
Sviluppatore 7
Valutazioni
(7)
Progetti
9
0%
Arbitraggio
2
0% / 100%
In ritardo
0
In elaborazione
Pubblicati: 1 articolo
8
Sviluppatore 8
Valutazioni
(3)
Progetti
6
17%
Arbitraggio
0
In ritardo
1
17%
Gratuito
Pubblicati: 3 codici
9
Sviluppatore 9
Valutazioni
(23)
Progetti
34
53%
Arbitraggio
1
100% / 0%
In ritardo
1
3%
Gratuito
10
Sviluppatore 10
Valutazioni
(169)
Progetti
202
48%
Arbitraggio
5
20% / 60%
In ritardo
2
1%
Gratuito
11
Sviluppatore 11
Valutazioni
(33)
Progetti
36
33%
Arbitraggio
5
0% / 80%
In ritardo
0
In elaborazione
Pubblicati: 2 codici
12
Sviluppatore 12
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
0
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
1
0% / 0%
In ritardo
0
Gratuito
14
Sviluppatore 14
Valutazioni
(543)
Progetti
825
62%
Arbitraggio
33
27% / 45%
In ritardo
23
3%
Gratuito
Pubblicati: 1 codice
15
Sviluppatore 15
Valutazioni
(5)
Progetti
10
10%
Arbitraggio
2
0% / 50%
In ritardo
2
20%
In elaborazione
16
Sviluppatore 16
Valutazioni
(47)
Progetti
55
33%
Arbitraggio
15
27% / 60%
In ritardo
1
2%
In elaborazione
17
Sviluppatore 17
Valutazioni
(8)
Progetti
9
89%
Arbitraggio
0
In ritardo
0
Gratuito
18
Sviluppatore 18
Valutazioni
(1)
Progetti
2
0%
Arbitraggio
1
0% / 0%
In ritardo
0
Gratuito
Pubblicati: 1 articolo
19
Sviluppatore 19
Valutazioni
(250)
Progetti
460
26%
Arbitraggio
139
20% / 60%
In ritardo
100
22%
In elaborazione
20
Sviluppatore 20
Valutazioni
(4)
Progetti
5
0%
Arbitraggio
1
100% / 0%
In ritardo
1
20%
Caricato
21
Sviluppatore 21
Valutazioni
(2)
Progetti
4
50%
Arbitraggio
0
In ritardo
0
In elaborazione
22
Sviluppatore 22
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
23
Sviluppatore 23
Valutazioni
(242)
Progetti
286
77%
Arbitraggio
13
77% / 0%
In ritardo
4
1%
Gratuito
24
Sviluppatore 24
Valutazioni
(21)
Progetti
27
41%
Arbitraggio
4
50% / 50%
In ritardo
1
4%
In elaborazione
25
Sviluppatore 25
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
26
Sviluppatore 26
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
27
Sviluppatore 27
Valutazioni
(6)
Progetti
5
0%
Arbitraggio
4
25% / 75%
In ritardo
2
40%
Gratuito
28
Sviluppatore 28
Valutazioni
(77)
Progetti
244
74%
Arbitraggio
7
100% / 0%
In ritardo
1
0%
Gratuito
Pubblicati: 1 articolo
29
Sviluppatore 29
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
30
Sviluppatore 30
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
31
Sviluppatore 31
Valutazioni
(314)
Progetti
560
35%
Arbitraggio
81
31% / 44%
In ritardo
203
36%
In elaborazione
32
Sviluppatore 32
Valutazioni
(2666)
Progetti
3397
68%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
Gratuito
Pubblicati: 1 codice
33
Sviluppatore 33
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
34
Sviluppatore 34
Valutazioni
(199)
Progetti
255
21%
Arbitraggio
23
48% / 17%
In ritardo
0
Caricato
35
Sviluppatore 35
Valutazioni
(361)
Progetti
644
26%
Arbitraggio
92
72% / 14%
In ritardo
12
2%
In elaborazione
Pubblicati: 1 codice
36
Sviluppatore 36
Valutazioni
(171)
Progetti
195
42%
Arbitraggio
13
8% / 54%
In ritardo
9
5%
Gratuito
Pubblicati: 3 codici
37
Sviluppatore 37
Valutazioni
(271)
Progetti
553
50%
Arbitraggio
57
40% / 37%
In ritardo
227
41%
In elaborazione
38
Sviluppatore 38
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
39
Sviluppatore 39
Valutazioni
(6)
Progetti
7
71%
Arbitraggio
0
In ritardo
0
Gratuito
40
Sviluppatore 40
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
1
100%
Gratuito
Ordini simili
Dear developers I want to create an expert advisor for my strategy. The entry signals quite simple using OHLC, Bollinger, SuperTrend. (Possibly: ICT/FVG) The money and risk management is more difficult using martingale and trailing stops. I also need help to design this before any development
Welcome to the new era of automation I have something very powerful for trades who are looking to make consistent profits in the industry The EA is called Golden Sniper Pro designed specifically for boom index on Deriv broker with a win rate of over 85%. The ea combines EMA and RSI to detect market direction, calculates SL and TP by ATR. Uses tick counts to avoid entries near spike zones, if there was an entry
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
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
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit
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

Informazioni sul progetto

Budget
30+ USD