Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How do I filter a row with a blank cell

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

    How do I filter a row with a blank cell

    Just to get this question out into its own thread:

    How do I filter rows that have a blank cell in the column I am filtering on?

    Thanks,
    EV

    #2
    There is not a filter mechanism for blank rows at this time, however I will pass this thread to our development team as an idea to enhance this feature.

    If you're working with an indicator, and the value is null, it is replaced by the current price. What you can do instead in that case, is explicitly set the value to 0 for example in the logic of the indicator and filter based on that value.
    MatthewNinjaTrader Product Management

    Comment


      #3
      Originally posted by NinjaTrader_Matthew View Post
      There is not a filter mechanism for blank rows at this time, however I will pass this thread to our development team as an idea to enhance this feature.

      If you're working with an indicator, and the value is null, it is replaced by the current price. What you can do instead in that case, is explicitly set the value to 0 for example in the logic of the indicator and filter based on that value.
      If there is an issue with an indicator that does get called then your idea works -- i.e. you can set zero (or some absurdly large value) and filter for that.

      Your idea fails for blank cells, though, because they happen when the indicator is not called at all -- when there are no bars in the specified range.

      The only idea I have is to write a custom indicator, assign it an infinite range, and then see what dates it gets called with. It could return zero or one, and then the MA could filter for that. Seems as if there should be a better way ....

      --EV

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      65 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      41 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      23 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      26 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      52 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X