Level
forge.indicatorclassSince Forge API 1
Signaturepython
forge.indicator.Level(value: float,label: str = '',*,color: Color | str | None = None,width: float = 1.0,dash: str = 'dash') -> NoneA horizontal line in the indicator's pane: fg.Level(70, "Overbought").
Parameters
| Name | Type | Default |
|---|---|---|
| value | float | |
| label | str | '' |
| color | Color | str | None | None |
| width | float | 1.0 |
| dash | str | 'dash' |
color defaults to theme.neutral, width to 1 and dash to "dash". A level
never changes after it is made.