×

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.

Changes - MultiCharts
Open main menu

Changes

Text SetBarNumber

632 bytes added, 13:23, 16 September 2013
Created page with "Assigns the specified barnumber to the text object with the specified ID number. Text_SetBarNumber returns a value of 0 if the barnumber was successfully assigned, and a valu..."
Assigns the specified barnumber to the text object with the specified ID number.
Text_SetBarNumber returns a value of 0 if the barnumber was successfully assigned, and a value of -2 if the specified object ID number is invalid.

===Usage===
<syntaxhighlight>
text_setbarnumber(ref, barnumber);
</syntaxhighlight>

===Parameters===
* Ref – ID number of the text object;
* Barnumber – the new bar number that is to be assigned to the specified object.

===Example===
Assign the new barnumber value of 100 to the text object with ID = 1;
<syntaxhighlight>
arw_setbarnumber(1, 100);
</syntaxhighlight>

[[Category: Text Drawing]]