チャートアイコンタイプ

概要

アイコンの種類を表します。

シグネチャー

1
public enum ChartIconType

 

名前空間

cAlgo.API

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 using cAlgo.API;
 namespace cAlgo
 {
     // この例では、ChartIconTypeの使い方を示します
     [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
     public class ChartIconTypeSample : Indicator
     {
         [Parameter("アイコンの種類", DefaultValue = ChartIconType.DownArrow)]
         public ChartIconType IconType { get; set; }
         protected override void Initialize()
         {
             Chart.DrawIcon("アイコン", IconType, Chart.LastVisibleBarIndex, Chart.Bars.LastBar.Low, Color.Red);
         }
         public override void Calculate(int index)
         {
         }
     }
 }

関連項目

  • cAlgo.API.ChartIcon

フィールド

UpArrow

概要

上向き矢印アイコン。

シグネチャー

1
public static ChartIconType UpArrow;

 

戻り値

ChartIconType

DownArrow

概要

下向き矢印アイコン。

シグネチャー

1
public static ChartIconType DownArrow;

 

戻り値

ChartIconType

Circle

概要

円形アイコン。

シグネチャー

1
public static ChartIconType Circle;

 

戻り値

ChartIconType

Square

概要

四角形アイコン。

シグネチャー

1
public static ChartIconType Square;

 

戻り値

ChartIconType

Diamond

概要

ダイヤモンドアイコン。

シグネチャー

1
public static ChartIconType Diamond;

 

戻り値

ChartIconType

Star

概要

星形アイコン。

シグネチャー

1
public static ChartIconType Star;

 

戻り値

ChartIconType

UpTriangle

概要

上向き三角形アイコン。

シグネチャー

1
public static ChartIconType UpTriangle;

 

戻り値

ChartIconType

DownTriangle

概要

下向き三角形アイコン。

シグネチャー

1
public static ChartIconType DownTriangle;

 

戻り値

ChartIconType

  • チャートオブジェクト/描画