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 Indicators | Horizontal line for max/min prices of the last 2 years | Source Code Included

RobotFX curates the best open-source MetaTrader code to inspire your trading automation.

A user asked for an example code on how to draw an horizontal line for maximum and minimum prices of the last 2 years, see https://www.mql5.com/en/forum/21396

Example code on how to draw an horizontal line for maximum and minimum prices of the last 2 years.

Never miss news-driven moves – use the News OCO Expert Advisor to place pending orders safely around economic releases. Find out more.

Thanks for reading. Discover premium MetaTrader solutions at RobotFX.

2355

Best MetaTrader Indicators + Profitable Expert Advisors