Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Libraries

Function to get Next Open Time and Closing Time for the market. - library for MetaTrader 5

Views:
3689
Rating:
(22)
Published:
2021.03.22 18:17
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

A Simple Call to this function will return the next Opening Time and Closing Time of the Asset, if no from time input it will search following the current Trade Server Time.

 Usage:

GetOpeningTimes(Open_Time, Close_Time, time); // where time is the from time

GetOpeningTimes(Open_Time, Close_Time); // searches from current time...


Enjoy...




    Pivot_Points_Lines_v1.3 MT5 Pivot_Points_Lines_v1.3 MT5

    Draws Pivot Points formulas

    Licensing class and script with 64bit Encryption (more Reliable) Licensing class and script with 64bit Encryption (more Reliable)

    This class loads a licensing file by reading 64bit encrypted account data from a license file into an account array for the purpose of licensing. The Class is initialised with a Filename, a Master Key (m_hkey -> can be a secret key of your choice) and whether the file needs to be saved in the common folders or not.

    EA - The Simple Trading Panel - MT5 EA - The Simple Trading Panel - MT5

    The simple trading panel is a trading tool that is very interesting because it will allow you to predefine your StopLoss and your TakeProfit in term of pips.

    Ronz AutoSLTP for MT5 Ronz AutoSLTP for MT5

    Converted Ronz AutoSLTP MT4 version into MT5 version. Original Link: https://www.mql5.com/en/code/11649 Original Descriptions: EA for Automatic Stop Loss, Take Profit, Profit Lock, and Trailing Stop (With Special Methods). SL and TP could be hidden.