Built-ins
Built-in Variables
Built-in variables serve diverse purposes, including:
Price- and volume-related variables:
open,high,low,close,hl2,hlc3,ohlc4,volume.
Built-in Functions
Built-in functions in Pine Script can be categorized based on their application:
Math-related functions in the
mathnamespace:math.abs(),math.log(),math.max().Technical indicators in the
tanamespace:ta.sma(),ta.ema(),ta.macd().Support functions used in technical indicator computations in the
tanamespace:ta.barssince(),ta.crossover(),ta.highest().Input definition functions under the
inputnamespace:input(),input.color(),input.int().Indicators functions in the
indicatornamespace for placing orders:indicator.signal().
Last updated