Difference between revisions of "RectangleGetEnd BN"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns a bar number value of the ending point of a rectangle with the specified ID number; returns a value of -2 if the specified rectangle ID number is invalid. == Usage...")
 
 
Line 7: Line 7:
 
   
 
   
 
== Notes ==  
 
== Notes ==  
A rectangle-specific ID number is returned by RectangleNew when the rectangle is created.  
+
A rectangle-specific ID number is returned by [[RectangleNew]] when the rectangle is created.
+
 
 
== Example ==  
 
== Example ==  
 
<syntaxhighlight>RectangleGetEnd_BN(value1);</syntaxhighlight> will return 8 if rectangle with ID = Value1 ends on eighth bar of price series.  
 
<syntaxhighlight>RectangleGetEnd_BN(value1);</syntaxhighlight> will return 8 if rectangle with ID = Value1 ends on eighth bar of price series.  
  
 
[[Category: Rectangle Drawing]]
 
[[Category: Rectangle Drawing]]

Latest revision as of 14:42, 20 August 2021

Returns a bar number value of the ending point of a rectangle with the specified ID number; returns a value of -2 if the specified rectangle ID number is invalid.

Usage

RectangleGetEnd_BN(ID)

Where:

ID - numerical expression specifying the rectangle ID number

Notes

A rectangle-specific ID number is returned by RectangleNew when the rectangle is created.

Example

RectangleGetEnd_BN(value1);

will return 8 if rectangle with ID = Value1 ends on eighth bar of price series.