Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Passing a Defined TradingHours into an indicator attached to Strategy.

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

    Passing a Defined TradingHours into an indicator attached to Strategy.

    I am using the NinjaTrader OrderFlowVWAP indicator in my Strategy. The new Signature for the Indicator uses a TradingHours object. I do not want to use the one associated with the Strategy or one associated with a chart i may place the strategy on. How do I select one of the saved if I know the name? If i build one in the code does it get saved anywhere other than the code?

    Thanks,
    Mark

    On a side note, it would be nice if the signatures of these NinjaTrader OrderFlow indicators could be added to existing ones instead of dropping old signatures and using new ones when you release patches. I miss passing in the start and end times to the OrderFlowVwap.


    #2
    Hello EllisEdi,

    From the help guide on how to get a trading hours object instance by name:
    TradingHours.String2TradingHours("CME US Index Futures RTH")

    Below is a public link to the help guide.
    https://ninjatrader.com/support/help...flow_vwap2.htm

    If you were to create a new TradingHours object in code, no, this would not be saved as a TradingHours template .xml file.


    I will pass your request to include new overloads instead of changing overloads. However, please note that these were recent additions and may have needed these changes to be properly implemented. Not every overload change can be an addition and sometimes due to the changes internally replacing the overloads are necessary.
    Last edited by NinjaTrader_ChelseaB; 11-07-2018, 04:11 PM.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X