integer

Syntax

input <input name>=<integer_number_used_by_default>;

Description

Defines an integer input.

Example

input length = 10;

plot SMA = Average(close, length);

Draws the SMA using the close price data. The length value can be adjusted using the correspondent input, which is set to 10 by default