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.
Ordini simili
🔍 Strategy Logic 📌 Indicators Used 21 EMA RSI (Upper Level: 61, Lower Level: 39 – Customizable) 📈 Buy Side Setup (Long Entry) Step 1 – Trend Confirmation A Green candle must close above 21 EMA. Step 2 – Pattern Formation After the green candle, observe next 4 candles. At least one Red candle must form (opposite candle). That Red candle must also close above EMA. Step 3 – Key Level Marking Mark the High of the Red
Dear Developer, I am looking to hire an experienced Meta Trader4 and 5 (MQL5) Expert Advisor developer to build a custom Expert Advisor for XAUUSD (Gold). This project is based on a structured swing trading system using market structure analysis and multi-timeframe confirmation. PROJECT OVERVIEW The Expert Advisor must be designed to trade XAUUSD using the following multi-timeframe approach: • Daily (D1): Optional
Requirements Specification: Custom Trading Robot (Expert Advisor) I am looking for a qualified developer to design and build a fully automated trading robot (Expert Advisor). The system should be reliable, beginner-friendly, and capable of running with minimal manual input once installed. 1. General Purpose The robot should automatically analyze the market and execute trades. It must work on MetaTrader 4 or
Hi, I need a professional MetaTrader 5 Expert Advisor (Pure MQL5, no Python) with a built-in GUI panel and ultra-fast OnTick execution. The strategy is based only on the last two digits after the decimal point and must work in real time with high accuracy. ### Main Requirements * Pure MQL5 Expert Advisor. * Real-time OnTick processing. * Support XAUUSD and any MT5 symbol. * No fixed price levels; price must be
I am looking for an experienced MQL5 developer to build a robust, high performance Expert advisor (EA) designed specifically for passing and managing funded accounts.The primary focus is to make some good money and also focus on risk management, consistent equity growth
Expert Advisor (EA) Requirements – MT5 (MQL5) Project Overview Develop an automated Expert Advisor (EA) for MetaTrader 5 based on EMA crossover signals combined with strict risk management and trade management principles. The EA must be optimized for Forex pairs and indices and should operate automatically without manual intervention. Entry Conditions Buy Setup Fast EMA crosses above Slow EMA. Current candle closes
I am in need of a profitable scalping EA for gold. No grid or martingale strategy pls. If you have one fully developed and working, pls reach out. You should be able to provide trial version
Simple MT5 indicator showing Friday close to Monday open gap on chart. Features: · Draw horizontal line at Friday close · Label showing gap size in pips · Toggle on/off
Hi. I have the statement of the Ea live results that I want to have. Please check this video from YouTube and the statement to see how the robot is working every day. I want a robot like this or better. The robot has 1-4% drawdown and 300-500% profit per month The robot works with ICMarkets Global 1:500 leverage and FPMarkets. The robot works between 10-30 minutes London session. Also the Robot can start trading from
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit