Fully working EA needs one new trade EXIT rule.

MQL4 Эксперты Forex C++

Техническое задание

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.


Откликнулись

1
Разработчик 1
Оценка
(13)
Проекты
20
40%
Арбитраж
1
0% / 100%
Просрочено
1
5%
Свободен
2
Разработчик 2
Оценка
(41)
Проекты
47
60%
Арбитраж
4
50% / 25%
Просрочено
0
Работает
3
Разработчик 3
Оценка
(279)
Проекты
376
72%
Арбитраж
19
32% / 47%
Просрочено
14
4%
Свободен
Опубликовал: 14 примеров
4
Разработчик 4
Оценка
(580)
Проекты
671
32%
Арбитраж
42
45% / 45%
Просрочено
12
2%
Загружен
5
Разработчик 5
Оценка
(210)
Проекты
283
46%
Арбитраж
27
59% / 37%
Просрочено
36
13%
Работает
6
Разработчик 6
Оценка
(633)
Проекты
1001
47%
Арбитраж
33
36% / 36%
Просрочено
98
10%
Свободен
Опубликовал: 6 примеров
7
Разработчик 7
Оценка
(7)
Проекты
9
0%
Арбитраж
2
0% / 100%
Просрочено
0
Свободен
Опубликовал: 1 статью
8
Разработчик 8
Оценка
(3)
Проекты
6
17%
Арбитраж
0
Просрочено
1
17%
Свободен
Опубликовал: 3 примера
9
Разработчик 9
Оценка
(23)
Проекты
34
53%
Арбитраж
1
100% / 0%
Просрочено
1
3%
Свободен
10
Разработчик 10
Оценка
(169)
Проекты
202
48%
Арбитраж
5
20% / 60%
Просрочено
2
1%
Свободен
11
Разработчик 11
Оценка
(33)
Проекты
36
33%
Арбитраж
5
0% / 80%
Просрочено
0
Работает
Опубликовал: 2 примера
12
Разработчик 12
Оценка
(2)
Проекты
2
0%
Арбитраж
0
Просрочено
0
Свободен
13
Разработчик 13
Оценка
(1)
Проекты
1
0%
Арбитраж
1
0% / 0%
Просрочено
0
Свободен
14
Разработчик 14
Оценка
(543)
Проекты
825
62%
Арбитраж
33
27% / 45%
Просрочено
23
3%
Свободен
Опубликовал: 1 пример
15
Разработчик 15
Оценка
(5)
Проекты
10
10%
Арбитраж
2
0% / 50%
Просрочено
2
20%
Работает
16
Разработчик 16
Оценка
(47)
Проекты
55
33%
Арбитраж
15
27% / 60%
Просрочено
1
2%
Работает
17
Разработчик 17
Оценка
(8)
Проекты
9
89%
Арбитраж
0
Просрочено
0
Свободен
18
Разработчик 18
Оценка
(1)
Проекты
2
0%
Арбитраж
1
0% / 0%
Просрочено
0
Свободен
Опубликовал: 1 статью
19
Разработчик 19
Оценка
(250)
Проекты
460
26%
Арбитраж
139
20% / 60%
Просрочено
100
22%
Свободен
20
Разработчик 20
Оценка
(4)
Проекты
5
0%
Арбитраж
1
100% / 0%
Просрочено
1
20%
Загружен
21
Разработчик 21
Оценка
(2)
Проекты
4
50%
Арбитраж
0
Просрочено
0
Работает
22
Разработчик 22
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
23
Разработчик 23
Оценка
(242)
Проекты
285
77%
Арбитраж
13
69% / 0%
Просрочено
4
1%
Работает
24
Разработчик 24
Оценка
(21)
Проекты
27
41%
Арбитраж
4
50% / 50%
Просрочено
1
4%
Работает
25
Разработчик 25
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
26
Разработчик 26
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
27
Разработчик 27
Оценка
(6)
Проекты
5
0%
Арбитраж
4
25% / 75%
Просрочено
2
40%
Свободен
28
Разработчик 28
Оценка
(77)
Проекты
243
74%
Арбитраж
7
100% / 0%
Просрочено
1
0%
Свободен
Опубликовал: 1 статью
29
Разработчик 29
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
30
Разработчик 30
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
31
Разработчик 31
Оценка
(314)
Проекты
560
35%
Арбитраж
81
31% / 44%
Просрочено
203
36%
Работает
Похожие заказы
El 3aksiyat 0 35+ USD
//@version=6 indicator("منظومة El_3aksiiya 0 المتكاملة", overlay=true, max_labels_count=500, max_boxes_count=500, max_lines_count=500) // الألوان color_accum = color.new(#0000FF, 85) color_manip = color.new(#FFFF00, 80) color_dist = color.new(#FFC0CB, 80) color_elliot = #FF8C00 color_fib = #FFFF00 color_entry = #00FFFF color_tp = #00FF00 rsiVal = ta.rsi(close, 14) // نموذج AMD var int barCount = 0 if
Hi all I would like a strategy to be developed for LIMT ORDERS strategy for both Buy/sell limit for XAUUSD, US30 & DE30/40 on the M1 or M5 chart . I have my EA but it's not profitable. It should be a Limit order strategy with a profit factor of 2+ when back testing . You should consider that My EA has trailing stop and a trailing limit order. I have experience in coding in MQL4/5, I'm currently struggling I with
MT5 EA Developer for Structured ICT/SMC Market Logic Requirements Specification: I need an MT5 Expert Advisor only in MQL5. No indicator, no script, no DLL, and no external API. The EA must be built on a rule-based ICT/SMC-style framework with objective, backtestable logic. I am not looking for social-media-style ICT/SMC interpretation. I need a developer who can convert trading concepts into clear coding rules. The
Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w tworzeniu niezawodnych i profesjonalnych robotów handlowych będzie dodatkowym atutem. Proszę o kontakt, jeśli zrealizowałeś już podobne projekty. wszystkie szczeguły podam w
I need an experience programmer on news based EA, the EA will be able to fetch or return both historical and current calendar data and implore them into trading, The rest EA details will be communicated in the chat section
Mambo 30+ USD
I need a bot that can trade weltrade synthetic indices that can be consistently making profits if you have one for deriv its also fine a bot that executes and closes trades automat Will be ideal
I am looking for an experienced MQL4/MQL5 developer to build a custom MT4 indicator from scratch or cracking my ex4 file that i provide to you. I already have an existing indicator (EX4) which produces highly accurate buy/sell signals. I want a similar indicator developed based on its observable behavior and signal structure. my existing indicator is pc id protected so you have to do PC ID security bypass and source
📌 Project Overview: I need a full Smart Trade Management System for MetaTrader 4/5. This is a complete trading ecosystem, not a simple EA. 📌 Core Features: Smart Money Management (risk-based lot calculation) Advanced Trading Toolbox (TradingView-style drawing tools) Central Master Dashboard (risk, filters, account control) Multi-account monitoring (MT4/MT5 synchronization) Real-time monitoring (spread, equity
Hello, i would like to have a ninjatrader indicator. I wanna to have a footprint indicator with delta, imbalances and big trades identifiable. Also I wanna sell it on whop. And it should be fully customisable in NT8
Zone detection is coded , you will be working from that point . Trailing Stop Optimization for live chart . Apply Specific Currency Support . Clean Code . Zone Upper Limit and Lower Limit

Информация о проекте

Бюджет
30+ USD

Заказчик

(3)
Размещено заказов7
Количество арбитражей0