Know when the market is open in MT4 and MT5

[YTLoad url=GejPt5odJow]

Next in a series on writing a complete expert advisor for MT4 and MT5 this will address a common problem of detecting if the market is currently open or closed before trying to place a trade.

The video here mostly uses a script because the script is easier to demonstrate but the functions in the script can be easily copied to an expert.

The video covers techniques for both MT4 and MT5. The moving average cross expert used as an example is described in earlier videos with links below.

Introduction – Write your own expert for MT4 – MA Cross
Introduction – Write your own expert for MT5 – MA Cross

You can download the code here

If you are looking for a broker for MT5 or MT4 consider supporting our channel by using our broker by following one of these links.
Click here to open a Demo account
Click here to open a live Account


Leave a Comment

Scroll to Top