Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Please ammend the "DOCS"

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

    Please ammend the "DOCS"

    in Ninja Docs, in CrossAbove/CrossBelow description pages, there is missing one critical information:


    if crossabove considers "equality" as cross.
    for example, does this return true?

    CrossAbove( a, b, 1);

    while
    a[1]= 9.00, a[0]=11.00,
    and say, "b" is 11.00

    #2
    Hello ttodua,

    Thank you for your post.

    In the situation where your plots are exactly equal or the same value, this would not be a true cross as the values are currently the same value. The existing cross methods would not check for this specific case with a lookback of 1 as they are instead specifically checking if a price cross happened where the price was below, and then passed through the other price or the opposite.

    I will put in a request for a note to be added to the help guide to reflect this.

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      ok, to say clearly, i wanted to find out for `CrossAbove( a, b, 1)` which of these logic applies:

      1) a[1]<b[1] && a[0]>b[0]
      or
      2) a[1]<=b[1] && a[0]>b[0]
      or
      3) a[1]<b[1] && a[0]>=b[0]

      so, you might state that clearly in docs.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by rocketman7, Today, 01:00 AM
      0 responses
      1 view
      0 likes
      Last Post rocketman7  
      Started by wzgy0920, 04-20-2024, 06:09 PM
      2 responses
      27 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, 02-22-2024, 01:11 AM
      5 responses
      32 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, 04-23-2024, 09:53 PM
      2 responses
      74 views
      0 likes
      Last Post wzgy0920  
      Started by Kensonprib, 04-28-2021, 10:11 AM
      5 responses
      193 views
      0 likes
      Last Post Hasadafa  
      Working...
      X