Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Script | Current Next Futures

The script has three independent functions for determining the current (nearest) FORTS futures.

The short name of the futures, such as br, is specified in the script parameters.

The script outputs the full name of the previous, current and the next futures.

Using these functions, it is easy to create an Expert Advisor that will select the current futures and trade it, both in the strategy tester and on a real account.

MetaTrader Experts, Indicators, Scripts and Libraries

19141

Best MetaTrader Indicators + Profitable Expert Advisors