Arw new bn
Revision as of 13:12, 16 September 2013 by Roman MultiCharts (talk | contribs) (Created page with "Displays an object, consisting of an up or a down arrow located at the specified bar and specified price value, on the chart that the study is based on; returns an object-spec...")
Displays an object, consisting of an up or a down arrow located at the specified bar and specified price value, on the chart that the study is based on; returns an object-specific ID number, required to modify the object.
Usage
Arw_New_bn (Barnumber, PriceValue, Direction);
Parameters
- Bar_DateTime - a numerical expression specifying the number of the bar counting from the first bar on the chart.
- 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
- Direction - a logical expression specifying the direction of the arrow; True = Down and False = Up
Example
Place, on the chart that the study is based on, an up arrow at the top of a bar number 100 if the Open price has increased incrementally over the last three bars:
If Open>Open[1] And Open[1]>Open[2] Then
Value1=Arw_New_bn(100,High,False);