×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Text GetBarNumber - MultiCharts
Open main menu

Returns a numerical value representing the barnumber of the text object with a specified ID.

Usage

text_getbarnumber(ref);

Parameters

  • Ref – ID of the text object;

Example

Get the number of the bar where a text object with ID = 1 is placed.

text_getbarnumber(1);