Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to get Merge Policy of UseGlobalSettings

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

    How to get Merge Policy of UseGlobalSettings

    I am creating an indicator where I need to check the MergePolicy of the instrument. In NT7 I think there was a way to figure out if the MergePolicy of UseGlobalSettings was one of the following listed here:


    How do I check that in nt8?

    #2
    Hello,

    Thank you for the question.

    I tried the syntax provided and it appears this is the same in NT8:

    Print(Instrument.MasterInstrument.MergePolicy);

    I look forward to being of further assistance.

    Comment


      #3
      How do I check what the global settings are if the merge policy of the instrument is UseGlobalSettings?

      Comment


        #4
        Hello,

        For the settings in the options menu, this would be different. You could check the MarketDataSettings object for this property:

        Print(NinjaTrader.Core.Globals.MarketDataOptions.G lobalMergePolicy);


        I look forward to being of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        28 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        17 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        26 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        24 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        139 views
        0 likes
        Last Post SalmaTrader  
        Working...
        X