Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What does CrossAbove/Below do?

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

    What does CrossAbove/Below do?

    If I have a chart with 30 minute intervals, if I call CrossAbove(...) at close of a bar and compare two data series, will it be testing whether they crossed each other at any time in the past n bars, or if their closing values crossed each other at any time in the past n bars?

    #2
    It will look at closing values. You will need to use CalculateOnBarClose = false if you want to see if they crossed ever.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jc.am, Today, 07:59 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by ybhx0315, Today, 09:06 PM
    0 responses
    2 views
    0 likes
    Last Post ybhx0315  
    Started by parkinsonbr, Today, 08:23 PM
    0 responses
    3 views
    0 likes
    Last Post parkinsonbr  
    Started by i2w8am9ii2, Today, 04:36 PM
    2 responses
    13 views
    0 likes
    Last Post i2w8am9ii2  
    Started by WeyldFalcon, Today, 02:07 PM
    2 responses
    15 views
    0 likes
    Last Post WeyldFalcon  
    Working...
    X