Class HammerPattern
java.lang.Object
io.runon.trading.technical.analysis.pattern.CandlePatternDefault
io.runon.trading.technical.analysis.pattern.lower.shadow.HammerPattern
- All Implemented Interfaces:
io.runon.trading.PriceChangeAnalysis,CandlePattern
망치형 캔들
아래 그림자 캔들의 한종류로 하락추세에서 아래 그림자 캔들이 발생하면 망치형 캔들.
망치형이 의미있는 상승반전 또는 조정 신호가 될려면 아래 꼬리가 몸통보다 길고 몸통은 약간 두꺼워야 한다.
몸통이 음봉이든 양본이든 상관없이 망치형으로 부를 순 있으나 반드시 몸통이 양봉이었을때에만 상승 반전 신호로 해설될 수 있다
(음봉 망치형은 오히려 단기 하락을 부추김)
필요기능 패턴발생지점, 발생스코어
이후 데이터가 추가될때마다 즉각분석이 가능해야하므로
이전 패턴발생 누적치 정보를 저장해야함 (실시간 분석기능 제공용)
- Author:
- macle
-
Field Summary
Fields inherited from class io.runon.trading.technical.analysis.pattern.CandlePatternDefault
lastCheckCandle, lastPoint, tradeCandles -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPoint(TradeCandle[] candles, int index, BigDecimal shortGapRate) 캔들의 배열이 바뀔 수 있으므로 array 로 직접 받음 패턴결과 패턴이 유효하지 않을경우 null 을 리턴io.runon.trading.PriceChangeTypeio.runon.trading.TrendChangeType추세 변환 예측 유형 얻기Methods inherited from class io.runon.trading.technical.analysis.pattern.CandlePatternDefault
changeLastCandle, getLastPoint, getPoints, initRealTime, setCandles
-
Constructor Details
-
HammerPattern
public HammerPattern()
-
-
Method Details
-
getPriceChangeType
public io.runon.trading.PriceChangeType getPriceChangeType() -
getTrendChangeType
public io.runon.trading.TrendChangeType getTrendChangeType()Description copied from interface:CandlePattern추세 변환 예측 유형 얻기- Returns:
- TrendChangeType 추세 변환 예측유형 (지속, 반전)
-
getPoint
Description copied from class:CandlePatternDefault캔들의 배열이 바뀔 수 있으므로 array 로 직접 받음 패턴결과 패턴이 유효하지 않을경우 null 을 리턴- Specified by:
getPointin classCandlePatternDefault- Parameters:
candles- TradeCandle [] 캔들 배열index- int 기준위치shortGapRate- 짧은 캔들 기준 비율- Returns:
- CandlePatternPoint 패턴결과
-