The purpose of this code is to demonstrate how easy it is to create color scales, color gradients and heatmaps with the MQL4 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 MQL4, however we have decided to use the RGB color model due to the facility to perform mathematical operations on the colors.
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.Average Directional Movement Index (ADX)
The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.