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.
    Chris L.NinjaTrader Customer Service

    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 jaybedreamin, Today, 05:56 PM
      0 responses
      2 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      18 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      1 view
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      6 views
      0 likes
      Last Post Javierw.ok  
      Started by timmbbo, Today, 08:59 AM
      2 responses
      10 views
      0 likes
      Last Post bltdavid  
      Working...
      X