Script App or EA for EA management

MQL4 Scripts Intégration

Tâche terminée

Temps d'exécution 154 jours
Commentaires du client
She is Great - Thank you !!!!!!!!

Spécifications

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.

Répondu

1
Développeur 1
Évaluation
(28)
Projets
30
50%
Arbitrage
4
0% / 100%
En retard
8
27%
Gratuit
2
Développeur 2
Évaluation
(107)
Projets
149
36%
Arbitrage
29
3% / 55%
En retard
35
23%
Gratuit
3
Développeur 3
Évaluation
(7)
Projets
15
47%
Arbitrage
6
33% / 17%
En retard
4
27%
Gratuit
4
Développeur 4
Évaluation
(2)
Projets
2
0%
Arbitrage
13
8% / 92%
En retard
1
50%
Gratuit
5
Développeur 5
Évaluation
(195)
Projets
395
28%
Arbitrage
155
20% / 52%
En retard
112
28%
Gratuit
6
Développeur 6
Évaluation
(885)
Projets
1410
67%
Arbitrage
123
32% / 41%
En retard
218
15%
Gratuit
Publié : 1 code
7
Développeur 7
Évaluation
(130)
Projets
210
40%
Arbitrage
90
20% / 43%
En retard
85
40%
Gratuit
8
Développeur 8
Évaluation
(221)
Projets
369
66%
Arbitrage
10
50% / 0%
En retard
46
12%
Gratuit
9
Développeur 9
Évaluation
(647)
Projets
1295
67%
Arbitrage
84
26% / 49%
En retard
338
26%
Gratuit
10
Développeur 10
Évaluation
(46)
Projets
73
16%
Arbitrage
13
8% / 92%
En retard
37
51%
Gratuit
11
Développeur 11
Évaluation
(103)
Projets
205
41%
Arbitrage
17
29% / 71%
En retard
45
22%
Gratuit
12
Développeur 12
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit

Informations sur le projet

Budget
180 USD
Délais
de 1 à 30 jour(s)