ドンチャンチャネル

cBots (自動売買)

Summary

ドンチャン・チャネルは、選択された期間の最高値と最安値の間にチャネルを形成するボラティリティ指標です。

Remarks

ドンチャン・チャネルは主にエントリーシグナルを提供するために使用されます。価格がドンチャン・チャネルを上回ってクローズすると、ロングが確立されます。逆に、価格がチャネルを下回ってクローズすると、ショートが確立されます。

Signature

1
public abstract interface DonchianChannel

 

Namespace

cAlgo.API.Indicators

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 //...
 private DonchianChannel donchian;
 //...
 protected override void OnStart()
 {
     donchian = Indicators.DonchianChannel(Period);
 }
 protected <span="k">override void OnBar()
 {
     Print("Top Value = {0}", donchian.Top.LastValue);
     Print("Middle Value = {0}", donchian.Middle.LastValue);
     Print("Bottom Value = {0}", donchian.Bottom.LastValue);
     //...
 }

Properties

Top

Summary

期間中の最高値を取得または設定します。

Signature

1
public abstract IndicatorDataSeries Top {get; set;}

 

Return Value

IndicatorDataSeries

Examples

1
2
3
4
 //...
 private DonchianChannel donchian;
 //...
 Print("Top Value = {0}", donchian.Top.LastValue);

Middle

Summary

期間中の最高値と最安値の中間値を取得または設定します。

Signature

1
public abstract IndicatorDataSeries Middle {get; set;}

 

Return Value

IndicatorDataSeries

Examples

1
2
3
4
 //...
 private DonchianChannel donchian;
 //...
 Print("Middle Value = {0}"<span="p">, donchian.Middle.LastValue);

Bottom

Summary

期間中の最安値を取得または設定します。

Signature

1
public abstract <span="n">IndicatorDataSeries Bottom {get<span="p">; <span="k">set;}

 

Return Value

IndicatorDataSeries

Examples

1
2
3
4
 //...
 private DonchianChannel donchian;
 //...
 Print("Bottom Value = {0}"<span="p">, <span="n">donchian<span="p">.Bottom.LastValue);
目次

このページについて