Arw new bn
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.
Arw_New_bn (Barnumber, PriceValue, Direction);
- 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
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 And Open>Open Then Value1=Arw_New_bn(100,High,False);