output_styles
forge.indicatorfunctionSince Forge API 1
Signaturepython
forge.indicator.output_styles(source: type | Sequence[_OutputDecl]) -> dict[str, PlotStyle]Every output's style with its default colour filled in.
Parameters
| Name | Type |
|---|---|
| source | type | Sequence[_OutputDecl] |
Each drawn value output takes the series colour of its position among the drawn value outputs, whether or not it names a colour itself, so giving one output a colour never recolours the others. A hidden output is neutral and a zone is a pale accent. A usable state drawn as a background is the warning colour, a display-only background a pale neutral, and any other state or event the accent colour. An event that names both its up and its down colour and no colour keeps no colour: the two say everything.