Text SetLocation BN

From MultiCharts
Jump to: navigation, search

Modifies location of a text object with the specified ID number; returns a value of 0 if location of the object was successfully modified, and a value of -2 if the specified object ID number is invalid.


Text_SetLocation_BN (ObjectID, BarNumber, PriceValue)


ObjectID - a numerical expression specifying the object ID number.
BarNumber - a numerical expression specifying the bar number at which the object is to be placed.
PriceValue - a numerical expression specifying the price value (vertical position, corresponding to a value on the price scale of a chart), where the object should be placed.


  • An object-specific ID number is returned by Text New DT when the text object is created.


Move the text object with an ID number of 3 to the top of the current bar: