DrawTriangleDown()
Previous Topic  Next Topic 

Definition
Draws a triangle point down.


Syntax

DrawTriangleDown(string tag, bool autoScale, int barsAgo, double y, Color color)


Method Of

Custom Indicator, Custom Strategy


Parameters

tag

A user defined unique id used to reference the draw object. For example, if you pass in a value of "myTag", each time this tag is used, the same draw object is modified. If unique tags are used each time, a new draw object will be created each time.

autoScale

Determines if the draw object will be included in the y-axis scale

barsAgo

The bar the object will be drawn at. A value of 10 would be 10 bars ago.

y

The y value

color

The draw object color (reference)


Examples

// Paints a red triangle pointing down on the current bar 1 tick below the low
DrawTriangleDown("tag1", true, 0, Low[0] - TickSize, Color.Red);