Class ShootingStar
java.lang.Object
io.runon.trading.technical.analysis.pattern.CandlePatternDefault
io.runon.trading.technical.analysis.pattern.upper.shadow.ShootingStar
- All Implemented Interfaces:
PriceChangeAnalysis,CandlePattern
유성형 고점에서 발생하는 패턴
역망치형(InvertedHammerPattern)과 동일한 형태이지만 상승세의 고점에서 출현한다.
주식에서는 일반적으로 강력한 하락반전 신호로 알려져 있지만
단기적으로 오히려 상승 신호가 될 수 있다
몸통이 짧은 양봉일경우 보다 확실한 단기 상승 우세이고 윗꼬리가 적당히 길면 좋다
음봉이고 윗꼬리가 너무길면 즉각적인 하락반전으로 이어지기도 한다.
----------------------------------------------------------------------------
상승신호와 하락신호를 나누어서구현
일반적으로는 하락신호이므로 하락으로 구현하고
단기상승하는 상승현은 하나더 구현
- Author:
- macle
-
Field Summary
Fields inherited from class io.runon.trading.technical.analysis.pattern.CandlePatternDefault
candleChangeObserver, lastCheckCandle, lastPoint, tradeCandles -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPoint(TradeCandle[] candles, int index, BigDecimal shortGapRate) 캔들의 배열이 바뀔 수 있으므로 array 로 직접 받음가격변화 예측유형추세 변환 예측 유형 얻기Methods inherited from class io.runon.trading.technical.analysis.pattern.CandlePatternDefault
changeLastCandle, getLastPoint, getPoints, initRealTime, removeObserver, setCandles, setObserver
-
Constructor Details
-
ShootingStar
public ShootingStar()
-
-
Method Details
-
getPriceChangeType
Description copied from interface:PriceChangeAnalysis가격변화 예측유형- Returns:
- PriceChangeType 가격 변화 예층 유형( 상승, 하락, 보합)
-
getTrendChangeType
Description copied from interface:CandlePattern추세 변환 예측 유형 얻기- Returns:
- TrendChangeType 추세 변환 예측유형 (지속, 반전)
-
getPoint
캔들의 배열이 바뀔 수 있으므로 array 로 직접 받음- Specified by:
getPointin classCandlePatternDefault- Parameters:
candles- 캔들 배열index- 기준위치shortGapRate- 짧은 캔들 기준 확률- Returns:
- 패턴결과
-