Modify EA with a SL mover and Loss Calculator

MQL4 专家

工作已完成

执行时间13 天

指定

Requiring some elements to be incorporated into an existing EA.

The elements are:

1.       A stop loss mover (creating a stop loss at a number of pips from entry after price moves a set distance from entry)

2.       A loss calculator that can modify existing orders.

 

Note the existing EA allows the trader to group tickets of market and pending orders into baskets; therefore, both elements need to be able to be applied uniquely to these individual baskets as well.

1.       Stop Loss Mover

The stop loss mover is fairly typical.  The trader specifies the number of pips price has to move in profit and the number of pips to move (or create) a stop loss from the entry price.

However there are a couple additional considerations for this SL mover.

a)      It needs to be applied to number of unique baskets (groups of tickets)

b)      It needs to be applied to only the first active ticket of that basket.  If more than one ticket is active (not pending) then the SL mover will not function.  This means that if a SL is specified in the GUI by the trader and no orders are open – the SL will be applied to the only the first pending order that triggers.  If of the group of tickets there is only one order active and the user enters a SL – it will apply to that open order and none of the others.  However, if there are 2 open orders in the basket and a user enters a SL – the SL mover will not function.

c)       It needs to cancel the other tickets in the basket if the stop loss is hit

d)      Needs to have 2 fields incorporated into the GUI.   “Bounce” which is the number of pips needed to move from price before SL is created.  And “SL Move” which is the number of pips from entry where the Stop Loss is created.

 

2.       Loss Calculator and Modifier

The baskets are comprised of an entry and a number of pending hedge orders to scale out of the position.  So all the orders are the basket should have a NET LOT of “Zero” and if they all trigger then a floating loss will be realized.  The calculator needs to calculate the loss that will be realized if all orders hit and a hedged floating loss is locked in. 

It also needs to modify orders in the basket to a % risked as set by the trader.  So if the EA calculates a loss of 0.3% for the basket if all trades are executed and it is hedged flat, and they wish to either decrease or increase the % at risk for the basket – they can enter that amount and the lot sizes will adjust accordingly. 

The GUI will also have fields showing: Net Lots; Current % at Risk; Modified % at Risk; and and Execute button if trader wants the EA to modify orders to match that risk.

More details can be provided in private and price can be negotiated.


反馈

1
开发者 1
等级
(43)
项目
74
50%
仲裁
5
0% / 60%
逾期
19
26%
空闲
2
开发者 2
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
相似订单
I trade ES futures on the Ninja trader platform. I recently came across an indicator and wanted to check with you if you can build a similar indicator that works on Orenko or Ninja renko charts, and also combines support and resistance untouched. Below is the indicator, which will tell you market chop and to avoid. I want to include a support and resistance bar on the chart when there is no chop please let me know
Project Description: I have a fully working Pine Script for TradingView called MFHA 3-Step Market Structure Strategy V2 . I need it converted into MT5 , with the logic kept as close to the Pine version as possible. What I need: MT5 Indicator Exact oscillator logic Multi-timeframe logic using 4H, 15M, and 1M EMA filter MTF EMA dashboard RSI display Buy and sell visual signals Background state/flash behavior where
I am looking for an experienced MQL5 developer to continue optimization work on an existing Expert Advisor (MQ5 source file available, 2.5MB). Important: This is NOT a project to build a new EA. The task is strictly to refine and improve the current system while keeping the core strategy intact. The EA is already functional and stable. A full code audit and baseline backtesting have already been done, and key
📌 EXPERT ADVISOR (EA) DEVELOPMENT COMPLETE A–Z FINAL REQUIREMENT DOCUMENT (FINAL VERSION) 1. 🔐 SECURITY SYSTEM (MANDATORY) The EA must include strict security checks. If any security condition fails, EA must immediately STOP trading. 1.1 Account Lock #define ALLOWED_ACCOUNT 5047656761 EA must run ONLY on this account number If account does not match: ❌ EA stops trading 🚨 Alert message 📲 Telegram notification to
Hello, and please read everything !!! I am looking for a developer who can recreate a strategy similar to an EA I already have. The EA works well on demo, especially during specific volatility windows (for example DE40 between 09:00 and 10:00 Frankfurt time), but on real accounts it produces constant losses even with IC Markets Raw and VPS close to the broker. 🎯 Objective The goal is to recreate and adapt this
As the title suggests, I need an EA whose algorithm earns commission without incurring excessive losses from the trading volume at the broker....Like Exness/Vantage, or do you have any other ideas
I need for an EA for XAUUSD using a grid + Martingle + hedging strategy developer Main features: • Open Buy & Sell at start (hedging) • Grid system with adjustable step (price-based levels) • Lot multiplier (martingale-style) • Fixed TP per trade + basket TP (close all in profit) • Continuous re-entry after TP • Risk management (max trades, max lot, equity stop) EA should be stable, error-free, and work with
Darwish 50 - 100 USD
I want a bot that runs on any timeframe, but for now, I’ll set it on 1 minute. It should watch for buy and sell signals. Each time it opens a trade, as soon as it makes a small profit like 1, 2, or 3 dollars it closes, then checks for the next signal. If it sees a buy, it buys; if it sees a sell, it sells—just repeating the cycle, over and over, until I stop it
📢 Project Title:MT5 Expert Advisor (EA) – Advanced Renko Strategy (Full Automation) 📄 Project Description:I want to develop a fully automated MT5 Expert Advisor (EA) based on my existing TradingView Renko strategy.I already have a working Pine Script that generates Buy/Sell alerts with ATR and other logic. Now I need the same strategy to be fully converted into MT5 EA with built-in Renko logic (no external
Need trading robot 30 - 100 USD
I need a trading robot specifically for gold (XAUUSD) that follows a high-probability scalping and intraday strategy based on 15-minute candle confirmations. The bot should identify key support and resistance zones, detect breakouts, fake breakouts, and pullbacks before entering trades. It must include entry conditions based on candle patterns such as engulfing and rejection wicks, and optionally fair value gaps

项目信息

预算
30+ USD
截止日期
 10 天