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 have a tradingview simple indecator of 40 lines of code ,i want it to convert it into mt5 EA strategy details given below AUTOMATED TRADING STRATEGY Multi-Lot Execution & Dynamic Trailing Stop Logic System Architecture & Operational Rules Trading Bot Strategy Profile Entry Conditions Buy Logic • • • Wait for Buy Signal candle. Confirmation: Future candle must break the signal high. Execution: Open 2 orders of 0.01
HFT Directional Grid Scalper (Simple, Training Project) Overview We are looking for a developer to create a high-frequency grid scalper with a simple, deterministic logic. This is not a complex bot — the goal is to have a clean implementation for training, testing, and educational purposes. The bot should: Continually open trades in one direction only (BUY or SELL) Use ATR-based grid spacing Maintain a fixed
I want a accurate indicator with buy and sell arrows or circle.. with exit points which trade xauusd and btcusd via weekend ... for small like R100 or 500 .... like which can grow small accounts with ... on for serious developer.. no bullshit ... I need on Friday please
I'd like to automate a relatively simple strategy in Sierra Chart, but I'd like to have it backtested and optimized first. Could we collaborate on this, and what would the cost be? Only bid if you think you can handle this project, and I want expert in sierra chart.. Thanks
I need an EMA crossover EA specifically for Boom and Crash. It should automatically buy and sell when crossovers happen. I want adjustable inputs for lot size, timeframe, and maximum loss. I’m keeping it simple because I’ve had bad experiences with EAs before. It should do only the job it is built for, properly and reliably. need someone who have already build EA or Indicator for Boom and Crash befor atleast 10
//+------------------------------------------------------------------+ //| ProTradingEA MT5 | //| Fully MT5-compliant with MACD, Trailing Stop, Break-Even | //+------------------------------------------------------------------+ #include <Trade\Trade.mqh> CTrade trade; // Optional override input string SymbolOverride = ""; // leave blank to auto-detect struct EASettings { int
I have access to an MT5 account. I have investor access. I would like to know if someone could help me create a bot that copies only the trades made on XAU/USD in that account but in my MT4 account. In that account, many trades are made across various pairs, and I realize that the conditions of their account are not very favorable for the type of trading they do, as the commissions are very high. I have an account
Good day, I would like to have an expert advisor for my MT4 indicator (Major key alert) that can scan and provide push notification messages for entry opportunities across different time frames when a when a signal is identified
"I need an MT5 EA based on price action — liquidity sweep + hammer/shooting star reversal strategy. TREND: Identified by HH/HL for uptrend, LL/LH for downtrend on selected timeframe. No trade in ranging conditions. BUY SETUP: In uptrend, price retraces to swing low zone, wicks below it (liquidity sweep), hammer forms (lower wick min 2x body, closes above swept low). Buy stop entry at hammer high. SL below hammer
I need a professional MQL5 developer to finalize a Gold (XAUUSD) trading bot. The core layering and support-filter logic is already drafted. Key Requirements: Refine a hybrid Martingale/Layering volume calculation (1-10 / 11-20 reset logic). Implement a robust "Safety Mode" based on Daily Low price breaks. Ensure precise 6:00 AM Server Time reset for logic variables. Add professional error handling (Slippage

项目信息

预算
30+ USD
截止日期
 10 天