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
2
Developer 2
Rating
(878)
Projects
1390
67%
Arbitration
117
32% / 42%
Overdue
215
15%
Free
3
Developer 3
Rating
(3)
Projects
4
0%
Arbitration
3
0% / 100%
Overdue
0
Free
Similar orders
Where/How to request Oanda retail open positions? I've tried through with a Oanda API and requesting this way; url= " https://api-fxpractice.oanda.com/v3/instruments/AUD_USD/positionBook " but I get result different results (see attached pic). If someone is able to replicate/ make some similar to this indicator, im willing to pay
Create a MT5 EA based on certain strategy creating a proprietary automatic trading strategy for our private investment portfolio. This is a unique opportunity to work on an exclusive project that demands creativity, strategic thinking, and a deep understanding of financial markets. Project Description: We are looking for a developer to design and implement an advanced automatic trading strategy tailored to our
I like to put 4 input to the EA. symbol 1, symbol 2, symbol 1 lot, symbol 2 lot. When the EA wants to open buy position, close all positions then buy on the symbol 1 and sell on the symbol 2. When the EA wants to open sell position, close all positions then sell on the symbol 1 and buy on the symbol 2. Thank you
Hello everyone, As you can read from the title, I'm looking for a specific program, that based on the trading history of an EA, It is able to guess the entry rules, testing many different indicators, or using machine learning models. I Know that software able to randomly generate strategies, like StrategyQuant exist, but they don't work in reverse. The idea started from an old post here on MQL5, where a user asked
Hi, are you able to convert TOS thinkscript to Tradingview pinescript? I will be looking for great developer to bid for this project https://docs.google.com/document/d/1V8rxS1JG_hfcXqBIChJ9GXdVQ11fxBrlpAxwNA9zhZA/edit The code is already attached to the project Best regards
Hello, I am looking for a coder who could translate or convert two (2) MT4 indicators (.mq4 file, source code available) to two (2) indicators in TradingView's Pine Script. It should be exactly the same indicators, with the same inputs and other settings. Once you complete the job, you will send me the indicators, with full source code for Pine Script. This work will remain confidential. There is a currently publicly
Hello, I am looking know when market in the exact moment start making a big impulse , I need it an indicator or something else that tell me when this will occur
Just need compile, fix error and install quick setup on my machine with to trade in indicators standard of ninja you should see what is on the code and you will know. I need a developer who can carry out this task successfully. Kindly respond to this
Dear Developer, I need you to create fxdreema project (EA) to implement a multicurrency math based trading with multiple entry modules. the system will be trading on daily basis with extra confirmation with some math from the higher TF, i use percentage of variation between candle close for a specific candles count like from the start of the day for M5 TF and also there will be some extra math to get the power of the
Hi i have 3 indicators that are mq4 file what i would like to do is to let these indicators become one and get arrow signals for them let me know if that can be done , the first indicator is super smoother line with period 14 with color line, the next indicator is a another smoother indicator that breaks out when a trend begins and the last is 2 moving average line that crosses each other to give arrow signals. I

Project information

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