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.
Recommendations:
- It’s recommended to use this whenever you want to know the daily percent change of all the assets you have on the Market Watch.
- It’s recommended to use at least 5 symbols and at most 20-25 symbols (in order to fit on the screen).
- You can choose one of the 3 display modes: Scale, Gradient or Heatmap.