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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    55 views
    0 likes
    Last Post CarlTrading  
    Working...
    X