Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Limit bar count after defining entry bar via StrategyBuilder

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Limit bar count after defining entry bar via StrategyBuilder

    Hi,
    I have a logic that defines an entry bar, so that a stop is placed above to enter anytime the following bars. Now I would like to limit the number of bars after the entry bar, so that the strategy does not place the stop order anymore, when that number of bars has been exceeded. I can't find out how to do that via StrategyBuilder and would appreciate any hints. Thank you.

    #2
    Hello philmg,

    It sounds like you would need to make a counter, you can see an example of making and using a counter here:

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    52 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    43 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    47 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X