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
Ordini simili
// Simple EMA Bot input int FastEMA = 9; input int SlowEMA = 21; void OnTick() { double fast = iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,0); double slow = iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,0); if(fast > slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_BUY,0.01,Ask,10,0,0); } if(fast < slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_SELL,0.01,Bid,10,0,0); } }
mport pandas as pd import numpy as np def detecter_tendance(data): # Code pour détecter la tendance pass def identifier_niveaux(data): # Code pour identifier les niveaux de support et de résistance pass def calculer_stop_loss(tendance, support, resistance): # Code pour calculer les stop loss pass def calculer_profils(tendance, support, resistance): # Code pour calculer les profils mport pandas as pd
I need modifications and restructuring of an existing MetaTrader 5 Expert Advisor (MQL5) . The current EA works with only one filter for trade entry. I need it redesigned to support 10 optional filters , with flexible configuration and improved Renko logic. I will provide the full .mq5 source code . The EA currently opens trades only when the selected filters agree in direction. 1) 10 Optional Filters System The EA
Seeking an experienced quantitative developer to build a custom, AI-powered Telegram signal parsing and trade execution system. The goal is to automatically copy trading signals from multiple Telegram providers to MetaTrader 5 with ultra-low latency and intelligent signal interpretation. Body: Looking for an experienced developer to build a custom signal copier system. Skills Required: - MQL5 / MetaTrader 5
I need a hft bot that works well on live market. I have tested some bot and they only perform on demo market. If you have any one that is profitable in the live market, pls send a message. I will need to test it before paying. Pls make sure the bot is profitable in LIVE MARKET
looking for create ea for mt4 or mt5 which for gold which open buy and sell stop order on previous day high and previous day low , after enter the trade it will trail aggressively. need optimization and back test report. have selectable profiles for gold, forex and index. selection for trade based on fixed lot or equity base
I am looking to purchase a ready-made, proven Multi-Currency Expert Advisor MT5 (EA) from a developer/vendor. I do not have a custom strategy yet — I want to acquire a completed EA product that already trades multiple currency pairs (ideally with configurable risk management and trade management features). This is a purchase (not a custom build). What I Want ✅ EA Must Trade Multiple Instruments (Portfolio) Trades
I want a bot like the one uploaded in the video.Urgently and as soon as possible, I need a professional who can create something like what I uploaded in the video
I need an Expert Advisor based on AOX signals. It must have check and handling of trade operations errors. The main criteria for opening and closing a position: * moving average direction *the price is higher than the previous bar. Trade lots is an input parameter
Dear Developers, I am seeking a professional developer to build an institutional-grade automated trading system that operates exclusively using pending orders, with advanced and fully customizable trade management logic. This is not a basic Expert Advisor. The goal is to create a structured, intelligent, and long-term trading system with clean architecture and professional execution standards. Project Requirements