The indicator shows the use of the free Library for Custom Chart library for the automatic connection of the indicators to iCustomChart custom charts created on the basis of custom history files.
The presence of iCustomChart custom chart is checked when attaching the indicator to a chart window. In case a custom chart has been uploaded, the library functions use the data of that chart. Otherwise, the data of a standard chart is used. Therefore, the indicator can work both with custom and standard charts without the need for any changes.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/869
The Expert Advisor shows the use of the free LibCustomChart library for the automatic connection of the Expert Advisors and indicators to iCustomChart custom charts created on the basis of custom history files.ColorChart
Simple script to randomize all colors of your chart. Just click on it and see results yourself!