Types
int
Keyword used to explicitly declare the "int" (integer) type of a variable or a parameter.
Example
indicator("Int Keyword Example", overlay=true)
// Declare an integer variable for moving average length
int maLength = 20
// Calculate the Simple Moving Average (SMA) using the integer variable
smaValue = talib.sma(close, maLength)
// Plot the moving average
plot(smaValue, title="20-period SMA", color=color.blue, linewidth=2)