Sebastian Van Hilten: The function should only work for market entries.
Do you have the code? If not, no one here can help.
Sebastian Van Hilten:
Hi Guys,
I have an existing EA and my programmer is MIA. Does anyone know if I can add a dayofweek function.
For example: if dayofweek = Monday -> don't make entries
The function should only work for market entries.
Would be great if one of you tech guys could help.
https://www.mql5.com/en/docs/standardlibrary/expertclasses/csignal/signal_time_filter
This strategy library can be included in your code and then you have to read the instructions carefully to get to know the inputs.

Documentation on MQL5: Standard Library / Strategy Modules / Modules of Trade Signals / Signals of the Intraday Time Filter
- www.mql5.com
Signals of the Intraday Time Filter - Modules of Trade Signals - Strategy Modules - Standard Library - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi Guys,
I have an existing EA and my programmer is MIA. Does anyone know if I can add a dayofweek function.
For example: if dayofweek = Monday -> don't make entries
The function should only work for market entries.
Would be great if one of you tech guys could help.