Abbreviation: BarsActive
Category: Trading Strategy: Position Information
Input Parameters:
Name | Range | Default |
Trading Strategy | ||
# Postions Ago | Int >= 0 | 0 |
Calculation:
For the current position (# positions ago = 0), the is the number of bars since the entry signal. For previous positions (# positions ago >= 1), the is the number of bars between the entry signal and when the exit order was filled.
Discussion:
This indicator is useful for creating custom trading strategy exit conditions based upon the number of active bars in the current position or previous positions.