Need a script to scan a directory on my HDD and open an order based on the file information created in the directory.

MQL5 Experts Scripts C++ C# Forex

Job finished

Execution time 6 days
Feedback from customer
Professional. Prompt. Developer was very clear in communicating and understanding the needs for the project. He coded the solution and made updates at my request. Great to work with. Thank you-

Specification

SCRIPT NAME:  Active Trader Bot.

 

PROJECT GOAL:  Create a script or EA that will scan a directory for new text files.  Once a text file is created in the directory, the script will immediately read the file information and open an order in MetaTrader 5.  The script will screen and regulate how many orders are opened at any given time. The script will not open too many orders at one time. All files created in the folder will be processed .

 

DETAILS: The script needs these settings for the user to screen and regulate how many files are used to open orders. The following settings will be available to the user:

 

1.   A button on the chart to enable or disable the script and show that the script is running.

2.   The script will empty the directory when the script is first enabled. No existing files will be used to open orders. These will be moved to old files directory below.

3.   Setting for Scan Directory to scan for .new files.

4.   Setting for Secondary Directory to move scanned files to (.old and .opn).

5.   Settings to restrict how frequently orders are opened:

a.   Setting for How many orders to open at one time.

b.   Setting for How many orders to open per X minutes.

c.   Setting for Minimum Margin % Level required to Open orders.

d. Setting for order size.

 

 

 

The script will watch a directory where the files are being created. The script will determine if the condition settings above are true to open an order. If the above conditions are true the script will read the file and open an order.   If the above conditions are false the script will not open an order.  After the files have been read by the script the files will be renamed and moved to another directory.  Files that are used to open an order will be renamed to .OPN extensions and files that are not used to open an order will be renamed to .OLD.

 

The filename will be in this format:

PAIR-DATE-TIME-POSITION-STOPLOSS-TAKEPROFIT-RANDOMCODE.new

 

The file contents will be in this format: 

PAIR, DATE, TIME, POSITION, STOPLOSS, PROFIT

 

EXAMPLE Filename: 

USDJPY-20180911-214300-BUY-150-50-1KU53I.new

 

EXAMPLE File Contents:

USDJPY, 20180911, 214300, BUY, 150, 50

 

If the above settings to regulate orders are true, the file is used to open an order. After the order is opened, the scanned file will be renamed to .OPN and moved to the second directory. For example:

USDJPY-20180911-214300-BUY-150-50-1KU53I.opn

 

If additional files are created and the above settings to regulate orders are false, the script will rename and move the file to the second directory and rename the file with .OLD. For example:

USDJPY-20180911-214400-BUY-150-50-ON3M26.old

 

The stop loss and take profit information is shown in points and not pips.  50 equals 5 pips and 150 equals 15 pips.  If the file contents have 0 for stop loss or take profit then no stop loss or take profit will be set.

 

Files:

Responded

1
Developer 1
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
Published: 232 articles, 1 code
2
Developer 2
Rating
(885)
Projects
1410
67%
Arbitration
121
32% / 40%
Overdue
218
15%
Free
Published: 1 code
3
Developer 3
Rating
(3)
Projects
4
0%
Arbitration
3
0% / 100%
Overdue
0
Free
Similar orders
Project Proposal: Automated Forex Trading Bot with In-built Currency Strength / Index Scanner Overview I am seeking a developer to design and build an automated forex trading bot that uses an integrated currency-strength (forex index) scanner to identify and trade pairs where one currency shows clear strength and the other shows clear weakness. The bot must follow the direction of the stronger currency
Hello! I'm having issues with withdrawing from mql5, and I desperately need assistance. Could someone please help me resolve this problem so I can successfully withdraw my funds? I'd greatly appreciate the support and guidance
I need an experience programmer to review the coding and logic of my EA, remove the bugs identified along with all the irrelevant coding. I also need a new feature to be added to be used as a filter
Looking for someone to design EA to deliver high-probability trades (~90% win rate) with low drawdown (~3%) using AI, multi-timeframe SMC/ICT logic, and advanced risk management. Please share your previous work. 1. Core Strategy Entry Logic: Trades primarily on 5M timeframe HTF Zones (4H) : Order Blocks (OB), Fair Value Gaps (FVG), Equilibrium Zones (EQ) 1H OB Conflict Validation to avoid high-risk areas Full HTF
1. Trading Logic Supertrend Indicator : Inputs: ATR Period, ATR Multiplier, Timeframe. Signal is generated when the Supertrend line flips direction. Buy Condition: When price closes above the Supertrend line and the Supertrend flips from bearish (above price) to bullish (below price). EA opens a Buy order. Sell Condition: When price closes below the Supertrend line and the Supertrend flips from bullish (below
EA require 50+ USD
Hello I have an EA that i am looking to develop similar one, i also have a strategy but not sure, what do you suggest? are you able to utilize those data to create similar one EA or not? I can share files if you require Regards
EASE IF THERE IS A DEVELOPER FROM AUSTRALIA WHO KNOWS ABOUT THE PROJECT BELOW. HE KNOWS HIMSELF, PLEASE MAY I KINDLY ASK THAT HE GET BACK TO ME PLEASE. IF NOT, I ALSO NEED SOMEONE WHO WILL DO THE WORK FIRST AND THEN CREATE A BUILT-IN DEMO INDI AS PER SPECIFICATIONS BELOW WHICH HAS AN EXPIRY (A DAY OR 2) SO THAT I TEST THE INDI BEFORE WE CREATE THE ORDER. I HAVE HAD PEOPLE WHO PRESSURE ME TO CREATE THE ORDER AND THEN
I need someone who can get a very profitable set-file for my EA I have an EA which opens trade based on the account % equitity and SL and TP also based on the balance , i need someone who can get best inputs numbers and set files to prepared based on account balance
Work on gold , oil , btc pairs. trail SL with last low & highs of market with control of lot size daily targets . my script is having long SL but trailing is available. news filter & time setting to trade
Category: Expert Advisors Platform: MetaTrader 5 Budget: $400 (fixed) Description: Looking for an experienced MQL5 developer to build a high-performance scalper EA for MT5 designed to for using on active private accounts and to pass a prop firm challenge within 2 weeks while fully complying with prop firm rules (daily drawdown, max loss, profit target). This is a paid job with a strict requirement for **full source

Project information

Budget
30 - 60 USD
For the developer
27 - 54 USD
Deadline
to 3 day(s)