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.05.14 16:07

IncGUI_ColorInput - library for MetaTrader 5

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

votes: 28
incgui_v4.mqh (504.16 KB)view
inccolors.mqh (20.48 KB)view

Graphic control for color selection.

The class uses the IncGUI_v4.mqh and IncColors.mqh libraries.

IncGUI_v4. mqh, IncColors.mqh and IncGUI_ColorInput.mqh must be placed to terminal_data_folder\MQL5\Include

To use the class you need to include IncGUI_ColorInput.mqh:

#include <IncGUI_ColorInput.mqh> 

Then, declare the class (CColorInput class instance):

CColorInput ci; 

To get the selected color, use the Color() method, the color can be set using SetColor(color aColor) method.

The example of the class use is attached - see eTestColorDialog.mq5.

The details can be found in the articles:

Translated from Russian by MetaQuotes Software Corp.
Original code:

IncColors IncColors

This class contains functions for working with colors. It has color conversion and other useful functions.

MultiSignals_PCH MultiSignals_PCH

This is the improved version of Price Channel indicator. Two additional price levels, trade signals and Stop Loss/Take Profit levels were added.

Size Highs And Lows Size Highs And Lows

The indicator shows the size of Highs and Lows and their values over the specified period.

Pearson correlation indicator Pearson correlation indicator

Pearson correlation indicator shows the correlation between symbols.