Skip to content

ChartIconType

Summary

Represents the type of the Icon.

Signature

1
public enum ChartIconType

Namespace

cAlgo.API

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 using cAlgo.API;
 namespace cAlgo
 {
     // This example shows how to use the Chart ChartIconType
     [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
     public class ChartIconTypeSample : Indicator
     {
         [Parameter("Icon Type", DefaultValue = ChartIconType.DownArrow)]
         public ChartIconType IconType { get; set; }
         protected override void Initialize()
         {
             Chart.DrawIcon("Icon", IconType, Chart.LastVisibleBarIndex, Chart.Bars.LastBar.Low, Color.Red);
         }
         public override void Calculate(int index)
         {
         }
     }
 }

See Also

Fields

UpArrow

Summary

The Up Arrow icon.

Signature

1
public static ChartIconType UpArrow;

Return Value

ChartIconType

DownArrow

Summary

The Down Arrow icon.

Signature

1
public static ChartIconType DownArrow;

Return Value

ChartIconType

Circle

Summary

The Circle icon.

Signature

1
public static ChartIconType Circle;

Return Value

ChartIconType

Square

Summary

The Square icon.

Signature

1
public static ChartIconType Square;

Return Value

ChartIconType

Diamond

Summary

The Diamond icon.

Signature

1
public static ChartIconType Diamond;

Return Value

ChartIconType

Star

Summary

The Star icon.

Signature

1
public static ChartIconType Star;

Return Value

ChartIconType

UpTriangle

Summary

The Up Triangle icon.

Signature

1
public static ChartIconType UpTriangle;

Return Value

ChartIconType

DownTriangle

Summary

The Down Triangle icon.

Signature

1
public static ChartIconType DownTriangle;

Return Value

ChartIconType