Maznet

指定

I would like to have a script which would:
1. go to directory (Eg: C:\MT\ ) (Or other - that is a choice ) 
2. Look for files with particular naming convention like "CurrentDate.Currency.DisableShort.Range.txt" (Examples below )
3.For all EA auto tradings with that currency would change configuration that allows only "Long" trading (Disable Short) for the specified range. (Or "Short" - Disable Long)

 File name examples:

"YYYY.MM.DD.Currency.DisableShort.Range.txt"
2015.12.31.EURUSD.DisableShort.1.12865_1.12978.txt

2015.12.31.EURUSD.DisableLong.1.12855_1.12970.txt 

2015.12.31.USDCHF.DisableShort.0.92865_0.97978.txt
2015.12.31.USDCHF.DisableLong.1.10010_1.52970.txt

 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 file with the date not found ,- long and short allowed 

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

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.

Could be not Affected all scripts that has a comment witch starts with “NoEffect ………..“.

Or could be the Name of the EA file , like NoEffect_ExpertName.mq4  

That would be useful for utilities EA , like those who  sets the stop loss  or manages equity ....   

 

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

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 will find files in specified directory named:

2016.03.15.EURUSD.DisableShort.1.12865_1.12978.txt

2016.03.15.EURUSD.DisableLong.1.12855_1.12970.txt 

 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. 

 

 

応答済み

1
開発者 1
評価
(5)
プロジェクト
4
0%
仲裁
3
0% / 100%
期限切れ
2
50%
2
開発者 2
評価
(121)
プロジェクト
134
66%
仲裁
36
25% / 56%
期限切れ
22
16%
3
開発者 3
評価
(49)
プロジェクト
134
27%
仲裁
62
13% / 53%
期限切れ
58
43%
4
開発者 4
評価
(68)
プロジェクト
111
26%
仲裁
17
6% / 71%
期限切れ
15
14%
5
開発者 5
評価
(1)
プロジェクト
1
0%
仲裁
1
0% / 100%
期限切れ
0
類似した注文
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link
so basically I have an EA(mql5), AI script(python), flask server and socket server both on python. Now this is an experimental script as I am trying to learn. However the EA is not entering any trades. How much would it cost for you to troubleshoot this for me? Thank you in advance
NEW FUNCTION 50+ USD
La idea es la siguiente, sería un EA semi automático. Yo como trader opero en zonas. En adelante las vamos a denominar ``zonas calientes´´. El EA debe que necesito debe operar conforme a 4 zonas calientes que yo configure en el mismo. ¿Qué hará el EA en cada una de esas zonas calientes que yo he configurado? En cada una de estas zonas el EA debe realizar hedging (crear un rango en el cual el EA entrara en sell o en
I have the bot just over half made, from another developer who let me down and decided they no longer wished to finish the project, so I have a basic example of the fundamentals of what it could look like, although multiple functions I require do not work, but I can show this to you on request. There are multiple features that I require, so please read the in depth requirement sheet on the attachment. Function: To

プロジェクト情報

予算
150 - 200 USD
VAT(付加価値税) (21%): 31.5 - 42 USD
合計: 181.5 - 242 USD
開発者用
135 - 180 USD
締め切り
最低 3 最高 5 日