---
title: "Rectangle - Shapes - Analytical Objects - Price Charts, Technical and Fundamental Analysis - MetaTrader 5 Help"
description: "To draw a rectangle, one should select the object and define an initial point in a chart. After that, holding a mouse one... - Rectangle - Shapes - Analytical Objects"
image: "https://www.metatrader5.com/i/logo_metatrader5.png"
url: "https://www.metatrader5.com/en/terminal/help/objects/shapes/rectangle"
---

[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) → [Shapes](https://www.metatrader5.com/en/terminal/help/objects/shapes) → Rectangle

# Rectangle

To draw a rectangle, one should select the object and define an initial point in a chart. After that, holding a mouse one should drag a rectangle till the necessary size. Additional parameters will be shown near the end point: distance from the initial point along the time axis and distance from the initial point along the price axis.

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

## Controls

This object has three control points that can be moved by a mouse. Points located on faces are used for changing the size of the rectangle. The point located in the center is used for moving the object without changing its shape.

## Parameters

There are the following parameters of a rectangle:

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

- Date/Value — coordinates of the first point of the rectangle (date/value of the price scale);
- Date/Value — coordinates of the second point of the rectangle (date/value of the price scale);
- Fill — enable/disable color filling inside the shape.

Common parameters of object are described in a [separate section](https://www.metatrader5.com/en/terminal/help/charts_analysis/objects#draw_settings).

> To fill the object with the color of its lines, you should enable option the "Draw object as background" at the ["Common"](https://www.metatrader5.com/en/terminal/help/charts_analysis/objects#common) tab.

## In this section

- Rectangle
- [Triangle](https://www.metatrader5.com/en/terminal/help/objects/shapes/triangle)
- [Ellipse](https://www.metatrader5.com/en/terminal/help/objects/shapes/ellipse)

```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/shapes", "name": "Shapes"}}, {"@type": "ListItem", "position": 5, "item": {"@id": "https://www.metatrader5.com/en/terminal/help/objects/shapes/rectangle", "name": "Rectangle"}} ]}
{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "MetaTrader 5: Rectangle", "acceptedAnswer": { "@type": "Answer", "text": "To draw a rectangle, one should select the object and define an initial point in a chart. After that, holding a mouse one should drag a rectangle..." } }] }
```
