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
等级
(2424)
项目
3050
66%
仲裁
77
48% / 14%
逾期
340
11%
工作中
3
开发者 3
等级
(108)
项目
138
43%
仲裁
19
16% / 53%
逾期
20
14%
已载入
4
开发者 4
等级
(197)
项目
201
27%
仲裁
0
逾期
3
1%
空闲
5
开发者 5
等级
(88)
项目
143
39%
仲裁
21
19% / 48%
逾期
30
21%
空闲
6
开发者 6
等级
(49)
项目
134
27%
仲裁
62
13% / 53%
逾期
58
43%
空闲
7
开发者 7
等级
(365)
项目
412
36%
仲裁
35
26% / 57%
逾期
63
15%
空闲
8
开发者 8
等级
(298)
项目
427
26%
仲裁
18
61% / 33%
逾期
26
6%
空闲
9
开发者 9
等级
(356)
项目
632
26%
仲裁
89
73% / 13%
逾期
12
2%
空闲
10
开发者 10
等级
(119)
项目
127
41%
仲裁
3
33% / 67%
逾期
0
空闲
11
开发者 11
等级
(1854)
项目
3457
88%
仲裁
73
40% / 15%
逾期
265
8%
空闲
12
开发者 12
等级
(1)
项目
2
0%
仲裁
0
逾期
1
50%
空闲
13
开发者 13
等级
(1)
项目
1
0%
仲裁
1
0% / 100%
逾期
0
空闲
相似订单
Hello, I am looking for an expert in DLL to help control my current EA. I want to implement some conditions that will allow my EA to turn on and off according to DLL specifications. For example, the EA should only execute trades when a specific condition in the DLL is met, and it should stop trading when the condition is not met
hello i need a professional to convert a fully functioning buy and sell signal strategy on tradingview to EA mt4 , the signals trigger when the bar closed match all conditions , it has a specific calculation for strength of each pair
hi. I hv a strategy on tradingview need to convert to MT4/MT5 expert advisor for algo trading. would like to add some tradingview strategy setting to the EA(not included in my tradingview code): recalculate after order is filled, order size: xx% of equity
Hello coder, I am looking for a skilled web application developer to create a page that analyzes trades similar to Myfxbook. The application should support both MT4 and MT5 platforms. The front-end of this application should be capable of creating detailed charts and graphs for visualizing trade performance. Key Responsibilities: Develop a Web Application: Create a user-friendly interface for tracking and analyzing
I need an urgent requirement by the developer who are able expert in designing the EA-Anil and can give best trailing result of profit in EA-Anil I am sending.Developer should design the best graphic user trader panel info, plus a buy sell input panel and should display trade result within 4-5 days of this development program
I’m looking for a developer that has understanding of scalping and HFT strategies that can make an algo that works for all brokers and prop firm LIVE accounts (like STP, ECN, DMA, Money Makers, NDD, Fast Server etc.,). I want someone that has understanding and insight in different scalping and HFT strategies, preferably something like momentum based strategies. The EA has to work on all Brokers and Prop firms like
The strategy uses a grid trading system where trades are placed at set intervals (grid levels) and are managed using Bollinger Bands for entry and exit signals. A fixed lot size, trades are managed to comply with maximum spread conditions and specific trading hours, with the possibility of closing trades based on Bollinger Bands signals. The use of Bollinger Bands indicates a focus on volatility-based trading, while
Hi Everyone, I need a cloud based licensing system to protect my MT4 / MT5 Indicators and Expert advisors Secure an unlimited number of EAs, indicators, and scripts. Create and manage unlimited license keys for secured EAs, indicators, and scripts. Instantly suspend license keys in case of refund. Lock EA/indicator to specific accounts and time frame similar to this
Hi, i have a tos script i need converted to Ninja script, but someone who knows both coding. Cant be someone who is just going to paste into chat gpt, it requires more understanding for compatibility
Hi, i have a tos script i need converted to Ninja script, but someone who knows both coding. Cant be someone who is just going to paste into chat gpt, it requires more understanding for compatibility

项目信息

预算
30 - 150 USD
开发人员
27 - 135 USD
截止日期
 1  10 天