|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.sourceforge.orangesignal.trading.strategy.AbstractTradingStrategy
jp.sourceforge.orangesignal.trading.strategy.TradingStrategySupport
jp.sourceforge.orangesignal.trading.strategy.systems.BollingerBandsLongEntry
public class BollingerBandsLongEntry
| フィールドの概要 | |
|---|---|
protected Number[] |
bb
ボリンジャーバンドの下位バンドデータを保持します。 |
protected CrossSignal[] |
cross
価格とボリンジャーバンドの下位バンドとの交差シグナルを保持します。 |
| コンストラクタの概要 | |
|---|---|
BollingerBandsLongEntry()
|
|
| メソッドの概要 | |
|---|---|
void |
close()
ストラテジーを終了します。 |
boolean |
execute()
ストラテジーを処理します。 |
int |
getNum()
|
int |
getPeriod()
ボリンジャーバンドの期間を返します。 |
FourPrice |
getPrice()
価格の種類を返します。 |
void |
prepare()
ストラテジーを初期化します。 |
void |
setNum(int num)
|
void |
setPeriod(int period)
ボリンジャーバンドの期間を設定します。 |
void |
setPrice(FourPrice price)
価格の種類を設定します。 |
| クラス jp.sourceforge.orangesignal.trading.strategy.TradingStrategySupport から継承されたメソッド |
|---|
buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort |
| クラス jp.sourceforge.orangesignal.trading.strategy.AbstractTradingStrategy から継承されたメソッド |
|---|
buy, buyToCover, createOrder, getCandlestick, getClose, getCommission, getCurrentDataIndex, getCurrentEntries, getCurrentPosition, getCurrentPositions, getDataset, getDate, getDefaultOrderTiming, getEndDataIndex, getEntryDate, getEntryPrice, getHigh, getLow, getMarketPositionType, getOpen, getStartDataIndex, getStrategyName, getSymbol, getTrader, getVolume, sell, sellShort, setCurrentDataIndex, setDataset, setDate, setDefaultOrderTiming, setEndDataIndex, setStartDataIndex, setSymbol, setTrader |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected Number[] bb
protected CrossSignal[] cross
| コンストラクタの詳細 |
|---|
public BollingerBandsLongEntry()
| メソッドの詳細 |
|---|
public FourPrice getPrice()
public void setPrice(FourPrice price)
price - 価格の種類public int getPeriod()
public void setPeriod(int period)
period - ボリンジャーバンドの期間public int getNum()
public void setNum(int num)
public void prepare()
AbstractTradingStrategy の記述:ストラテジーを初期化します。
デフォルトの実装は何も行いません。
TradingStrategy 内の prepareAbstractTradingStrategy 内の preparepublic boolean execute()
TradingStrategy の記述:ストラテジーを処理します。
false。それ以外の場合は true。public void close()
AbstractTradingStrategy の記述:ストラテジーを終了します。
デフォルトの実装は何も行いません。
TradingStrategy 内の closeAbstractTradingStrategy 内の close
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||