Modify existing EA to add safety feature

작업 종료됨

실행 시간 3 분
피고용인의 피드백
Pleasure working with you! Thank you!
고객의 피드백
Freelancer is a great guy. He was able to complete the project as described. If there are more stars in the rating, I would give him 10 for perfect programming he did in my EA.

명시

The project for the existing EA and is as follows:

Add safety feature to avoid over trade from different 8 SIGNAL NAME.

 example:
this EA enters a trades with BUY and pending predetermine SELL order. when, SELL pending price is hit, EA opens BUY pending order and so on and so forth like a zigzag.

the safety feature I want to be added to this EA is to limit of opening pending orders.  I'm open to suggestion to make it easy, but current functions should not be affected with the modification.

Safety Feature is as follows:

Check money balance before EA opens another pending order. if balance is below required to open pending order, calculate difference between all BUYs and SELLs order.

example:
Order TypeLot SizeTrade Comment
BUY0.01SIGNAL NAME_BUY
SELL0.02SIGNAL NAME_SELL_Recover-Sell
BUY0.04SIGNAL NAME_BUY_Recover-Buy
SELL0.08SIGNAL NAME_SELL_Recover-Sell
BUY0.16SIGNAL NAME_BUY_Recover-Buy
SELL0.32 terminal message = ERR_NOT_ENOUGH_MONEY

Total BUY   -   Total SELL
0.01                0.02
0.04                0.08
0.16
__________________

0.21           -    0.10    =   0.11  + LOTSTEP = SafetyLotSize

if terminal still returns ERR_NOT_ENOUGH_MONEY

subtract SafetyLotSize by LOTSTEP => (0.11 + LOTSTEP) - LOTSTEP = SafetyLotSize

do this until terminal accepts lot size, then Lot size = SafetyLotSize

change trade comment = Signal Name_SafetyMoney. then, no pending order will be open with this SIGNAL NAME until all open trade of SIGNAL NAME are close.

when SIGNAL NAME profit = $ 0.00, close all trade for this SIGNAL NAME.


PLEASE test EA in tester before sending for demonstration.  Thank you.



응답함

1
개발자 1
등급
(45)
프로젝트
59
42%
중재
5
0% / 60%
기한 초과
12
20%
무료
2
개발자 2
등급
(2630)
프로젝트
3345
67%
중재
77
48% / 14%
기한 초과
342
10%
무료
게재됨: 1 코드
3
개발자 3
등급
(143)
프로젝트
167
49%
중재
22
14% / 55%
기한 초과
22
13%
무료
4
개발자 4
등급
(249)
프로젝트
255
30%
중재
0
기한 초과
3
1%
무료
게재됨: 2 코드
5
개발자 5
등급
(88)
프로젝트
143
39%
중재
21
19% / 48%
기한 초과
30
21%
무료
6
개발자 6
등급
(49)
프로젝트
134
27%
중재
62
13% / 53%
기한 초과
58
43%
무료
게재됨: 284 기고글, 1 코드
7
개발자 7
등급
(365)
프로젝트
412
36%
중재
35
26% / 57%
기한 초과
63
15%
무료
8
개발자 8
등급
(298)
프로젝트
427
26%
중재
18
61% / 33%
기한 초과
26
6%
무료
게재됨: 8 코드
9
개발자 9
등급
(361)
프로젝트
643
26%
중재
92
72% / 14%
기한 초과
12
2%
작업중
게재됨: 1 코드
10
개발자 10
등급
(119)
프로젝트
127
41%
중재
3
33% / 67%
기한 초과
0
무료
11
개발자 11
등급
(1928)
프로젝트
3548
88%
중재
73
40% / 15%
기한 초과
268
8%
무료
12
개발자 12
등급
(1)
프로젝트
2
0%
중재
0
기한 초과
1
50%
무료
13
개발자 13
등급
(1)
프로젝트
1
0%
중재
1
0% / 100%
기한 초과
0
무료
비슷한 주문
im looking for someone to create a fully automated EA with an indicator from the MQL5 website, i have 2 indicators if 1 doesnt work i would like to use the other for the 1st one i would like to use the pips chaser indicator and convert it into an EA the second i would like to use the neural link candle scanner and higher high higher low indicator put into an EA
EA Expert MTA 4 30+ USD
I have my own indicator and needs to create EA expert working smoothly with it to hit the targets as defined in indicator: Technical approach: - The EA will read the indicator signals using Copy Buffer on the selected timeframe - The EA should hit indicator variable targets factor -​Auto-Entry: Instant execution when the signal appears. ​-Alerts: Mobile Push Notifications + Pop-up alerts. -​Money Management Auto-lot
I am in search of a profitable bot for scalping Gold. The bot should be ready as at now to trade in a live market with good consistency. It should have a low drawdown. No martingale or grid system. The developer should be able to send a demo so I can test. If you have any profitable EA, pls
Основной стандартный и единственный индикатор Параболическая SAR. Непосредственно работа робота. 1. Производится 1 сделка при начале нового тренда, тренд определяется индикатором Parabolic SAR. Пример: если точки расположены ниже цены - значит тренд восходящий, открывается покупка (по рынку), при смене тренда на снижение - точки становятся выше цены, происходит закрытие предыдущей сделки (если она была открыта), и
I am looking for an experienced MQL5 developer to build a very fast AI-assisted scalping Expert Advisor, with special focus on XAUUSD (Gold). Core Strategy Designed mainly for XAUUSD, but should also work on all forex pairs and metals Opens multiple trades in the same direction Closes trades immediately once they are in profit (very small, fast profits) Optimized for high-speed scalping No martingale and no risky
hello great developer I’m hiring a developer to build a local-only trade copier that sends trades from MT4 and MT5 to NinjaTrader 8 (NT8) in real-time. This copier must be reliable, fast, and fully executable without cloud dependence. I require a short test/demo period before full delivery to ensure quality and performance. here is the full project specs in the file check it please
Trade copier 100+ USD
hello great developer This is what I need: I need a local trade copier solution to transmit trades from MT4 and MT5 to NinjaTrader 8 instantly for arbitrage purposes, with ultra-low latency and no cloud services involved. Scope of work - Develop MT4/MT5 EA or script for detecting and sending trades locally. - Create NT8 NinjaScript for listening to and executing trades. - Support market orders and lot size
I need a reliable, clean-coded Expert Advisor built for both MetaTrader 4 and MetaTrader 5 platforms. Main trading behavior: The EA follows buy and sell arrows produced by my custom indicator. Whenever a buy arrow shows up on the chart: if a sell position is currently open → close that sell immediately and enter a buy trade in its place. Whenever a sell arrow appears: if a buy position exists → close the buy and
*I am looking for an experienced MQL5 developer to build a custom Expert Advisor (EA) for MetaTrader 5 based on my proprietary trading strategy. The full strategy details will be shared privately with the selected developer after agreement. The EA must be designed for automated trade execution with a strong focus on accuracy, speed, and stability. It should support flexible input settings and allow for future
📋 Project Description I am looking for an experienced MT5 (MQL5) developer to code a fully automated Expert Advisor for NASDAQ (US100) based on a fixed, rule-based opening range breakout strategy. The strategy is mechanical, uses no discretionary logic, and must be coded exactly as specified below. 🕒 Time & Session Rules Market: NASDAQ (US100) Trading days: Monday–Friday Session open: 9:30 EST EA must convert

프로젝트 정보

예산
30 - 150 USD
기한
에서 1  10 일