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.

    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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      111 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      59 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      38 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      41 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      78 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X