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%
空闲
发布者: 283 文章, 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
空闲
相似订单
Trading + Alerts 30 - 200 USD
//+------------------------------------------------------------------+ //| Volatility & Risk Strategy EA | //| Combines Alerts + Trade Execution | //+------------------------------------------------------------------+ #property strict //--- Input parameters input double MaximumRisk = 0.02; // Max risk per trade (2%) input double DecreaseFactor= 3.0; // Lot size decrease factor input
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
I am looking for a professional developer to build a custom trading analysis software for me. This tool is NOT an automated trading bot (EA); it is an analysis dashboard to help me identify high-probability setups based on my strategy. Key Requirements: Multi-Timeframe Analysis: The software should scan 4 different timeframes (M15, M30, H1, H4, D1, WK1, MTH1) and alert me when my conditions are met. Indicator
Algo Trading Rebot/ EA 30 - 100 USD
I would like someone Who can design an EA for me. I will give him the Required Details and Trading Plan How it should Work. its going to be a Simple EA System Around Moving Averages Crossover. I will Provide Him the Moving Averages Settings and How It should execute trades and Exit them
The EA should focus on high-speed scalping on the 1-minute timeframe or every tick execution and must perform incredibly well on demo accounts with consistent profitability. EA Requirements: Platform: MetaTrader 5 (MT5) Trading style: Scalping (1-minute or tick-based execution) Dynamic lot size increase system (auto lot multiplier or equity-based lot adjustment) Should work efficiently even on minimum equity (as low
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
Hello I want to convert my tradingview indicators into Ninja trader can anyone help me with it it is urgent and I will like to discuss more about it to you if you can help me Kindly do well to bid on it
📌 JOB DESCRIPTION – FULLY AUTOMATED TRADING SYSTEM I am looking for an experienced developer to build a fully automated end-to-end trading system for MetaTrader 5. This is not an indicator-based bot and not a discretionary or black-box AI system. The system must follow a strict, deterministic rule-based trading framework that is already defined. 🎯 PROJECT GOAL Build a system where: A backend continuously evaluates
Task Title Implement Martingale Lot Scaling Sync Between Master and Slave MT4 Trade Copier Background I am using a local master–slave trade copier setup with: 1 Master MT4 4 Slave MT4 terminals Trades are currently copied correctly (entry, direction, symbol, SL/TP). Lot size handling currently copies either: the exact master lot, or a fixed base lot defined on the slave (e.g., always 0.01 or 1.0). Problem When the
Julismorfx-Bot 150 - 300 USD
Hello, I am looking for an MT5 Expert Advisor based on a reversal trading strategy . The EA must follow strict risk management and be suitable for prop firm rules . Key requirements: • Platform: MT5 • Pairs: USDJPY, GBPUSD, XAUUSD (multi-pair) • Strategy: Reversal only (H4 context + M15 entry) • Fixed risk per trade (default 0.5%, max 1%) • One trade per pair, max 2 trades total • Every trade must have Stop Loss and

项目信息

预算
30 - 150 USD
截止日期
 1  10 天