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 NullPointStrategies, Today, 05:17 AM
    0 responses
    42 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    65 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X