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 mishhh, 05-25-2010, 08:54 AM
      19 responses
      6,189 views
      0 likes
      Last Post rene69851  
      Started by gwenael, Today, 09:29 AM
      0 responses
      1 view
      0 likes
      Last Post gwenael
      by gwenael
       
      Started by Karado58, 11-26-2012, 02:57 PM
      8 responses
      14,829 views
      0 likes
      Last Post Option Whisperer  
      Started by Option Whisperer, Today, 09:05 AM
      0 responses
      1 view
      0 likes
      Last Post Option Whisperer  
      Started by cre8able, Yesterday, 01:16 PM
      3 responses
      11 views
      0 likes
      Last Post cre8able  
      Working...
      X