'Difference between := and = operator in pine script
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
Solution 1:[1]
= 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 :=
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source | 
|---|---|
| Solution 1 | abhinavxeon | 
