---
title: "Rectangle Label - Graphical Objects - Analytical Objects - Price Charts, Technical and Fundamental Analysis - MetaTrader 5 Help"
description: "This object is intended for creation of custom graphic interfaces. It can have different states that can be processed by an... - Rectangle Label - Graphical Objects - Analytical Objects"
image: "https://www.metatrader5.com/i/logo_metatrader5.png"
url: "https://www.metatrader5.com/en/terminal/help/objects/graphical_objects/obj_rect_label"
---

[MetaTrader 5 Help](https://www.metatrader5.com/en/terminal/help) → [Price Charts, Technical and Fundamental Analysis](https://www.metatrader5.com/en/terminal/help/charts_analysis) → [Analytical Objects](https://www.metatrader5.com/en/terminal/help/charts_analysis/objects) → [Graphical Objects](https://www.metatrader5.com/en/terminal/help/objects/graphical_objects) → Rectangle Label

# Rectangle Label

This object is intended for creation of custom graphic interfaces. It can have different states that can be processed by an [MQL5 program](https://www.metatrader5.com/en/terminal/help/algotrading/autotrading#mql5). For example, a program can execute an operation as a reaction to user interaction with this object.

![The &quot;Rectangle Label&quot; object](https://www.metatrader5.com/i/help/terminal/en/obj_rect_label.png)

## Controls

An object can be moved using an anchor point located in its upper left corner.

## Parameters

![Parameters](https://www.metatrader5.com/i/help/terminal/en/obj_rect_label_properties.png)

There are the following parameters of the object:

- X-distance — distance in pixels from the anchor corner of the chart window till the control point of the object along the time axis;
- Y-distance — distance in pixels from the anchor corner of the chart window till the control point of the object along the price axis;
- Width — width of the object in pixels;
- Height — height of the object in pixels;
- Corner — one of the corners of the chart window, from which distances along X and Y axes will be set;
- Background — the object fill color;
- Border — select the type of the object Border: Flat, Raised, Sunken.

## In this section

- [Text](https://www.metatrader5.com/en/terminal/help/objects/graphical_objects/obj_text)
- [Text Label](https://www.metatrader5.com/en/terminal/help/objects/graphical_objects/obj_text_label)
- [Button](https://www.metatrader5.com/en/terminal/help/objects/graphical_objects/obj_button)
- [Graph](https://www.metatrader5.com/en/terminal/help/objects/graphical_objects/obj_chart)
- [Bitmap](https://www.metatrader5.com/en/terminal/help/objects/graphical_objects/obj_bitmap)
- [Bitmap Label](https://www.metatrader5.com/en/terminal/help/objects/graphical_objects/obj_bitmap_label)
- [Edit](https://www.metatrader5.com/en/terminal/help/objects/graphical_objects/obj_edit)
- [Event](https://www.metatrader5.com/en/terminal/help/objects/graphical_objects/obj_event)
- Rectangle Label

```json
{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ {"@type": "ListItem", "position": 1, "item": {"@id": "https://www.metatrader5.com/en/terminal/help", "name": "MetaTrader 5 Help"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "https://www.metatrader5.com/en/terminal/help/charts_analysis", "name": "Price Charts, Technical and Fundamental Analysis"}}, {"@type": "ListItem", "position": 3, "item": {"@id": "https://www.metatrader5.com/en/terminal/help/charts_analysis/objects", "name": "Analytical Objects"}}, {"@type": "ListItem", "position": 4, "item": {"@id": "https://www.metatrader5.com/en/terminal/help/objects/graphical_objects", "name": "Graphical Objects"}}, {"@type": "ListItem", "position": 5, "item": {"@id": "https://www.metatrader5.com/en/terminal/help/objects/graphical_objects/obj_rect_label", "name": "Rectangle Label"}} ]}
{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "MetaTrader 5: Rectangle Label", "acceptedAnswer": { "@type": "Answer", "text": "This object is intended for creation of custom graphic interfaces. It can have different states that can be processed by an MQL5 program. For..." } }] }
```
