Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Giving the "bars ago" option a time period, not a specific value

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

    Giving the "bars ago" option a time period, not a specific value

    Hello Support team,

    you are always very helpful, thanks for that first!

    I have another question today. I want to enter long, once a close price was less the lower bollinger bond within the last 10 bars AND the EMA with a period of 5 cross above the EMA with a period of 14 (for example)

    To enter long when the 2 EMA cross is no problem, but for the Bollinger bond section I can only use bars ago. I want to use something like "within the last 10 bars"

    Is this possible?

    Thanks!

    #2
    Hello Chris_GRM,

    Thank you for your post.

    You could do this by using CrossBelow with a lookback of 10. So, on the right, I'd select the close price and on the left the lower Bollinger band, and use CrossBelow with the lookback set to 10. What this is basically doing is looking for the close price to have crossed below the Bollinger any time within the prior 10 bars. I'm attaching a very simple example I've set up in the Strategy Builder.

    Please let us know if we may be of further assistance to you.
    Attached Files

    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
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X