Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
9269
Rating:
(20)
Published:
2012.04.23 12:21
Updated:
2016.11.22 07:32
\MQL5\Include\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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.

Instructions

  1. Download Library for Custom Chart library file and place it to the terminal_data_folder\MQL5\Libraries
  2. Download the file containing the library functions description LibCustomChart.mqh and place it to the terminal_data_folder\MQL5\Include
  3. Download Nikolay Kositsin's SmoothAlgorithms.mqh file containing the description of smoothings classes and place it to the terminal_data_folder\MQL5\Include
  4. Download the iSmoothLines.mq5 file and place it to the terminal_data_folder\MQL5\Indicators
  5. Download iSmoothLines.mq5 to MetaEditor and compile (F7)
  6. iSmoothLines.ex5 indicator can be launched both on a standard and custom chart created with the use of iCustomChart
  7. The following steps must be executed to upload the indicator on a custom chart:
    • download demo or full version of iCustomChart and attach it to any chart window;
    • then attach iSmoothLines to the same window. iSmoothLines will automatically detect the presence of iCustomChart and get calculation data from it.

Result of iSmoothLines operation together with iCustomChart demo version

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/869

Expert Advisor Demonstrating LibCustomChart Application Expert Advisor Demonstrating LibCustomChart Application

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 ColorChart

Simple script to randomize all colors of your chart. Just click on it and see results yourself!

AutoNK AutoNK

The indicator creates a channel and provides the possibility to configure it with automatic tuning.

JPTrend indicator JPTrend indicator

The indicator calculates the resistance and support lines and shows alerts when price is reached them.