visualise_technical_indicator#

API documentation for tradeexecutor.visual.technical_indicator.visualise_technical_indicator Python function.

visualise_technical_indicator(plot, start_at=None, end_at=None)[source]#

Convert a single technical indicator to Plotly trace object.

Parameters:
  • plot (Plot) – A stateful plot object created in decide_trades()

  • start_at (Optional[Timestamp]) –

  • end_at (Optional[Timestamp]) –

Returns:

Plotly Trace object.

If there are no data points to draw return None.

Return type:

Optional[Scatter]