Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market Analyzer

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

    Market Analyzer

    Hello.

    I have created a Market Analyzer script which has several input properties controlling behavior of the processing. Is there a way to specify different property values BY ROW once this script has been applied as a column?

    Thx



    #2
    Hello Bidder, thanks for writing in.

    Each instrument row will reach State.Configure state for a Market Analyzer script, so we can use different properties based on the instruments being used. e.g.

    Code:
    else if (State == State.Configure)
    {
        if(Instrument != null)
            Print(Instrument.FullName);
    }
    We can also read the instrument name from OnMarketData to filter out the rows:

    Code:
    protected override void OnMarketData(Data.MarketDataEventArgs marketDataUpdate)
    {
        Print(Instrument.FullName);
    }
    It depends on what you need to do. Could you let me know what you wanted to complete through this?

    I look forward to hearing from you.

    Comment


      #3
      Hi Chris.

      A coding solution is fine. I almost implemented one already but just wanted to make sure I wasn't missing anything that could be done by setting property values per row.

      This will be used to turn off processing for symbols that don't need it so the State.Configure will work fine.

      Thx!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      85 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      47 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      67 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X