Skip to main content

Module renko

Module renko 

Source
Expand description

Renko chart transformation.

Renko charts filter out time entirely, plotting uniform-sized bricks that represent a fixed price movement. A brick in the direction of the trend is drawn when the close moves one brick_size beyond the close of the previous brick. A reversal needs a two-brick move: the close must move one brick beyond the open of the previous brick, and the reversal brick starts at that open.

Use to_renko_bricks to transform OHLCV bars into Renko bricks.

Structs§

RenkoBrick
A single Renko brick representing a fixed-size price movement.
RenkoConfig
Configuration for the Renko chart transformation.

Enums§

RenkoDirection
Direction of a Renko brick.

Functions§

to_renko_bricks
Transform bars into Renko bricks