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

Trabajo finalizado

Plazo de ejecución 6 días
Comentario del Cliente
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-

Tarea técnica

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.

 

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(49)
Proyectos
134
27%
Arbitraje
62
13% / 53%
Caducado
58
43%
Libre
2
Desarrollador 2
Evaluación
(878)
Proyectos
1391
67%
Arbitraje
117
32% / 42%
Caducado
215
15%
Libre
3
Desarrollador 3
Evaluación
(3)
Proyectos
4
0%
Arbitraje
3
0% / 100%
Caducado
0
Libre
Solicitudes similares
I need an ea created per my requirements according to my strategy. I am only willing to pay 50$ for this as fixed price. If you can do it, please message. No price negotiation please
Inputs required: Tp multiplier (For setting TP); BE level(RR to be reached before BE is set), Trading time(time when the EA will be active), Risk percentage (percentage risk that would be used to take trades and calculate lotsizes), News filter minutes(minutes before and after news to close all positions and prevent new entries), minimum candles required (minimum candles to check for intersecting wicks before entry);
Hey, I would like to work again with you to create an indicator based on calculation with the last price, sort of fib. I give a pdf introducing the concept I have a source code in pinescript of the concept. Thanks
I need a simple automated Expert Advisor that can trade any of deriv indices except boom and crush or us30. Must at least be able to trade a 20$ account..i need it ASAP, referrals also welcomed
Hello everyone, I'm looking for a profitable scalping EA, with a proven record and backtests on multiple pairs (at least from 2010). The EA doesn't need to make a huge amount of profit, but I care about safety. 1-2% monthly profit is enough. At least 5-10 pips per order. Grid, averaging, martingale are allowed, but backtests need to prove that the account doesn't blow up. Preferred pairs: GBPAUD, GBPNZD, GBPJPY
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
Hello i need someone who can help me optimise my trading strategy using two or three indicators from tradingview. Which are swing arm atr trend indicator 2 atr for stop loss and tp levels 3 ut bot alerts for extra confirmation to enter a trade. I would like to take trades with a high reward level
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
Hello. Id like to change the trailing stop loss mechanism and ATR take profit to do the following: Assuming I've lost 3 trades and my lot size is automatically adjusted to 0.03, with a fixed SL of 10 pips id be negative 30 points. But assuming the ATR closes the next trade with a profit of 5 pips meaning a total profit of -15 points. Id like for the system to be adjusted to maintain the current lot size until a

Información sobre el proyecto

Presupuesto
30 - 60 USD
Para el ejecutor
27 - 54 USD
Plazo límite de ejecución
a 3 día(s)