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

仕事が完了した

実行時間6 日
依頼者からのフィードバック
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-

指定

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.

 

ファイル:

応答済み

1
開発者 1
評価
(49)
プロジェクト
134
27%
仲裁
62
13% / 53%
期限切れ
58
43%
2
開発者 2
評価
(878)
プロジェクト
1391
67%
仲裁
117
32% / 42%
期限切れ
215
15%
3
開発者 3
評価
(3)
プロジェクト
4
0%
仲裁
3
0% / 100%
期限切れ
0
類似した注文
I would like to code this strategy in Sierra charts first to backtest and then to automate. How long does Sierra take to backtest 1 year of data on 1 minute bars? https://docs.google.com/document/d/1VmiDJjgV7BIuxFYN8kil7h1SbE6J6lMLyAlhd4xv-x4/edit
Hey greetings.i will like to convert my tradingview pinescript script to Metatrader 5 expert Advisor EA . Kindly apply for this job if you can convert my tradingview script for mt5 EA.Thanks
ETF arbitrage robot 30 - 50 USD
👋 Hey Great Developer, can you help me with my project did you trading bot for ETF that ES and NQ futures If you have recent one so i can check it I will be looking for great developer to bid for this project
I'm in need of an experienced Meta 4 expert who can solve two specific problems and improve the current Martingale and Pyramid strategies within my EA. - Bug Fix: The EA is currently facing an issue where orders are not being executed correctly. This is causing a signal matching error and leading to potential losses. The primary task is to resolve this bug and ensure the EA executes trades accurately and as intended
I am looking for an EA that allows you to make profits every month. For this, before buying, I would like to have a history over more than one year to see how the EA behaves. I don't know if you're selling EAs that are already ready for use
I need to resolve some bugs that my indicator presents and pass it to mql5 The task will be done alone and only through anydesk, it is my way of working, if you do not have a problem with it, write to me privately to start working
Hi all, looking for somebody to build me a trading bot. Something that is good. Fairly new to trading but I know the basics and how everything runs. Due to working a 9-5 looking for a bot to help out with trades and etc
I need an EA in based of this indicator. It have buffers. The owner told me it..., So I need an expert who can do this I will attached the file right now
HI, I'm looking for an experienced person who can add buy/sell indications and Alerts on existing Pinescript along with little modification of the script and the script should connect to MT5 platform using pineconnector MT5 platform should excute trade instantly as based on the alerts/indications on tradingview script
I am looking for someone who can convert two indicators I attached from MQL4 of Meta trader 4 to DLL format of Forex Tester version. 1.MACD_4_Colored_Hist_and_2_Lines.mq4 2.MACD_Overlay Its a pretty standard and common indicators. I want the exact functional/working replica of the indicator to converted into dll format to use in the Forex tester 4 software. (※For MACD_Overlay, Please modify default bar color to green

プロジェクト情報

予算
30 - 60 USD
開発者用
27 - 54 USD
締め切り
最高 3 日