MT5 Expert Advisor – Manual Entry with Auto Hedge and Dynamic Lot Sequence

指定

MetaTrader 5 Expert Advisor

Manual Start – Auto Hedge – Dynamic Lot Sequence – Price-Based SL/TP


1. Platform & Account

- Platform: MetaTrader 5

- Account type: Hedging

- Broker: Exness

- Must work on Cent and Standard accounts

- Symbol: XAUUSD

- Must support different symbol digits automatically


2. First Trade (Manual Only)

- EA must NOT open the first trade

- First trade is opened manually by the trader

- Direction: Buy or Sell

- Lot size: chosen manually by the trader

- EA starts only after detecting this manual trade


3. Lot Sequence (Input Parameter Only)

Example:

LotSequence = "0.01,0.02,0.03,0.04,0.05,0.06,0.07,0.08,0.09,0.10,0.11,0.12,0.13"


Rules:

- EA detects which lot from LotSequence was used manually

- EA continues from the next lot in sequence

- Each Stop Loss -> next lot

- Any Take Profit -> reset to first lot

- If last lot is used and TP not hit -> stop opening new trades

- No martingale formulas

- No x2 / 4-3 logic

- No balance-based lot calculation


4. Stop Loss & Take Profit (Price-Based)

For XAUUSD:

- Take Profit = +4.00 USD price movement

- Stop Loss = -3.00 USD price movement


Must work on:

- Cent accounts (~4000 / 3000 points)

- Standard accounts (~400 / 300 points)


Use:

- SYMBOL_POINT

- SYMBOL_DIGITS

- SYMBOL_TRADE_TICK_SIZE

Do NOT hardcode points.


5. Core Trading Logic

- Manual trade gets TP +4.00 and SL -3.00

- At SL price place opposite pending order

  Buy -> Sell Stop

  Sell -> Buy Stop

- Pending order lot = next LotSequence value

- Pending order also has TP +4.00 and SL -3.00

- SL price is always the same as next pending order price


6. Stop Loss Continuation

- If SL is hit, pending order becomes market order

- EA moves to next lot

- EA sets TP/SL

- EA places next opposite pending order at SL price

- Continue until TP hit or LotSequence ends


7. Take Profit Reset

- If any trade hits TP:

  Close all open and pending orders

  Reset lot index to first lot

  Open new trade in TP direction with first lot


8. General Settings

- Magic Number input

- Slippage input

- Max Spread optional

- Enable/Disable EA


9. Technical Requirements

- Pure MQL5

- Clean, commented code

- No DLL

- No indicators

- No hidden logic


反馈

