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
I have several strategies that I want to automate. However, I need to explain the strategies and discuss the next steps. I also want to have the source code so I can backtest the setup in my trading software. And if possible, a brief introduction on how it works. But we can discuss all of this when we start working together. About the strategy: 1. Basic logic: Single Prints Both visible Single Prints (classic peaks
Hello, I am looking for a professional developer to create an Expert Advisor (EA) for MT5 (MetaTrader 5). The strategy uses a combination of MACD and Bollinger Bands. Specifications: 1. Trading Pair: EURUSD 2. Indicators Settings: Bollinger Bands: Period 20, Deviation 2.000, Shift 0, Apply to Close. MACD: Fast EMA 89, Slow EMA 144, MACD SMA 5, Apply to Close. 3. Strategy Logic: SELL Condition: MACD Main line should
Darwish 30 - 100 USD
Hey, I want you to build an AI bot for buying and selling. I really like the structure and design of the information I sent you, so please use that as the base. I need the same logic and flow, but make sure it’s unique to me. The bot should handle buying and selling, and I want to control access most users get limited access, like one day, but I need a way to grant full, unlimited access if I choose. Don’t worry just
Super scalper 30 - 200 USD
Articles 1 How to create Requirements Specification for ordering a trading robot 28 MetaQuotes 225 289 Table of Contents Prerequisites for ordering a trading robot Why is it important to have a well-prepared Requirements Specification? Requirements Specification examples What is contained in the Requirements Specification? Where do I get Requirements Specification if I can't create it? Terms to use How to write an
Articles 1 How to create Requirements Specification for ordering a trading robot 28 MetaQuotes 225 289 Table of Contents Prerequisites for ordering a trading robot Why is it important to have a well-prepared Requirements Specification? Requirements Specification examples What is contained in the Requirements Specification? Where do I get Requirements Specification if I can't create it? Terms to use How to write an
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 lot size
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

Informazioni sul progetto

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