Class TrendLine
java.lang.Object
io.runon.trading.technical.analysis.trend.line.TrendLine
추세선
- Author:
- macle
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()트렌드 라인 유형 상승 하락score(TradeCandle[] candles, int index, int leftCount, BigDecimal shortGapRate) 하락 기울기 1.0이면 하락 패턴 1.0 보다 커지면 하락기울기가 가파름
-
Constructor Details
-
TrendLine
생성자- Parameters:
type- Type 추세선 유형
-
-
Method Details
-
score
하락 기울기 1.0이면 하락 패턴 1.0 보다 커지면 하락기울기가 가파름- Parameters:
candles- TradeCandle[] 캔듭배열index- int 기준인덱스leftCount- int 좌측 건수shortGapRate- 짧은캔들 비율- Returns:
- 기울기
-
getType
트렌드 라인 유형 상승 하락- Returns:
- type up or down
-