I'm super new to TradingView Pine Script and I didn't find a proper reference for understanding the difference between the :=
and =
operators.
Does anyone have a reference or description?
Thanks in advance
I'm super new to TradingView Pine Script and I didn't find a proper reference for understanding the difference between the :=
and =
operators.
Does anyone have a reference or description?
Thanks in advance
= is used to declare and initialize variables := is used to assign values to variables after initialization, transforming them into mutable variables(any immutable variable).
follow this to know more in details about :=