The indicator shows the use of the free LibCustomChart 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.
Author: Konstantin Gruzdev