---
title: "Edit - Graphical Objects - Analytical Objects - Price Charts, Technical and Fundamental Analysis - MetaTrader 5 Help"
description: "This object is used for adding an editable text field in a chart. Values of the field can be changed directly in the chart... - Edit - 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_edit"
---

[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) → Edit

# Edit

This object is used for adding an editable text field in a chart. Values of the field can be changed directly in the chart. Entered valued can be read by a program written in [MQL5](https://www.metatrader5.com/en/terminal/help/algotrading/autotrading#mql5) language. The object is anchored to a chart window and does not move when the chart is scrolled.

## Controls

The object is moved using the anchor point located on its upper left corner.

## Parameters

There are the following parameters of the "Edit" object:

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

- 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 editable field in pixels;
- Height — height of the editable field in pixels;
- Corner — one of the corners of the chart window, from which distances along X and Y axes will be set;
- Read Only — enable/disable the "read only" mode. If this mode is enabled, then entering and editing of a text in this field is prohibited;
- Background — background color for the editable field;
- Font — font type and size for the object text.

> In order to have the possibility to enter values in a field on a chart, it is necessary to enable the option ["Disable selection"](https://www.metatrader5.com/en/terminal/help/charts_analysis/objects#disable_selection) in object properties.

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

## 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
- [Event](https://www.metatrader5.com/en/terminal/help/objects/graphical_objects/obj_event)
- [Rectangle Label](https://www.metatrader5.com/en/terminal/help/objects/graphical_objects/obj_rect_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_edit", "name": "Edit"}} ]}
{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "MetaTrader 5: Edit", "acceptedAnswer": { "@type": "Answer", "text": "This object is used for adding an editable text field in a chart. Values of the field can be changed directly in the chart. Entered valued can be..." } }] }
```
