Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Wat is the "value" of n/a ?

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

    Wat is the "value" of n/a ?

    Hello - not a programmer. just trying to create an alert. I want to know what the value of "n/a" is. to create a condition in an alert.

    ex "Falling not equal to n/a" as a condition in the the alert

    Thanks!!!

    Click image for larger version  Name:	image.png Views:	0 Size:	62.1 KB ID:	1246517
    Attached Files
    Last edited by kempotrader; 04-16-2023, 12:02 PM.

    #2
    Hello kempotrader,

    Thanks for your post.

    N/A typically refers to a null value. Note that this is not the same as having a value of 0.

    So I may accurately assist, are you creating a custom NinjaScript indicator to trigger an alert using the Alert() method based on a specific condition?

    Or, are you creating alerts in the Alerts window?

    What exactly are you referring to when you mention "Falling"? Is this a plot in an indicator that comes default with NinjaTrader or is this the IsFalling() method?

    I look forward to assisting further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      It is one of the conditions of an alert setup. It's one of the items in an Ergodic indicator (see below)

      Click image for larger version

Name:	image.png
Views:	213
Size:	225.5 KB
ID:	1246532

      (hopefully, this explains it well enough)​ AND if we get this, I have another one for you...lol

      Thanks kempo

      Comment


        #4
        Bump---what happened?

        Comment


          #5
          Hi kempotrader, the n/a is identified in C# through the double.NaN field. Unfortunately, It will require a script to determine this value. In a NinjaScript script one would use the IsValidDataPoint() method:

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          633 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          364 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          567 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          568 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X