Forex Heatmaps color gradients and scales Indicator:
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.
Copy and paste the file into the MQL5 Indicators folder of the Metatrader 4 trading platform.
You can access this folder from the top menu as follows:
File > Open Data Folder > MQL5 > Indicators (paste here)