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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      66 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      36 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      59 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X