strategy.closedtrades.first_index - Pine Script Variable
strategy.closedtrades.first_index
Section titled “strategy.closedtrades.first_index”Overview
Section titled “Overview”The index, or trade number, of the first (oldest) trade listed in the List of Trades. This number is usually zero. If more trades than the allowed limit have been closed, the oldest trades are removed, and this number is the index of the oldest remaining trade.
intQualifier
Section titled “Qualifier”series