Mt4 TXT FILE CREATOR

MQL4 Integration

Job finished

Execution time 8 days
Feedback from customer
Very talented programmer
Feedback from employee
Good customer.

Specification






Please provide a solution to automatically read  the data from 4 txt files , calculate the algos and write results in two new files created by solution. 

On windows start up , without manual start up of solution  , the solution provided by coder  will automatically  initiate the  opening and reading  of txt  files  ,in files called File , it will read the date and time  of creation of existing txt file of same name ,if time of creation of  existing  txt file is earlier than current time , and if file was not updated  for the existing file created , it will write and  updated the other files. In order to reduce false calculations , new file created will write time of existing file created  and it will record the time in solution , if existing file with time  is already updated   , it will not update , until a new file ,with new time of creation is created ,in File folder.If a new file ,with later than previous time of file created   , exists in File folder , update the new files  of solution.
.
The file reading will be initiated every 5 minutes  with windows clock , the solution will automatically scan these 4 txt files , every 1 minutes , for updates in time of file creation  .The files to be scanned , are updated automatically  by other platforms and automated software.

There are several functions  to be coded  :Autostartup of solution,linked to windows start up , autoscan of existing log files , automated opening of existing txt files ,automated reading of existing txt files , automated calculation of txt logic  for files to be created , automated writing of two  files automated saving of two txt files.  and automating closing of  files created.

The solution you provide will automatically update  every minute  , new files created by solution , without human intervention , it will be a non desktop solution , to update the txt files  .

The solution will be place in a folder called COMMON  , folder it will read is called Files , the 4 files it will read are presented in folder.

The solution will calculate the average , for each instrument  and create a new log file called average4logs .The average4logs  is the average for one instrument from  the four log/txt files  , so solution will add all 4 logs/txt  for one instrument    and divide by 4 .It will write the average of the 4 logs for one instrument  to another txt file in same folder   and update files every minute.


REQUIREMENTS  3  mt4 txt files  as follows   (instead of job description)

Example from the four log /txt files  , get the average of one instrument ,(UK100GBP), only this instrument   and divide by four . This figure will be written to  average4logs file .Repeat same process for 14 other instruments.

1)Average of 4 logs

 The solution will calculate the average , for each instrument  and create a new log file called average4logs .The average4logs  is the average for one instrument from  the four log/txt files  , so solution will add all 4 logs/txt  for one instrument    and divide by 4 .It will write the average of the 4 logs for one instrument  to another txt file in same folder   and update files every minute.

 

2)  another log file created called opposite settings , attached is relationopp txt file

It will create a new log file , if any setting has , symbol + setting opposite , this is user input , so i can add this opposite word or definition and logs will be calculated opposite
The main symbol is never opposite , even use can not change this
Any of the three related symbols can be set as opposite 
there can two more 3 opposite related symbols
3 is max , because 4 is total symbols
LOGIC OPPOSITE " IF RESULT OF AVERAGE RELATED INSTRUMENTS is +/positive number , the opposite numbers have to be averaged as reversed from negative to positive
#######################
if the averagerelatedinstruments main symbol is -/negative , the opposite set numbers have to be reversed as positive 
if result of average related instruments main instrument is + positive number
reverse
the opposite settings for average total opposite txt file
example
input symbol symbol_14_1 = USDCAD; +70
input symbol symbol_14_2 = USDCHF; +55
input symbol symbol_14_3 = USDJPY; +35
input symbol symbol_14_4 = EURUSD; opposite -80

The results are to be read as + 70+55+35+80 =240/4= 60
opposite settings reading is read as reverse to main instrument 

 The average4 logs will be further processed with 3 related instrument anylysis .The related instruments are provided for each instrument  below.The solution will read average 4 logs/txt    and calculate an average for four related instruments , this will be presented as reverse relation ship


