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 XAUUSD EA | //+------------------------------------------------------------------+ input double LotSize = 0.01; input int StopLoss = 500; // in points input int TakeProfit = 1000; // in points input int MAPeriod = 20; int maHandle; int OnInit() { maHandle = iMA(_Symbol, PERIOD_H1, MAPeriod, 0, MODE_SMA
Hello, I need a Python-based MT5 forex trading bot developed. The bot should connect to MetaTrader 5, execute trades based on a predefined strategy, and support standard risk management features such as stop loss, take profit, and position sizing. Requirements: MT5 integration using Python Automated trade execution based on provided strategy rules Configurable risk management settings Support for major forex pairs
Hi, I'm Barak, founder of FX Trade Africa, a trading automation company based in Africa. I'm looking for a serious EA developer for a long-term business partnership — not a one-time paid job. IMPORTANT: This is not a paid order. I am looking for a long-term partner who believes in the model and wants to build something serious together. Compensation will be based on profit sharing from funded accounts — details
### ** Main EA File** - `InstitutionalTrendPullbackScalper.mq5` **Core Features Implemented:** **Multi-Timeframe Analysis** - M15 trend filter (EMA20 > EMA50 for uptrends) - M5 entry signals with 5-condition confirmation - Independent indicator sets for both symbols **Advanced Entry Logic** - RSI reversal detection (crosses thresholds) - Price pullback zone validation - Bullish/bearish candle close confirmation -
I need developer who Can perfectly build me a layout of Ninjatrader 8 (NT8) to look and feel the same on SierraCharts? I currently use NT8 but I want to start using SierraCharts because its more robust than NT8, but I don't want to have to worry about programming SierraCharts. How much would this cost? Thank you
i want a trading bot that take trade auto and make 5% profit daily and stop with in 24 hours not more then that at least the bot give me more then 2% not less then that like a ai agent if it make any loss that agent have to take care of it i need only 5 % profit
I am looking for an EA for MT5 which is stable for long period. should make minimum 20% per month and DD should be less than 10% first send me your backtest reports for last 5 years with real ticks. budget is negotiable based on the quality of the EA. source code should be delivered at the end. Please dont apply without sending backtest report as mentioned above, in other case offers would be rejected
I do not have any startegy, and I want you to create one with your experience, you will provide me EA along with source code. you may use Grid or any logic, but the EA should keep generating profit during Newyourk and Asian session
I am looking for an experienced MQL5 developer to build a professional-grade Expert Advisor (EA) for MetaTrader 5. The strategy is based on liquidity sweeps, market structure (Break of Structure), and institutional concepts (order blocks), specifically optimized for XAUUSD (Gold). This is not a basic bot. I need a structured, optimized, and reliable system suitable for live trading after testing
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation