Script App or EA for EA management

MQL4 Sripts Integración

Trabajo finalizado

Plazo de ejecución 154 días
Comentario del Cliente
She is Great - Thank you !!!!!!!!

Tarea técnica

I would like to have a script, EA or app which would:

1. go to directory (Eg: C:\MT\ ) (Or other - that is a choice ) 

2. Look for file like “FX.csv" (Examples below ) 

Inside the file will be rows ( .csv - like excel ):


Date , Currency , DisableShort, Range From , Range To, DisableLong,  Range From , Range To

2015.12.31,EURUSD,DisableShort,1.12865 , 1.12978 , DisableLong , 1.12855 , 1.12970


3.For all EA auto tradings with that currency would change configuration that allows only "Long" trading (Disable Short) for the specified range, “Short” - ( Disable Long).  Or disable trading for the moment at all if the ranges overlapping. 


 File FX.csv examples:


Date , Currency , DisableShort, Range From , Range To, DisableLong,  Range From , Range To


2015.12.31 , EURUSD , DisableShort,1.12865 , 1.12978 , DisableLong , 1.12855 , 1.12970

2015.12.31 , USDCHF , DisableShort, 0.92865 , 0.97978 , DisableLong , 1.10010 , 1.52970



 Not to stop EA only to set it for Short or Long for that range specified in file name. 

If the range overlaps ,- for particular currency, overlapping range, all EA short and long would be disabled. 

Everything what is not in the range or between ranges (If not overlapping) ,- long and short allowed

If in the file  the date with particular currency not found ,- long and short allowed 


Should work for all currency pairs.


Script or application should not stop the EA, so EA would continue to work with open positions. 

Pending positions within the range for that date should be canceled.

 

For disabled short range, would not to allow "sell stop", "sell limit" within that range.

For disabled long range, would not to allow "buy stop" buy limit" within that range.



Script or application should have a setting how often to check for the file and if the file changed,- reconfigure settings ( default could be 5 min )


Would run on MT4 (Admiral Markets platform version) 


I would like to have a source code as well

  

Additionally – Should be an option ,how to mark some EA, that script would not affect it.

Example - Could be not Affected all scripts or EA’s that are listed in the same file ( or different file) or  that has a comment witch starts with “NoEffect ………..“. 

Or could be the Name of the EA file , like NoEffect_ExpertName.mq4 . Preferably other .csv file in same directory, but I will leave it for developer to decide how it is easier to do. 


( That would be useful for utilities EA , like those who  sets the stop loss, manages equity , or properly trades without intervention .... )

 

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Example 

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Just I want to know, that we are on the same page, so let me rephrase with example some of the aspects.  

 example: 

If script/EA or app will find line in specified .csv file:

2015.12.31 , EURUSD , DisableShort,1.12865 , 1.12978 , DisableLong , 1.12855 , 1.12970

 Many EA in metatrader 4 (downloaded from Admirals Market) for currency pair EURUSD will trade Long and Short. (Some of them may be set only Long or Short - manualy )

On day 2016.03.15 once the price reached the range between 1.12865 and 1.12978 the all EA's for that currency pair will trade only Long, and all pending Short orders within that range will be removed.


Once the price exit that range Short and Long settings for all EA's will be restored  (Like mentioned before if EA set manually only for Short in previous range it would not trade at all and later set back only for short )  .

 Same goes with Long:  

On day 2016.03.15 once the price reached the range between 1.12855 and 1.12970 the all EA's for that currency pair will trade only Short, and all pending Long orders within that range will be removed.Once the price exit that range Short and Long settings for all EA's will be restored.

If the rage is overlapping on that date for particular currency pair for overlapping range and Short and Long will be disabled for all EA's trading with that currency pair. Like in eg.:

On price range 1.12865-1.12970  - long and short would be turned off (basically apps running, managing open trades but do not perform any new trades)

If price moves to 1.12970-1.12978  Long trades for new orders would be restored for all EA on specified date for specified currency pair. 

If price moves to 1.12855-1.12865  Short trades for new orders would be restored for all EA on specified date for specified currency pair. 

Once price moves out of specified ranges, on specified date, all settings for all EA 's trading settings on specified currency pair would be restored. 

 

( EA's running on other currency pairs should not be affected by particular change for particular currency pair ) 

Script at any time should not change other EA settings,- like SL , magic number, comments etc.  

Script should change settings only then it is needed ( I mean not to overwrite same settings, every couple minutes, even there is no need to change )  

Frequency to check file, price and settings should be adjustable  ( in seconds ), default could 300 seconds (5 min)  

 

Hope that we do understand each other and everything is evaluated.

Han respondido

1
Desarrollador 1
Evaluación
(28)
Proyectos
30
50%
Arbitraje
4
0% / 100%
Caducado
8
27%
Libre
2
Desarrollador 2
Evaluación
(107)
Proyectos
149
36%
Arbitraje
29
3% / 55%
Caducado
35
23%
Libre
3
Desarrollador 3
Evaluación
(7)
Proyectos
15
47%
Arbitraje
6
33% / 17%
Caducado
4
27%
Libre
4
Desarrollador 4
Evaluación
(2)
Proyectos
2
0%
Arbitraje
13
8% / 92%
Caducado
1
50%
Libre
5
Desarrollador 5
Evaluación
(195)
Proyectos
395
28%
Arbitraje
155
20% / 52%
Caducado
112
28%
Libre
6
Desarrollador 6
Evaluación
(885)
Proyectos
1410
67%
Arbitraje
123
32% / 41%
Caducado
218
15%
Libre
Ha publicado: 1 ejemplo
7
Desarrollador 7
Evaluación
(130)
Proyectos
210
40%
Arbitraje
90
20% / 43%
Caducado
85
40%
Libre
8
Desarrollador 8
Evaluación
(221)
Proyectos
369
66%
Arbitraje
10
50% / 0%
Caducado
46
12%
Libre
9
Desarrollador 9
Evaluación
(647)
Proyectos
1295
67%
Arbitraje
84
26% / 49%
Caducado
338
26%
Libre
10
Desarrollador 10
Evaluación
(46)
Proyectos
73
16%
Arbitraje
13
8% / 92%
Caducado
37
51%
Libre
11
Desarrollador 11
Evaluación
(103)
Proyectos
205
41%
Arbitraje
17
29% / 71%
Caducado
45
22%
Libre
12
Desarrollador 12
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre

Información sobre el proyecto

Presupuesto
180 USD
Plazo límite de ejecución
de 1 a 30 día(s)