Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market Analyzer Column - Is row Filtered?

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

    Market Analyzer Column - Is row Filtered?

    Hi,

    In a Market Analyzer Column, Is it possible from code to determine:

    1) Is a market analyzer current ROW being FILTERED?

    2) What is the current ORDINAL number of the ROW?

    I want to know if the instrument in a row is not being shown because it is being filtered, meaning the row is not being shown, and what is the row number position for the instrument.

    I noticed that my Market Analyzer Column code runs even for rows that are not being shown. I would like to test for that. As a bonus I wanted to now the column row number for the instrument.


    Thank you!

    #2
    Hello jmneto,

    Thank you for the post.

    I am unsure how to get the row number currently, I will need to review this further.

    To check if there is an active filter condition which is true from the column its self, you could do something like the following:

    Code:
    FilterCondition fcon = GetActiveFilterCondition();
    if(fcon != null)
    {
        if(fcon.Matches(this, PriorValue))
        {
            Print("Filter Condition matched");
        }
    }
    As this is not documented, you would need to test this will all use cases to ensure it works as expected for this use case.

    I look forward to being of further assistance.

    Comment


      #3
      Solved my issue, really like this platform.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      72 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      152 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      100 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      288 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X