All data will be presented in txt  format supplied.
All files are read on a shared basis   by multiple readers , so code shared.The solution  can read files  1, 2 , 3 and four  one at a time and update log files  ,average4logs .


Four related instruments   no 1 is main instruments.There is no reverse opposite relation ship required in this symbol  1  .Thhis only uses the average of all four without  opposite relation ship .

extern string ____symbol_1____  = "______";
input symbol symbol_1_1 = UK100GBP;  
input symbol symbol_1_2 = DE30EUR;  
input symbol symbol_1_3 = US30USD;  
input symbol symbol_1_4 = SPX500USD; 

3) Name:8080

If all 5 txt files are greater than+ 80 , write +80 in file called 80/80
if all five txt files are less than -80 , write - 80 , in file called 80/80 ,
if all are not + 80 /-80 , write zero , in 80/-80
Create another file called 8080

 

 Regarding the next version, I have a questions:

1. >>If all 5 txt files<< Why 5, maybe 4?
2. So in these files may only be 0 or 80?

and -80

 the 4 files are the logmc , logmc2 , logmc3, logmc4 and average4sym_opposite

only 0 or + 80 or -80







Responded

1
Developer 1
Rating
(121)
Projects
134
66%
Arbitration
36
25% / 56%
Overdue
22
16%
Free
2
Developer 2
Rating
(49)
Projects
77
43%
Arbitration
6
33% / 50%
Overdue
22
29%
Free
3
Developer 3
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
Similar orders
I need to export from MT5 the live charts open data to excel. So the information that is on the Data Windows Must show in the excel (including the indicators value). ScreenShot of MT5 information I want: https://ibb.co/pKDxWcz So the information I want from all open tabs on the MT5
Dear Developer, I would like to hire your service for developing an algorithm for the thinkorswim platform for placing the trades in accordance with this indicator named UT Bot : https://usethinkscript.com/threads/ut-bot-for-thinkorswim.12640/. Please, see this page for the complete algorithm code for thinkorswim platform. It should enter the trade when the indicator shows the signal and then exit it and then enter
Id Like to have a web based trading journal where i can import MT4/5, excel sheet or manual input. This page will require uses to register There has to be a performance dashboard of the journal
//Takes screenshot string imgname="image.png"; bool first=ChartScreenShot(0,imgname,1920,1080); // write the initial html code int Report_File=FileOpen("report.html",FILE_WRITE|FILE_TXT,","); FileWrite(Report_File,"<!DOCTYPE html>"); FileWrite(Report_File,"<html>"); FileWrite(Report_File,"<body>"); string timeString=TimeToString(TimeCurrent()|TIME_MINUTES); FileWrite(Report_File,"<center>Report generated at
Hello, We receive trading requests via FIX Protocol. We need a structure to manage these requests in Python MT5Manager ManagerAPI and create positions, deals and orders. What we need is NOT about the FIX Protocol. Even though we have all our permissions and pump mode is on, we are having problems while creating an order, position or deal
need to create a powershell script to auto update my Custom Symbols from .csv files. there will be a folder with many files, the script will enumerate them and crete a list -> than import that data into Custom Symbols of mt5 (/portable). please ask if something not enought clear
Hello I have an old mql4 EA file, I need to convert it to python script which can be run on tradelocker studio. You maybe need to use backtrader package of python. Time line is 5 days. Thank you
Hello ! I’m searching for a developer able to make a simple website displaying my MT5 balance account and current positions in realtime. My broker is Deriv and it proposes API, i don’t know if it is possible with MT5 API. I already have a domain, hosting and server. Don’t hesitate if you are interested, I’ll give more informations
I need a tool: Can convert any strategy of PineScript into .mql5 without bugs Automation convert for multiple strategy of PineScript files into multiple .mql5 files Programming can write in Python/C++ I have some PineScripts file to test (in attached files, with their names can find in TradingView -> Indicator -> search by name) I want to backtest all community strategy of TradingView, so that the tool need to be

Project information

Budget