Arw SetLocation DT: Difference between revisions
From MultiCharts
no edit summary
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
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. | 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> | <syntaxhighlight> | ||
Arw_SetLocation_DT (ObjectID, Bar_DateTime, PriceValue) | Arw_SetLocation_DT (ObjectID, Bar_DateTime, PriceValue) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Parameters== | |||
* ''ObjectID'' - a numerical expression specifying the object ID number | * ''ObjectID'' - a numerical expression specifying the object ID number | ||
Line 12: | Line 12: | ||
* ''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 | * ''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. | 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: | Move the arrow object with an ID number of 3 to the top of the current bar: |