Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CrossAbove Lookback Param

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

    CrossAbove Lookback Param

    Could I ask for clarification on the lookback parameter of CrossAbove and other similar methods. If a CrossAbove happened within the lookback period. But is no longer above as of the latest bar. Does this method still register a CrossAbove?

    Thanks

    Kev

    #2
    Hello Kev,

    Yes, the look back period looks for a cross to have happened anytime within the number of bars of the period.

    If the lookback period is 4 and there was a cross 2 bars ago, CrossAbove() would still evaluate as true.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    72 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    39 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X