Need help with money management part of my EA

Job finished

Execution time 22 hours
Feedback from customer
very good developer!
Feedback from employee
Easy to work with!

Specification

I created EA that enters the trade based on combination of basic indicators. Rules for entering trades are already coded. I need to make few improvements in money management part. 

Rules for money management, that needs to be coded:

1. set StopLoss as 1.5*ATR (period 14) - have to work for 5 and 3 digits symbols
2. set first TakeProfit as RRR*SL (RiskRewardRatio is input value from user, if SL = 100 pips, RRR = 2, then TP should be 200 pips)
3. set lot size as risk % from balance or as fixed value (user choose which one to use, there need to be input for fixed value and for %)

There will be 2 ways of managing opened trades (there have to be only one opened trade at a time):

1. MANAGING WITH OPPOSITE SIGNAL: close opened trade when opposite signal appears

2. MANAGING WITH TRAILING STOP AND PARTIAL CLOSE: when first TP is hit close 50% of position (for 0.01 lots close whole position, for odd numbers close rounded up lots, i.e. for 0.03 close 0.02, for 0.09 close 0.05 etc.)
                                after closing 50% move StopLoss to BreakEven (including spread). So rest of the position will be closed by trailing stop or by opposing signal. 
                                
                                move StopLoss by x pips, when price move in order direction from first TakeProfit by x pips (x is defined as user input)
                                
  Example for trailing stop: SELL order opened, first TP hit, 50% of order is closed and SL is moved down to BreakEven. Price move down from first TP by 20 pips, so SL is moved from BreakEven by 20 pips down
                             

Files:

Responded

1
Developer 1
Rating
(365)
Projects
412
36%
Arbitration
35
26% / 57%
Overdue
63
15%
Free
2
Developer 2
Rating
(620)
Projects
680
57%
Arbitration
25
16% / 60%
Overdue
228
34%
Free
3
Developer 3
Rating
(1235)
Projects
2820
80%
Arbitration
156
22% / 43%
Overdue
487
17%
Free
4
Developer 4
Rating
(52)
Projects
133
44%
Arbitration
14
50% / 29%
Overdue
55
41%
Free
5
Developer 5
Rating
(647)
Projects
1295
67%
Arbitration
84
26% / 49%
Overdue
338
26%
Free
6
Developer 6
Rating
(1931)
Projects
3552
88%
Arbitration
73
40% / 15%
Overdue
268
8%
Free
Similar orders
Please read the full post before replying . I am looking for an experienced Forex EA developer with strong trading-system reverse engineering experience for two separate EA projects. This is not a basic EA programming job . I specifically need someone who has real experience analyzing an existing trading system, understanding its trading logic and behavior, and developing an EA based on that analysis. 🔹 Work 1 —
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
I need an experienced MQL5 developer to build a prototype MT5 Expert Advisor called RiskLock. The software should enforce user-defined trading risk rules before trades are executed. It should support risk percentage or fixed monetary risk, calculate position size using account equity, entry price, stop loss, tick value and contract specifications, block or reduce oversized trades, and include daily loss limits
Project Overview I have an existing MT5 Expert Advisor (EA) written in MQL5. The source code ( .mq5 ) will be provided. The underlying strategy is a trend-following system that performs well during trending market conditions, but requires professional quantitative research to improve its ability to identify and avoid highly sideways/range-bound market conditions. The objective of this project is not to build a new EA
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Title: Simple background trading bot for my Oanda account (v20 REST API) Overview Hi, I need a simple, lightweight event based standalone trading bot that connects directly to my Oanda account using broker’s standard REST API (V20 account) via VPS The bot just needs to look at group of 5 currency pairs (manually selectable and adjustable) in different 4 baskets, do some basic percentage math every period, and place
Gold hunter v5 30+ USD
*TITLE:* 5 Trades EA - EMA20/50 + RSI - Safe for Small Account *SPECIFICATION:* I need MT5 EA - Source Code .mq5 *Logic:* Buy: EMA20 > EMA50 and RSI(14) 45-70 Sell: EMA20 < EMA50 and RSI(14) 30-55 Timeframe M15, Symbol XAUUSD and all Forex *Trade Management:* Max 5 trades at same time. Fixed lot 0.01. No martingale. No lot increase. Distance between trades 150 points. Do not open all 5 at same price. Max 5 total
I need an Expert Advisor (EA) developed for MetaTrader 5 (MT5) tailored for trading on Exness accounts. Account & Server Details: Trading Platform: MetaTrader 5 (MT5) Broker: Exness Execution Type: Market / Pending Orders Account Type: [Specify: Standard / Pro / Raw Spread / Zero] Target Instruments: [Specify pairs, e.g., XAUUSD, EURUSD, BTCUSD] Strategy Requirements: Entry Rules: [Insert your buy/sell entry

Project information

Budget
50 - 100 USD
Deadline
from 2 to 5 day(s)