strategy.position_size - Pine Script Variable
strategy.position_size
Section titled “strategy.position_size”Overview
Section titled “Overview”Direction and size of the current market position. If the value is > 0, the market position is long. If the value is < 0, the market position is short. The absolute value is the number of contracts/shares/lots/units in trade (position size).
floatQualifier
Section titled “Qualifier”series