チャートタイプ

概要

事前定義されたチャートタイプを表します。

署名

1
public enum ChartType

 

名前空間

cAlgo.API

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 using cAlgo.API;
 namespace cAlgo
 {
     // この例はチャートの ChartIconType の使い方を示します
     [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
     public class ChartTypeSample : Indicator
     {
         protected override void Initialize()
         {
             ShowChartType();
             Chart.ChartTypeChanged += Chart_ChartTypeChanged;
         }
         private void Chart_ChartTypeChanged(ChartTypeEventArgs obj)
         {
             ShowChartType();
         }
         private void ShowChartType()
         {
             Chart.DrawStaticText("type", string.Format("Type: {0}", Chart.ChartType), VerticalAlignment.Top, HorizontalAlignment.Right, Color.Red);
         }
         public override void Calculate(int index)
         {
         }
     }
 }

関連項目

  • cAlgo.API.Chart

フィールド

Bars

概要

バー チャート。

署名

1
public static ChartType Bars;

 

戻り値

ChartType

Candlesticks

概要

キャンドルスティック チャート。

署名

1
public static ChartType Candlesticks;

 

戻り値

ChartType

Line

概要

ライン チャート。

署名

1
public static ChartType Line;

 

戻り値

ChartType

Dots

概要

ドット チャート。

署名

1
public static ChartType Dots;

 

戻り値

ChartType

Area

概要

エリア チャート。

署名

1
public static ChartType Area;

 

戻り値

ChartType

Hlc

概要

HLC チャート。

署名

1
public static ChartType Hlc;

 

戻り値

ChartType

目次

このページについて