Doji

Doji is a single-bar candlestick pattern where open and close price are virtually identical, representing market indecision. [Discuss] 💬

chart for Doji

// C# usage syntax
IEnumerable<CandleResult> results =
  quotes.GetDoji(maxPriceChangePercent);

Parameters

maxPriceChangePercent double - Optional. Maximum absolute percent difference in open and close price. Example: 0.3% would be entered as 0.3 (not 0.003). Must be between 0 and 0.5 percent, if specified. Default is 0.1 (0.1%).

Historical quotes requirements

You must have at least one historical quote; however, more is typically provided since this is a chartable candlestick pattern.

quotes is a collection of generic TQuote historical price quotes. It should have a consistent frequency (day, hour, minute, etc). See the Guide for more information.

Response

IEnumerable<CandleResult>

CandleResult

Date DateTime - Date

Price decimal - Price of the most relevant OHLC candle element when a signal is present

Match Match - Indicates a matching signal type for this candlestick pattern

Candle CandleProperties - Details of the candle properties

Utilities

See Utilities and helpers for more information.