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
Ähnliche Aufträge
Attached Files Can be used for reference. Please thoroughly understand the requirements and mql5 & set files before accepting the request. 1. Only Accept the job request if you are able to complete on time 2. I want you to show me demo of the Bot created and tested in Demo account for at least 3 days 3. I want you to show me the back tested results for last 5 years 4. 2 bots Need to be created Bot 1 with attached
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
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 an experienced MT4 Expert Advisor developer to help backtest and optimize an existing EA for prop firm trading . The EA currently trades Gold (XAUUSD) on M1/M5 , and the goal is to make it low-risk, stable, and prop-firm friendly , while also identifying a more aggressive preset for evaluation phases
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
Project Overview I am looking for an experienced MQL5 developer to build a custom, prop-firm-compliant trend-following Expert Advisor (EA) for MetaTrader 5 . This EA will be used on prop firm accounts (e.g., FTMO-style rules), so strict risk control and rule compliance are mandatory . This is NOT a grid, martingale, scalping, or recovery EA. The goal is consistency, rule compliance, and capital preservation , not
I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive explanation of the strategy utilized by your EA, along with a demo version that has a 30-day expiration. This will facilitate extensive back testing and forward