EA that read trades from local CSV

Job finished

Execution time 26 days

Specification

want you to build an Expert Advisor (EA) for MetaTrader 5 that reads a .csv file from my local PC and executes trades based on the data in that file. The EA must support both market and pending orders and offer flexible risk management, trailing stop options, and slippage control. All these functions are part of mql5 core codes

Core Requirements

1. CSV-Based Order Input


  • The EA should periodically read a CSV file (from local mql5/files) 
  • Columns (CSV headers) must include all the parameters needed to define a trade, including:
    • Order Type (Market Buy, Market Sell, Buy Stop, Sell Stop, Buy Limit, Sell Limit)
    • Symbol
    • Entry Price (ignored for market orders)
    • Stop Loss (in price or pips)
    • Take Profit (in price or pips)
    • Lot Sizing Method (Fixed, % Risk, $ Risk, $/Pip)
    • Risk Value (depending on the method)
    • Min Lot Size
    • Max Lot Size
    • Slippage (in pips)
    • Trailing Stop Type (None, Fixed, Break-Even, Manual Activation)
    • Trailing Stop Value (in pips)
    • Trailing Activation Level (if applicable)
    • Break-Even Buffer (if applicable)
    • Magic Number (optional)






2. Lot Sizing Methods (Selectable Per Trade)



The EA must support the following options (based on the “Lot Sizing Method” and “Risk Value” columns in the CSV):


  • Fixed Lot Size
    User specifies lot size directly (e.g., 0.10).
  • % Risk of Balance/Equity
    Lot size = (Risk% × Balance or Equity) / (SL in points × point value)
  • Fixed $ Amount Risk
    Lot size = Dollar Risk / (SL × value per pip)
  • Dollar per Pip
    Lot size = ($/pip) / (value per pip per lot)
  • Min/Max Lot Size Boundaries
    Enforced regardless of the calculation method.






3. Trailing Stop Options



The EA must support these trailing stop strategies:


  • Fixed Trailing Stop: SL follows price at a fixed distance.
  • Break-Even: SL moves to entry (optionally plus a buffer) once the trade is in profit by a certain number of pips.
  • Manual Trailing Activation: Trailing begins only after price moves a defined number of pips into profit.






4. Slippage Handling



  • The EA should respect a Maximum Slippage value per trade (defined in pips in the CSV).
  • This is used in the slippage field of the MqlTradeRequest.

The csv will alway look like this, “ Order Type,Symbol,Entry Price,Stop Loss,Take Profit,Lot Sizing Method,Risk Value,Min Lot Size,Max Lot Size,Slippage,Trailing Stop Type,Trailing Stop Value,Trailing Activation Level,Break-Even Buffer”

Responded

1
Developer 1
Rating
(253)
Projects
316
29%
Arbitration
34
26% / 65%
Overdue
10
3%
Free
2
Developer 2
Rating
(163)
Projects
258
61%
Arbitration
4
50% / 25%
Overdue
10
4%
Free
3
Developer 3
Rating
(77)
Projects
243
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
4
Developer 4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
5
Developer 5
Rating
(5)
Projects
5
60%
Arbitration
1
0% / 0%
Overdue
2
40%
Free
Published: 1 code
6
Developer 6
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
7
Developer 7
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
8
Developer 8
Rating
(452)
Projects
565
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Working
Published: 6 codes
9
Developer 9
Rating
(171)
Projects
195
42%
Arbitration
13
8% / 54%
Overdue
9
5%
Free
Published: 3 codes
Similar orders
Alphapipfx 30+ USD
Sniper Strategy EA -Presicion Forex Trading Bot for MT4 and MT5 Sniper Strategy EA is a fully automated Expert Advisor that executes high-probability forex trades using EMA 50/200 trend detection, RSI 14 momentum filtering, and automatic Support and Resistance zone identification. This bot does not chase price — it waits for price to come to key levels and confirms with multiple indicators before entering, just like
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy

Project information

Budget
30+ USD