indicator

Declares the script as an indicator. Must be the first statement.

indicator(title: const string, shorttitle: const string = na, overlay: const bool = false, precision: const int = na, format: const string = na, max_bars_back: const int = na, max_lines_count: const int = 50, max_boxes_count: const int = 50, max_labels_count: const int = 50, scale: const string = na, explicit_plot_zorder: const bool = false, behind_chart: const bool = false, calc_bars_count: const int = na, max_polylines_count: const int = na, dynamic_requests: const bool = false)

Parameters

Example

indicator("My indicator", overlay=true)