hline
forge.drawfunctionSince Forge API 1
Signaturepython
forge.draw.hline(price: float,*,color: Color | str | None = None,width: float = 1.0,dash: str = 'solid',id: str | None = None) -> DrawingA horizontal line across the whole chart at price.
Parameters
| Name | Type | Default |
|---|---|---|
| price | float | |
| color | Color | str | None | None |
| width | float | 1.0 |
| dash | str | 'solid' |
| id | str | None | None |