Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2012.04.23 12:21
Indicators

Smooth Lines - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Views:
4488
Rating:
votes: 17
\MQL5\Include\

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 Software Corp.
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.