チャート表示設定

概要

チャート表示設定を表します。

署名

1
public abstract interface ChartDisplaySettings

 

名前空間

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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
 using cAlgo.API;
 namespace cAlgo
 {
     // このサンプルインジケーターを使用して、チャートコントロールを介してチャート表示設定の一部を変更できます
     [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
     public class ChartDisplaySettingsSample : Indicator
     {
         protected override void Initialize()
         {
             var stackPanel = new StackPanel
             {
                 HorizontalAlignment = HorizontalAlignment.Left,
                 VerticalAlignment = VerticalAlignment.Bottom,
                 BackgroundColor = Color.Gold,
                 Opacity = 0.7,
                 Margin = 5,
                 Orientation = Orientation.Vertical
             };
             var askPriceLineCheckBox = new CheckBox
             {
                 Text = "Ask Price Line",
                 Margin = 5,
                 IsChecked = Chart.DisplaySettings.AskPriceLine
             };
             askPriceLineCheckBox.Click += args => Chart.DisplaySettings.AskPriceLine = args.CheckBox.IsChecked.Value;
             stackPanel.AddChild(askPriceLineCheckBox);
             var bidPriceLineCheckBox = new CheckBox
             {
                 Text = "Bid Price Line",
                 Margin = 5,
                 IsChecked = Chart.DisplaySettings.BidPriceLine
             };
             bidPriceLineCheckBox.Click += args => Chart.DisplaySettings.BidPriceLine = args.CheckBox.IsChecked.Value;
             stackPanel.AddChild(bidPriceLineCheckBox);
             Chart.Controls.AddChild(stackPanel);
         }
     }
 }

署名

1
public abstract bool BidPriceLine {get; set;}

 

戻り値

bool

AskPriceLine

概要

Ask Price Line がチャート上に表示されるかどうかを定義します。

署名

1
public abstract bool AskPriceLine {get; set;}

 

戻り値

bool

Grid

概要

Grid がチャートの背景に表示されるかどうかを定義します。

署名

1
public abstract bool Grid {get; set;}

 

戻り値

bool

関連チュートリアル

  • コントロール

PeriodSeparators

概要

Period Separators がチャート上に表示されるかどうかを定義します。

署名

1
public abstract bool PeriodSeparators {get; set;}

 

戻り値

bool

TickVolume

概要

Tick Volume がチャート上に表示されるかどうかを定義します。

署名

1
public abstract bool TickVolume {get; set;}

 

戻り値

bool

DealMap

概要

Deal Map がチャート上に表示されるかどうかを定義します。

署名

1
public abstract bool DealMap {get; set;}

 

戻り値

bool

ChartScale

概要

Chart Scale がチャート上に表示されるかどうかを定義します。

署名

1
public abstract bool ChartScale {get; set;}

 

戻り値

bool

PriceAxisOverlayButtons

概要

価格軸のオーバーレイボタンがチャート上に表示されるかどうかを定義します。

署名

1
public abstract bool PriceAxisOverlayButtons {get; set;}

 

戻り値

bool

PriceAlerts

概要

価格アラートがチャート上に表示されるかどうかを定義します。

署名

1
public abstract bool PriceAlerts {get; set;}

 

戻り値

bool

MarketSentiment

概要

マーケットセンチメントがチャート上に表示されるかどうかを定義します。

署名

1
public abstract bool MarketSentiment {get; set;}

 

戻り値

bool

Targets

概要

ターゲットがチャート上に表示されるかどうかを定義します。

署名

1
public abstract bool Targets {get; set;}

 

戻り値

bool

QuickTradeButtons

概要

クイックトレードボタンがチャート上に表示されるかどうかを定義します。

署名

1
public abstract bool QuickTradeButtons {get; set;}

 

戻り値

bool

IndicatorTitles

概要

インジケータータイトルがチャート上に表示されるかどうかを定義します。

署名

1
public abstract bool IndicatorTitles {get; set;}

 

戻り値

bool