×

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

Arw SetLocation DT

1 byte removed, 22:01, 27 February 2017
no edit summary
Modifies the location of an arrow object with the specified ID number; returns a value of 0 if the location of the object was successfully modified, and a value of -2 if the specified object ID number is invalid.
'''==Usage'''==
<syntaxhighlight>
Arw_SetLocation_DT (ObjectID, Bar_DateTime, PriceValue)
</syntaxhighlight>
''==Parameters''==
* :'''ObjectID''' - a numerical expression specifying the object ID number * :'''Bar_DateTime''' - a numerical expression specifying the date and time of the bar at which the object is to be placed. The date and time are indicated in the DateTime format, where the integer portion of the DateTime value indicates the number of days that have elapsed since January 1st, 1900, and the fractional portion of the DateTime value indicates the fraction of the day that has passed since midnight. DateTime is a floating point value with high precision. It allows accessing millisecond time stamps of the bar.* :'''PriceValue''' - a numerical expression specifying the price value (vertical position, corresponding to a value on the price scale of a chart), where the object is to be placed
'''==Notes'''==
An object-specific ID number is returned by Arw_New when the arrow object is created.
'''==Example'''==
Move the arrow object with an ID number of 3 to the top of the current bar: