Modifications to existing MT5 EA

MQL5 Indicators Experts

Job finished

Execution time 3 days

Specification

1.  I want function that will use the totalBuyLots and totalSellLots  to place trades when there is reverse trade direction. For example, if there is an open trade of buy, 0.1, 0.1, 0.1, then if the trade direction change to sell, meaning a sell trad is opened, then the totalBuyLots which now 0.3 will be used to open the sell of 0.3 lots. Same if a sell trade is opened first, then total lots will be used when direction changes to buy. I want a user input variable to limit how many times the total lots will be use before reset to the initial lots, for example, buy 0.1,0.1,0.1 then sell opened 0.3, another sell 0.3, 0.3, then reset to initial lot sell 0.1, 0.1. (Buy 0.1,0.1,0.1,Sell 0.3,0.3,0.3,0.1,0.1), that means totallots was used 3 times then reset, the sequence continues. The function should be turn on or off.

2. I want another function that is similar the the above one, but it instead of the totallots, it will be the floating loss profit of the chart symbol. The floating profit amount should be used to calculate that will be used for the reverse trade. For example, if the floating loss profit is at $50, the pip value relative to the lot that sums up $50 will be used calculate the lots to be used. So it is like using the floating equity to calculate the lot size.

  Both functions should use the magicNumber and chart symbol so it does not conflict when the EA is used in a different symbol.

3. Maxlot for each trade, by user input, should be able to turn it off or on.

4.  Add a trade timer delay, to delay when a next trade can be placed. The timer should be in minutes. It should be turned on or off


I will provide the EA within

 



Responded

1
Developer 1
Rating
(20)
Projects
32
9%
Arbitration
0
Overdue
0
Free
2
Developer 2
Rating
(282)
Projects
353
29%
Arbitration
37
27% / 65%
Overdue
10
3%
Loaded
3
Developer 3
Rating
Projects
1
0%
Arbitration
4
0% / 50%
Overdue
0
Working
4
Developer 4
Rating
(19)
Projects
31
32%
Arbitration
8
50% / 25%
Overdue
3
10%
Working
5
Developer 5
Rating
(44)
Projects
60
5%
Arbitration
6
0% / 67%
Overdue
5
8%
Free
6
Developer 6
Rating
(50)
Projects
64
20%
Arbitration
11
27% / 55%
Overdue
5
8%
Free
7
Developer 7
Rating
(24)
Projects
29
38%
Arbitration
2
0% / 0%
Overdue
2
7%
Free
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
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
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
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
calcVolume( void ) { //--- MqlRates rates[]; if ( CopyRates ( _Symbol , PERIOD_CURRENT , startTime, endTime, rates) > 0 ) { double rangeHigh = rates[ 0 ].high, rangeLow = rates[ 0 ].low; int count = MathAbs ( iBarShift ( _Symbol , PERIOD_CURRENT , startTime) - iBarShift ( _Symbol , PERIOD_CURRENT , endTime)) + 1 ; //---VERTICAL PRICE RANGE for ( int b = 0
Create an MT5 Expert Advisor (EA) for trading Gold (XAUUSD). The EA should provide BUY and SELL signals based on trend direction, market momentum, and price action. It should automatically place trades only when the entry conditions are met. Risk management: Use a small adjustable lot size. Include Stop Loss (SL) and Take Profit (TP). Include a maximum daily loss limit. Include a maximum number of open trades. Do not
Hello there, I am looking for a automated strategy for ninjatrader 5 Looking for a proven profit factor of 1.5 ( minimum ) on 15 mins time frame . I do MNQ futures I do not have the logic, but I like mean reverssion variable , plus RSI etc . that could make the automated tool robust and long lasting. i need fast response if you have

Project information

Budget
30+ USD
Deadline
to 1 day(s)