Bars Filled

Abbreviation: BarsFilled
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 ordered was filled. For previous positions (# positions ago >= 1), the is the number of bars between when the entry order was filled and the exit order was filled.

 
Discussion:

This indicator is useful for creating custom trading strategy exit conditions based upon the number of filled bars in the current position or previous positions.
 

Was this article helpful?

Related Articles