Basket Manager trailing basket profit

MQL4 Esperti

Lavoro terminato

Tempo di esecuzione 93 giorni

Specifiche

Hi,

I need an EA to manage the profit on a basket of orders on a single pair. I would like it to work as following:

I may have multiple open positions on a pair (might have different sizes and maybe directions). I want to trail the profits of the entire basket from an initial profit or loss (in money, it can be break even or not) to a profit target (of the entire basket). If "combined profit" of all the open orders reaches some amount of money the EA must start trailing the profit. It will trail a specified amount. If, on the contrary, once the trailing has started, the profit goes under a certain level, the EA must close all the orders in this pair. So I need at least the following input variables:

- profit target: if the combined profit of all the orders in the pair reaches this level, all the orders are closed with that profit (for example $20).

- profit start trailing: amount of profit at which the ea starts trailing profit (for example: $5, as soon as the combined profit reaches $5, it will start trailng profit),

- profit stop trailing: amount of profit or loss at which the ea stops trailing and closes all operations because profit decreased from profit start trailing and hit this level (for example, $1).

- profit trailing amount; amount of profit being trailed (for example $2. For example trailing profit started at $5 and when combined profit reached $7, profit stop trailing is moved to previous value + profit trailing amount).

Basic trailing system, but based on combined profit of a basket and not in pips.

All that info is shown in an info panel on the screen. 

Working with lines on the chart: 

On the chart there must be three lines showing:

- place/price where profit target would happen, (for example if profit target is $20, there must be a line where that profit will be reached)

- price where start trailing will happen,

- price where stop trailing would happen. (those lines are automatically moved when profit is trailed)

These three lines can be manually adjusted and moved, and when manually moved the new amounts of profit resulting from moving the lines must be shown in the informative panel. For example, I can move the take profit line (drag and drop the line) a few pips on the screen, and then the EA must recalculate the profit I would have if price reached that new level/line. The new value is shown in the informative panel (on the screen).

Manually moving a line has preference over the initial settings I had before in my initial variables.

All the lines must be changed when a new order is open

Some other functions:

The EA must be able to manage all the positions in a pair, no matter they were from another EA or manual.

The EA must have an informative panel showing all the related info,

Combined profit must include commissions and swaps.

There must be a button on screen to close all operations inmediately.

A variable true/false (default false) to include the pending orders in the calculations, showing the info on the panel, drawing the lines on the screen and trailing the profit.

Selectable colors for the lines.

Please, contact me if anything is not clear enough or with any comments or suggestions.

Thanks in advance,

Regards 

 

 

Con risposta

1
Sviluppatore 1
Valutazioni
(271)
Progetti
553
50%
Arbitraggio
57
40% / 37%
In ritardo
227
41%
In elaborazione
2
Sviluppatore 2
Valutazioni
Progetti
0
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
Ordini simili
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo, in grado di adattare il proprio comportamento alle mutevoli condizioni di mercato di XAUUSD. Lo sviluppatore dovrebbe essere libero di combinare qualsiasi tecnica ritenuta opportuna
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing
I need an MT5 EA based on my strategy: MN1/W1/D1 trend analysis, H4/H1 confirmation, EMA 10/23, Fibonacci 12.7 BUY & 88.6/88.7 SELL entries, market structure/candlestick confirmation, automatic SL/TP, risk-based lot sizing, break-even, trailing stop, news filter, and prop-firm risk management. The EA should support scalping, intraday and swing trading, with future AI integration
Composite robot 30 - 200 USD
Title: Multi-Timeframe Pure Price Action & Elliott Wave Execution Bot for XAUUSD 1. Project Overview I need a robust, automated trading bot (Expert Advisor) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) exclusively. The strategy is built entirely on Top-Down Multi-Timeframe (MTF) market structure, pure price action, and Elliott Wave principles. It does not use traditional lagging technical indicators (like RSI or
Build a fully mechanical EA for XAUUSD on D1 timeframe. Trader spends 5-10 mins per day to run it. No discretion. EA calculates, places orders, and walks away. Timeframe Use the Daily (D1) timeframe . At the close of each completed daily candle, identify: Previous day's High (wick) Previous day's Low (wick) Previous day's Open
The Candle Range Theory (CRT) 3-Candle Strategy is a price action method derived from Smart Money Concepts (SMC). It is based on the "Power of 3" logic (Accumulation, Manipulation, Distribution), essentially compressing an entire market cycle into a sequence of three specific candles. This strategy relies on the idea that the first candle sets a range , the second candle manipulates price to trap traders (liquidity

Informazioni sul progetto

Budget
10 - 70 USD
Scadenze
da 1 a 7 giorno(i)