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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      267 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      169 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      171 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      260 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      210 views
      0 likes
      Last Post CarlTrading  
      Working...
      X