Need help with money management part of my EA

Trabalho concluído

Tempo de execução 22 horas
Comentário do cliente
very good developer!
Comentário do desenvolvedor
Easy to work with!

Termos de Referência

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
                             

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(365)
Projetos
412
36%
Arbitragem
35
26% / 57%
Expirado
63
15%
Livre
2
Desenvolvedor 2
Classificação
(620)
Projetos
680
57%
Arbitragem
25
16% / 60%
Expirado
228
34%
Livre
3
Desenvolvedor 3
Classificação
(1235)
Projetos
2820
80%
Arbitragem
156
22% / 43%
Expirado
487
17%
Livre
4
Desenvolvedor 4
Classificação
(52)
Projetos
133
44%
Arbitragem
14
50% / 29%
Expirado
55
41%
Livre
5
Desenvolvedor 5
Classificação
(647)
Projetos
1295
67%
Arbitragem
84
26% / 49%
Expirado
338
26%
Livre
6
Desenvolvedor 6
Classificação
(1931)
Projetos
3552
88%
Arbitragem
73
40% / 15%
Expirado
268
8%
Livre
Pedidos semelhantes
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
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

Informações sobre o projeto

Orçamento
50 - 100 USD
Prazo
de 2 para 5 dias