Hello,
I need an EA which will read a .txt file, which is generated and periodically updated by another software. Based on the data in this .txt file, EA will place pending orders in MT5 and afterwards will make some adjustments in that .txt file.
More details:
EA Inputs:
"a". Path to the .txt file
"b". Frequency of the update (in minutes; say every 5 minutes)
"c". Volume_lots (ideally there should be an option to choose different lot sizes for different currency pairs, we can further discuss how to implement)
EA logic:
1. Every "b" minutes check the "a" file
2. Go row by row in the .txt file, if there is "ord.opened" in the row #1, extract the following data from that row: Instrument, Order Type (it will be either buy stop or sell stop order) Entry Price, SL, TP and place first pending order with respective "c" volume.
3. Loop continues, EA goes to rows #2,3,4,5 until it finds second "ord.opened" in row #6, extracts the data and places second pending order.
4. Once there is no more "ord.opened" in the file, EA replaces all "ord.opened" to "ord.transferred" in that "a" .txt file
5. After all replacements are completed, EA waits next "b" minutes to go through that same "a" file
6. EA needs to keep own log of what has been completed.
Here is an extract from a typical .txt file, EA needs to ignore all other data and take into action only rows that contain ord.opened:
NZDJPY[07.08.2024 05:00:00] tcs.created #1L0[07.08.2024 04:00:00] ALB= 5.5923454841686744, La= 85.416, Lb= 81.404, f1= 4.112, f2= 2.224; dval= 8.8372100787898464; Bid N bar: 1732992400000[2024-08-07 01:00:00.000+0000] O: 86.194 C: 87.364 H: 88.824 L: 86.988 V: 20900.54
NZDJPY[07.08.2024 05:00:00] tcs.accepted #1L1[07.08.2024 04:00:00] ALB= 2.5923454841686744, La= 86.416, Lb= 86.404, f1= 0.112, f2= 0.224
NZDJPY[01.01.1970 02:00:00] ord.opened #1L1.1.SELLSTOP_BYASK[01.01.1970 02:00:00] Price= 86.528, SL= 87.528, TP= 84.65, Amount= 0.300000, BE= 115.264
NZDJPY[01.01.1970 02:00:00] ord.opened #1L1.2.SELLSTOP_BYASK[01.01.1970 02:00:00] Price= 86.926, SL= 87.926, TP= 84.65, Amount= 0.300000, BE= 113.044
NZDJPY[07.08.2024 05:00:00] ord.modified #1L1.1.SELLSTOP_BYASK[07.08.2024 05:00:00] Price= 86.528, SL= 87.528, TP= 84.65, Amount= 0.306000, BE= 115.264
NZDJPY[07.08.2024 05:00:00] ord.modified #1L1.2.SELLSTOP_BYASK[07.08.2024 05:00:00] Price= 86.926, SL= 87.926, TP= 84.65, Amount= 0.306000, BE= 113.044
GBPUSD[13.08.2024 10:00:00] tcs.created #1L0[13.08.2024 09:00:00] ALB= 2.001332726501847032, La= 1.27768, Lb= 1.27758, f1= 2.1E-4, f2= 3.0E-5; dval= 2.120512508433541; Bid N bar: 1703528800000[2024-08-13 06:00:00.000+0000] O: 1.27811 C: 1.28035 H: 1.28094 L: 1.27811 V: 6809.91
GBPUSD[13.08.2024 10:00:00] tcs.accepted #1L1[13.08.2024 09:00:00] AlB= 1.001332726501847032, La= 1.27768, Lb= 1.27758, f1= 2.1E-4, f2= 3.0E-5
GBPUSD[01.01.1970 02:00:00] ord.opened #1L1.1.SELLSTOP_BYASK[01.01.1970 02:00:00] Price= 1.27789, SL= 1.29126, TP= 1.2767, Amount= 0.200000, BE= 1.32126
GBPUSD[01.01.1970 02:00:00] ord.opened #1L1.2.SELLSTOP_BYASK[01.01.1970 02:00:00] Price= 1.27824, SL= 1.29179, TP= 1.2767, Amount= 0.200000, BE= 1.3179
GBPUSD[13.08.2024 13:37:21] ord.filled #1L1.2.SELL[13.08.2024 10:00:00] Price= 1.27816, SL= 1.29179, TP= 1.2767, Amount= 0.200000, BE= 1.3179
Ähnliche Aufträge
I would like to be part of this trade because i want to help my family out of the hopeless life we are living now . i thoughts going to school will help me get better job but no i am still sitting for us to eat at home i have to sell my body to someone and get pay with that small money i can buy bread and cooldrink for my family that we can not sleep with emyter stomach
I need an Expert Advisor that trades by signal of ADX and Moving Average indicators. It must check and correctly process possible errors in trading operations. The main criteria of opening and closing positions , direction of Moving Average, Price of last bar . Set the number of lots to trade as an input parameter
I need you to develop an MT5 Expert Advisor (EA) in MQL5 specifically for BTCUSD , primarily trading on the 1-minute timeframe (M1) . The goal is to build a professional, rule-based automated trading system that trades strong impulsive BTCUSD moves in the direction of the trend , while using strict risk and money management. 1. CORE STRATEGY The EA should NOT randomly buy or sell. The basic sequence should be: Trend
seller must provide the following to be considered... i will answer to all who fit this description, and can purchase more than 1 EA... - brief strategy description - overall EA expectancy - 1 week limited trial version, with whatever settings you consider best (can be blocked on demo, i don't really care) - investor password from a reputable broker (if history is available... live / demo, same thing, doesn't really
Expert Needs to integrate Volume Density ( Ticks Per Point ) Adaptive Volume Baseline ( Apply with experience ) , Order Flow Tick Volume Based ( required integration is for smooth execution ) , Every other requirement already exists by the expert , True Objective : To identify the true transition from Accumulation to Expansion/Distribution leading to Breakout capturing participation while eliminating false breakouts
I need a professional XAUUSD signal indicator for MetaTrader 5, written entirely in MQL5 (.mq5). IMPORTANT: This is NOT an auto-trading EA. It must never open, close or modify trades. It only analyzes XAUUSD and generates signals + MT5 push notifications. 1. Multi-timeframe analysis: H4 → H1 → M30 → M15 → M10 → M5 → M1. 2. Detect market structure: - Swing High / Swing Low - BOS - MSS - CHOCH - Bullish/Bearish HTF
Hi. I am looking for an experienced MQL5 developer for an advanced XAUUSD MT5 indicator. Before choosing a developer, I would like to see a small proof-of-concept or an example of a similar indicator you have already developed. My final indicator must be written from scratch in MQL5 and I must receive the complete .mq5 source code + compiled .ex5 . Main requirements: XAUUSD MT5 / MQL5 Indicator only — NO AutoTrading
Title: Advanced XAUUSD MT5 Indicator – MQL5 Source Code Required I need a professional MT5 indicator written from scratch in MQL5 (.mq5) for XAUUSD. The indicator must be signals/analysis only — AutoTrading must remain OFF . I need the complete editable .mq5 source code, not only an .ex5 file. The system should analyze multiple timeframes: H4 → H1 → M30 → M15 → M5 → M1 . Required logic: Higher-timeframe
I need a professional XAUUSD signal indicator for MetaTrader 5, written entirely in MQL5 (.mq5). IMPORTANT: This is NOT an auto-trading EA. It must never open, close or modify trades. It only analyzes XAUUSD and generates signals + MT5 push notifications. 1. Multi-timeframe analysis: H4 → H1 → M30 → M15 → M10 → M5 → M1. 2. Detect market structure: - Swing High / Swing Low - BOS - MSS - CHOCH - Bullish/Bearish HTF
We are looking for an experienced MQL5 developer who also has real trading experience to build our existing trading strategy into a fully automated MT5 Expert Advisor (EA). We already have our entry and exit trading rules documented . We are not looking for someone to invent a strategy for us. We need someone who understands trading well enough to understand our rules, discuss them with us in normal trading terms