strategy.position_avg_price - Pine Script Variable
strategy.position_avg_price
Section titled “strategy.position_avg_price”Overview
Section titled “Overview”Average entry price of current market position. If the market position is flat, ‘NaN’ is returned.
floatQualifier
Section titled “Qualifier”series