1
开发者 1
等级
(12)
项目
18
39%
仲裁
1
0% / 100%
逾期
1
6%
工作中
2
开发者 2
等级
(240)
项目
301
28%
仲裁
32
25% / 63%
逾期
9
3%
已载入
3
开发者 3
等级
(17)
项目
21
10%
仲裁
4
50% / 50%
逾期
1
5%
工作中
4
开发者 4
等级
(392)
项目
544
40%
仲裁
30
57% / 3%
逾期
57
10%
空闲
发布者: 11 代码
5
开发者 5
等级
(428)
项目
622
54%
仲裁
29
55% / 24%
逾期
6
1%
已载入
6
开发者 6
等级
(3)
项目
3
0%
仲裁
1
0% / 100%
逾期
0
空闲
7
开发者 7
等级
(321)
项目
499
19%
仲裁
33
42% / 30%
逾期
32
6%
已载入
8
开发者 8
等级
(21)
项目
28
4%
仲裁
4
25% / 0%
逾期
3
11%
工作中
9
开发者 9
等级
(102)
项目
158
21%
仲裁
23
9% / 78%
逾期
16
10%
工作中
10
开发者 10
等级
(15)
项目
34
24%
仲裁
4
0% / 50%
逾期
2
6%
工作中
11
开发者 11
等级
(3)
项目
6
67%
仲裁
1
0% / 100%
逾期
1
17%
空闲
12
开发者 12
等级
(265)
项目
595
35%
仲裁
64
20% / 58%
逾期
147
25%
空闲
发布者: 1 文章, 22 代码
13
开发者 13
等级
(23)
项目
24
67%
仲裁
0
逾期
1
4%
空闲
发布者: 2 代码
14
开发者 14
等级
(539)
项目
620
33%
仲裁
36
39% / 53%
逾期
11
2%
已载入
15
开发者 15
等级
(2)
项目
2
0%
仲裁
2
0% / 50%
逾期
1
50%
已载入
16
开发者 16
等级
项目
0
0%
仲裁
0
逾期
0
空闲
17
开发者 17
等级
项目
0
0%
仲裁
0
逾期
0
工作中
18
开发者 18
等级
(57)
项目
89
43%
仲裁
4
0% / 100%
逾期
3
3%
工作中
19
开发者 19
等级
(8)
项目
8
0%
仲裁
0
逾期
0
空闲
20
开发者 20
等级
(1)
项目
1
0%
仲裁
0
逾期
0
工作中
21
开发者 21
等级
(511)
项目
549
53%
仲裁
13
69% / 15%
逾期
3
1%
空闲
22
开发者 22
等级
(2626)
项目
3335
67%
仲裁
77
48% / 14%
逾期
342
10%
空闲
发布者: 1 代码
23
开发者 23
等级
项目
0
0%
仲裁
0
逾期
0
空闲
24
开发者 24
等级
项目
0
0%
仲裁
0
逾期
0
空闲
25
开发者 25
等级
项目
0
0%
仲裁
0
逾期
0
空闲
26
开发者 26
等级
(329)
项目
394
53%
仲裁
20
55% / 15%
逾期
28
7%
已载入
相似订单
🤖 A robot trading indicator typically requires specific parameters to function effectively. 📊 For Forex daily trading with a Moving Average (MA) focus and risk management, the indicator should include: MA type (e.g., Simple, Exponential), MA periods (e.g., 50-day, 200-day), risk management rules (e.g., stop-loss, take-profit), and signal logic (e.g., crossover, trend-following). The indicator should also account
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
Hello! I am looking for an experienced, top-rated developer to build highly profitable strategy software that provides accurate signals for both long-term and short-term trades. The software must analyse the market correctly, indicating when to enter and where to set Take Profit (TP) and Stop Loss (SL) levels. It must deliver accurate results across all markets, including Forex, cryptocurrencies, metals, indices, and
I want EA would work like a bot. I will share the box size on daily market for XAUUSD AND BTC . The bot should apply the same box size on charts and when super trend signals buy it should buy and when sell it should sell with quantity which will shared like 0.01 or 0.10 Secondly when the trade is executed it should carry till trailing SL as for example If supertrend gives Buy signal Entry done at 100 for example and
Symbol: Xauusd Timeframe: i want to choose Entry: 2 bullish candles in a row= buy order 2 bearish candles in a row= sell order Lotsize: i want to choose Tp 10 pips ( but i want to choose) Sl 50 pips ( i want to choose) I want to achieve 10 pips of profit every day. So if the first trade of the day is profitable, the ea will stop trading for the rest of that day. If the stop loss is hit, then I will need 6 winning
For only developer who understand Chaos/ Profiunity trading system by Bill WIlliams, Create The Profitunity System Trading based on Bill Williams Chaos theory, Trade based on Trend Affirmation in Daily, entry in H4, using Williams Fractal, Williams Alligator, Awesome Oscillator, Accelerator Oscillator, Market Facilitation Index. Balance Line, entry on Reversal, add on while market show continuation sign. Please quote
Hi, I am looking for someone who has already developed a high-performance Gold EA that can outperform the one shown in my screenshot. If you have such an EA, please apply for this job. Please describe how the EA works (for example, whether it uses a grid system) and provide backtest results along with the set files. If the EA meets my expectations, you can make the necessary adjustments and I will use it as my own
I am looking for a developer to create a trading robot (EA) to trade XAUUSD, NAS100 and SPX500. The rules are as follows: Buy when the 2 EMA crosses over the 10 EMA and price closes over the 50 ema. Sell when the 2 EMAs cross below the 10 EMAs and the price closes below the 50 EMAs. The take profit and stop loss can be adjusted by me selecting from a drop-down box. I am open to other parameters to optimize
Description I need an very low latency MT5 Expert Advisor (EA) developed in MQL5 to automate TradingView alerts into MT5 trades for alerts set up done on trading view. The EA must work on both DEMO and LIVE accounts whichever will be attached to MT5 (XM, IC Markets and similar MT5 brokers) and be suitable for fast 1-minute timeframe scalping.End to End solution. Functional Requirements 1. TradingView Integration

项目信息

预算
100 - 200 USD
截止日期
 5  10 天

客户

所下订单1
仲裁计数0