Skip to main content
Version: v27

Indicator template methods

List indicator templates

GET request: charts_storage_url/charts_storage_api_version/study_templates?client=client_id&user=user_id

Response content

The response is a JSON object containing the following properties:

ParameterDescription
statusok or error
dataArray of objects where each object has a name property representing the template name (example: Test)

Save indicator template

POST request: charts_storage_url/charts_storage_api_version/study_templates?client=client_id&user=user_id

Request body

ParameterDescription
nameTemplate name
contentTemplate content

Response content

The response is a JSON object containing the status property, which may have values of either ok or error.


Load indicator template

GET request: charts_storage_url/charts_storage_api_version/study_templates?client=client_id&user=user_id&chart=chart_id&template=name, where name is a template name.

Response content

The response is a JSON object containing the following properties:

PropertyDescription
status
#
data
#

Delete indicator templates

DELETE request: charts_storage_url/charts_storage_api_version/study_templates?client=client_id&user=user_id&template=name, where name is a template name.

Response content

The response is a JSON object containing the status property, which may have values of either ok or error.