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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      169 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      327 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      252 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      353 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      180 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X