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
(879)
Projects
1392
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
Hello. I would like to get a TOS script converted to Tradingview for my alerts. I’m haven’t a hard time getting my entry point because the script does not fire off alerts on thinkorswim. I will send the script so you can see if it’s possible
Converting the "vbox indicator" to Sierra Chart. The code will be attached upon request when applied. The links as well. The first link I believe is the one for this indicator. The video is regarding the concept itself. If anything I am more interested in the main stuff and not the EMA clouds and extra things. Thanks
The requirements for the order of robots XAUUSD and XAGUSD EURUSD forex in the STOP loss TAKE profit signal in this order, you can bring benefits to the changes in the market, that is, when the market changes frequently, it will also help to prevent losses and bring great profits all work to trade high and low python line position
I'm seeking a C# developer with Quantower experience to assist me in exporting data from the Option Analytic panel in real-time via an API. This data will be exported based on a window app, not a web app. You can review the document at the following link : . https://github.com/Quantower/Examples/blob/master/IndicatorExamples/GetOptionsInfo.cs Please check it before bidding NOTE : - Quantower is an app, not web
hello, I need quick help with ninjatrader tool, market replay is not updating candles on chart, even though time is updating on playback window. I need someone who can help remotely to see what is issue. are you available
QuantumTrader 30 - 200 USD
Request for development of machine learning robots for MetaTrader 5 (MT5) **Description**: Willing to develop experience in programming trading robots using MQL5 language and can learn machine learning on MetaTrader 5 (MT5) platform. The robot should be able to implement a multidisciplinary strategy on a set of technical indicators and multiple rules. I need to develop the robots so that they can work in an
The goal is to develop a system that mirrors trade actions (Buy/Sell) from a CTrader demo account on Cronos Markets to multiple prop firm accounts on TradeLocker, ensuring accurate replication of trades while adjusting risk proportionally. I was wondering if you could help me with copy trading an EA’s action on Cronos markets (uses CTrader) into a prop firm account that I bought with TooOne Trader (uses TradeLocker
Hey Greeting Am in need of Tradingview Developer that can combine existing Tradingview indicator to develop a strategy based on my conditions The Source code of those Indicator is available with me. Kindly bid and let proceed with the project Thanks
Dear developer, I want a working code to close open and pending orders on IG.com through python. when applying send me a sample video of the code closing orders on IG.com should be delivered within 2 days (please let me know) Serious coders please
A. PROJECT OVERVIEW I am seeking an Expert Advisor (EA) that will simplify the process of entering multiple trade layers in the form of stops or limits based on specified price ranges. As I am not with my PC all the time, I would want to execute the EA using Telegram. B. KEY FEATURES 1. Telegram Integration - May execute functions from Telegram 2. Layering Capability - The EA will support the opening of 5 to 50

Project information

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