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
Looking for an Experienced MQL4/MQL5 Developer to Build a Professional Scalping Expert Advisor (EA) I am looking for an experienced MQL4/MQL5 developer to build a professional Expert Advisor (EA) for MetaTrader 4 or MetaTrader 5 from scratch. My goal is to develop a high-quality scalping system with strong risk management and long-term profitability potential. I am not looking for unrealistic promises or "100%
void OnTick() { // Check if we already have an open trade if(OrdersTotal() == 0) { // Get the value of a 14-period Moving Average double ma = iMA(Symbol(), 0, 14, 0, MODE_SMA, PRICE_CLOSE, 0); // Basic Condition: If current close price moves above the MA, buy if(Close[0] > ma) { int ticket = OrderSend(Symbol(), OP_BUY, 0.1, Ask, 3, 0, 0, "My First Bot", 0, 0, clrGreen); } } }
i brought an EA called profit hunter killer and the file is not working any more its a scalper type EA can anyone here decomplie the file as i cam not abe to reach the seller i brought it on Shopee malaysian website
Recently I have backtested more than 100 EAs and I have come to a conclusion that in the long-term all of them produce catastrophic results. I used 99.9% data quality and whenever possible decades of data. In the short-term almost all of them can have nice gains. But there is hardly any EA that could survive even just 3-5 years, let alone decades ! This got me thinking: if almost all EAs are unfit for long-term
I need to connect my online store to the NinjaTrader API for automated order fulfillment and license creation/revocation. If you have experience integrating with the NinjaTrader Ecosystem API or implementing vendor licensing, please contact me with your relevant experience and approach
I am looking for an experienced MQL5 developer to convert a TradingView indicator into an MT5 indicator. The objective is to recreate the TradingView indicator in MQL5 so that it produces the same calculations, plots, values, and signals as closely as possible. Requirements: Convert the TradingView Pine Script into an MT5 indicator (.mq5). Ensure the MT5 version matches the TradingView version as accurately as
EA WILL BE FOR GBPUSD ON M5 TIMEFRAME. IT IS A REJECTION/REVERSAL STRATEGY. IT FOCUSES ON BREAK OF LEVEL (M5 CANDLE CLOSE ABOVE HIGH, BELOW LOW (ASIA HIGH/LOW, YESTERDAYS HIGH/LOW, LAST WEEK HIGH/LOW, AND THEN ALSO SWING LEVELS BREAK AND REVERSALS BOTH INSIDE AND OUTSIDE PRICE ACTION) IN THIS STRATEGY WICKS ARE IGNORED, ONLY A SOLID CANDLE BREAK AND CLOSE AND REVERSAL CONSTITUTES AS A VALID TRADE. * EA TIME START +
1) The EA must identity CRT High and CRT Low ,,,,, it must wait for liquidity sweep before entering a trade ,,,to confirm the trade only after sweep and market structure confirmation and support buy and sell trades ,,,,risk. Should be adjustable (default 1% per trade) ,,stop loss should be placed beyond the liquidity sweep ,,take profit should be adjustable with risk reward from 1:2 to 1:5 ,,should allow trading only
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Overview I am looking for an experienced algorithmic trading developer to build a professional Expert Advisor (EA) for MetaTrader 5 and/or cTrader. The objective is to create a robust automated trading system focused exclusively on XAUUSD (Gold) . This project is intended for serious

Informazioni sul progetto

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