+1 888 340 6572

Arw New Self DT

From MultiCharts

Displays an object, consisting of an up or a down arrow located at the specified bar and specified price value, on the SubChart containing the study; returns an object-specific ID number, required to modify the object.

Usage

Arw_New_DT (Bar_DateTime, PriceValue, Direction)

Parameters

Bar_DateTime - a numerical expression specifying the date and time of the bar at which the object is to be placed. The date and time are indicated in the DateTime format, where the integer portion of the DateTime value indicates the number of days that have elapsed since January 1st, 1900, and the fractional portion of the DateTime value indicates the fraction of the day that has passed since midnight. DateTime is a floating point value with high precision. It allows accessing millisecond time stamps of the bar.
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 SubChart containing the study, an up arrow at the top of a bar 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_DT(DateTime,High,False);