Expand description
Line Break chart transformation.
A Line Break chart extends the current direction when the selected price
passes the last line’s extreme. A reversal requires a break past the opposite
extreme of the configured number of preceding lines. Use
to_line_break_lines to transform OHLCV bars without rendering.
to_line_break_linesconverts OHLCV bars into line-break lines.detect_signalclassifies the relationship between the last two lines as a continuation or reversal.
Structs§
- Line
Break Config - Configuration for the Line Break chart transformation.
- Line
Break Line - A single line (block) in a Line Break chart.
Enums§
- Line
Break Signal - Signal generated from the last two lines of a Line Break chart.
- Line
Direction - Direction of a single line in a Line Break chart.
Functions§
- detect_
signal - Classify the signal produced by the last two lines in the sequence.
- to_
line_ break_ lines - Convert bar data to Line Break lines