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 WHICKED, Today, 12:45 PM
      2 responses
      16 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Started by GussJ, 03-04-2020, 03:11 PM
      15 responses
      3,272 views
      0 likes
      Last Post xiinteractive  
      Started by Tim-c, Today, 02:10 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Taddypole, Today, 02:47 PM
      0 responses
      2 views
      0 likes
      Last Post Taddypole  
      Started by chbruno, 04-24-2024, 04:10 PM
      4 responses
      51 views
      0 likes
      Last Post chbruno
      by chbruno
       
      Working...
      X