×

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 GetActive

417 bytes added, 14:36, 13 October 2014
no edit summary
Returns a numerical value indicating the object ID number of the currently selected active arrow object; returns a value of -1 if no arrow objects are currently selected.
==Arw_GetActive returns -1 if no arrow objects are currently selected or were added to a chart yet. If an active arrow drawing object is removed from a chart then Arw_GetActive returns -1. If an inactive arrow drawing object is removed from a chart then Arw_GetActive returns the object ID number of the currently active arrow object.  == Usage ====
<syntaxhighlight>
Arw_GetActive
</syntaxhighlight>
==== Notes ====* An object-specific ID number is assigned by [[Arw_New ]], [[Arw_New_s]], [[Arw_New_self]] or [[Arw_New_self_s]] when the arrow object is created.* Use [[MC_Arw_GetActive]] to get the '''arrow ID''' number of the currently selected arrow.
==== Example ====
Assign a value, indicating the object ID number of the currently selected arrow object, to Value1 variable:
<syntaxhighlight>
Value1=Arw_GetActive;
</syntaxhighlight>
[[Category:AlertsArrowDrawing]]