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

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