The purpose of this code is to demonstrate how easy it is to create color scales, color gradients and heatmaps with the MQL5 language and functions.
In order to facilitate things, we will work with the RGB color model and the standard conversion function StringToColor. Other color conversion methods can be implemented in MQL5, however we have decided to use the RGB color model due to the facility to perform mathematical operations on the colors.
The HighsLowsSignal indicator with the timeframe selection option available in input parameters.Exp_HighsLowsSignal
A trading system using the HighsLowsSignal semaphore arrow indicator.
The EA for trailing along a price channel.Horizontal line for max/min prices of the last 2 years
Example code on how to draw an horizontal line for maximum and minimum prices of the last 2 years.