WebsiteLive demosGuidesSource
  • Preparing search index...
  • The search index is not available
OpenAlgo Charts API - v2.6.9
  • OpenAlgo Charts API
  • widget
  • saveIndicatorTemplate

Function saveIndicatorTemplate

  • saveIndicatorTemplate(
        ctx: Pick<WidgetContext, "chart">,
        store: WorkspaceStore,
        name: string,
    ): Promise<IndicatorTemplateDocument>
  • Save the user's studies on the chart as a template: with their panes and scales when the store can capture them, else as the plain study list. Rejects when the chart has none of the user's own, rather than store an empty template.

    Parameters

    • ctx: Pick<WidgetContext, "chart">
    • store: WorkspaceStore
    • name: string

    Returns Promise<IndicatorTemplateDocument>

    • Defined in src/widget/layouts-templates.ts:121

Settings

Member Visibility
WebsiteLive demosGuidesSource
OpenAlgo Charts API - v2.6.9
  • Loading...

Generated using TypeDoc

Build your next market experience.Explore live demosAPI definitions generated from the current source with every website deployment.