MQL5 should launch a new version soon, until the current version has a simple return function to determine whether an asset is open or closed, or even a simple open and close time of the broker to be used in the operation, or even a metatrader is also missing. a simple and easy way to know the profitability of the active market or how much time is left for the opening or closing of the broker's asset movement or any other information, as well as the real bid and offer order book also needs to be implemented soon, since this also does not exist, nor any broker or metatrade, currently only large players know this information, which is why there is so much manipulation of the xauusd market and other safe haven assets.
Interesting project. Somehow also seem to have issues running this correctly on a Saturday, unsure how to resolve. Can anyone provide instructions for the proper fix and secondly, a simple piece of code I can use in my EA to extract GMT from TimeCurrent (or rather, TimeTradeServer). Looking for a way to obtain GMT during backtest. Thanks!
Flying Dutchman #: Interesting project. Somehow also seem to have issues running this correctly on a Saturday, unsure how to resolve. Can anyone provide instructions for the proper fix and secondly, a simple piece of code I can use in my EA to extract GMT from TimeCurrent (or rather, TimeTradeServer). Looking for a way to obtain GMT during backtest. Thanks!
Flying Dutchman #: Interesting project. Somehow also seem to have issues running this correctly on a Saturday, unsure how to resolve. Can anyone provide instructions for the proper fix and secondly, a simple piece of code I can use in my EA to extract GMT from TimeCurrent (or rather, TimeTradeServer). Looking for a way to obtain GMT during backtest. Thanks!
Can you provide an example where and how the issues appears - e.g. a script?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Another way that may be easier to understand
Another way that may be easier to understand
Thanks William ... Will try it out
Another way that may be easier to understand
Thanks William...
So, this one fits with your macro
Hi @Carl Schreiber
thank you for the library.
Where did you take the library EnumStructure.mqh written in the first line?
Can be added to the library:
BoW() is a special case of the more general Prev() macro, as BoW(t) = Prev(SUNDAY, t).
Thanks to everyone and sorry I'm late, but I'm very busy at the moment - I'll integrate your improvements soon.
PS. I never saw Saturday as relevant. We should never stop learning. :)
Interesting project. Somehow also seem to have issues running this correctly on a Saturday, unsure how to resolve. Can anyone provide instructions for the proper fix and secondly, a simple piece of code I can use in my EA to extract GMT from TimeCurrent (or rather, TimeTradeServer). Looking for a way to obtain GMT during backtest. Thanks!
https://www.mql5.com/en/code/48291
Interesting project. Somehow also seem to have issues running this correctly on a Saturday, unsure how to resolve. Can anyone provide instructions for the proper fix and secondly, a simple piece of code I can use in my EA to extract GMT from TimeCurrent (or rather, TimeTradeServer). Looking for a way to obtain GMT during backtest. Thanks!
Can you provide an example where and how the issues appears - e.g. a script?