Maznet

MQL4 Experts Scripts

Specification

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. 

 

 

Responded

1
Developer 1
Rating
(5)
Projects
4
0%
Arbitration
3
0% / 100%
Overdue
2
50%
Free
2
Developer 2
Rating
(121)
Projects
134
66%
Arbitration
36
25% / 56%
Overdue
22
16%
Free
Published: 10 codes
3
Developer 3
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
Published: 293 articles, 1 code
4
Developer 4
Rating
(68)
Projects
111
26%
Arbitration
17
6% / 71%
Overdue
15
14%
Free
Published: 9 codes
5
Developer 5
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
I want to design an EA that can identify key Supports and Resistances. This should be able to work on any timeframe from 1 minute to 1 hour (i.e 1 minute, 5 minutes, 15 minutes and 1 hour time frames.) The EA should be able to determine a Fibonacci retracement from a support and the next resistance point in an uptrend and vice versa (i.e the EA should be able to determine a Fibonacci retracement from a resistance and
Product Requirements Document (PRD) Project Title: Liquidity Sniper Semi-EA (Fibonacci & SMC Based) Platform: MetaTrader 5 (MQL5) Target Asset: XAUUSD (High Volatility) / M5 Timeframe 1. EA Operating Concept (Semi-Automated) Human-Machine Collaboration: The trader manually draws a standard Fibonacci Retracement object on the M15 chart to define the market structure (setting the 1.0 and 0.0 anchor points). EA's Role
Looking for a good EA 30 - 100 USD
Hello guys,i am looking for a good already established ea,that doesnt blow account,only give 5 percent per month with maximum 10 percent drowdown,I need prove,i need to backtest by myself,after that i select the developer
Short Description: I am seeking an experienced MQL4 developer to build a high-frequency Asymmetric Salami Grid EA . This is a sophisticated volatility harvester, not a basic martingale. Key Features to Implement: Virtual Grid Execution: No pending orders; all logic handled in-memory via OnTick . Asymmetric Lot Sizing: Trend-side degression vs. Counter-trend progression . Salami Partial Liquidation: XX% of profits
I would like to convert my MT4 EA to MT5 EA, it should have all the default indicators in it but can remove the custom indicators, it should have the same logic as MT4 EA no chnages at all in the logic
Description: I am looking for an experienced MQL4 developer to create an Expert Advisor (EA) for trading DAX (GER40) based on the confluence of two indicators. I already have both indicators in .ex4/.mq4 format. Key Requirements: Indicators: Use "PivotPoints-All-In-One" and "shved_supply_and_demand" (via iCustom). Entry Logic: Open BUY/SELL only when a Pivot level (PP, S1, R1 etc.) is located inside a "Verified" or
Hello i need an expert advisor for meta trader 5 .Strategy: Trend on H1 using EMA 50. ENTRY on M5 when the price pulls back to EMA 21 or VWAP. BUY after bullish candle confirmation , SELL after bearish candle conformation.STOP LOSS 5- 8 pips ,TAKE PROFIT 10 - 15 pips.include spread filter , no trade on major news and a maximum of 3 trades per day
I am seeking an experienced MQL5 developer to build a high-precision Gold (XAUUSD) scalping Expert Advisor. The objective is to achieve a Profit Factor (PF) of 2.0 or higher with a focus on institutional logic rather than retail lagging indicators.The EA must be designed to pass a "100% Real Ticks" backtest (Exness/Dukascopy data) over a 30-day period with a $500 initial deposit.Core Requirements & Strategy
Title: Design and Development of an Automated Forex Trading Robot Using MQL5 and Machine Learning Techniques Abstract: This project focuses on the design and development of an automated Forex trading robot that integrates MQL5 programming and machine learning techniques. The system aims to predict market movements and execute trades automatically, minimizing human error and emotional trading. By leveraging historical
I am looking to purchase an existing multi-currency MT5 Expert Advisor that is capable of trading multiple currency pairs simultaneously . Please only contact me if you already have a ready-made EA and are willing to sell the full system including the complete source code . ⚠️ Important: If you do not own the EA, do not have the source code, or are planning to build something from scratch, please do not apply

Project information

Budget
150 - 200 USD
Deadline
from 3 to 5 day(s)