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 geddyisodin, Yesterday, 05:20 AM
      8 responses
      49 views
      0 likes
      Last Post geddyisodin  
      Started by DayTradingDEMON, Today, 09:28 AM
      3 responses
      19 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Stanfillirenfro, Today, 07:23 AM
      9 responses
      23 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by George21, Today, 10:07 AM
      0 responses
      8 views
      0 likes
      Last Post George21  
      Started by navyguy06, Today, 09:28 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X