Need help with money management part of my EA

仕事が完了した

実行時間22 時間
依頼者からのフィードバック
very good developer!
開発者からのフィードバック
Easy to work with!

指定

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
                             

ファイル:

応答済み

1
開発者 1
評価
(365)
プロジェクト
412
36%
仲裁
35
26% / 57%
期限切れ
63
15%
2
開発者 2
評価
(620)
プロジェクト
680
57%
仲裁
25
16% / 60%
期限切れ
228
34%
3
開発者 3
評価
(1235)
プロジェクト
2820
80%
仲裁
156
22% / 43%
期限切れ
487
17%
4
開発者 4
評価
(52)
プロジェクト
133
44%
仲裁
14
50% / 29%
期限切れ
55
41%
5
開発者 5
評価
(647)
プロジェクト
1295
67%
仲裁
84
26% / 49%
期限切れ
338
26%
6
開発者 6
評価
(1931)
プロジェクト
3552
88%
仲裁
73
40% / 15%
期限切れ
268
8%
類似した注文
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

プロジェクト情報

予算
50 - 100 USD
締め切り
最低 2 最高 5 日