The Set Variable block can be used to create variables that can reference properties / attributes of your trading strategy, including portfolio / position stats, technical studies, etc.
Variables can be used when you need to reference attributes of an existing trade (i.e. strike price, expiration, etc) when creating a new trade.
For more information, please see: