Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Build Strategy Based on Candles of Different time frames

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

    Build Strategy Based on Candles of Different time frames

    Hi,

    how can I write a strategy that allowed me to check HLOC of various time frames with in the strategy e.g. monthly, weekly, Daily, Hourly as condition of the trade?

    Thanks

    #2
    Hello gbajaj,

    Thanks for your post and welcome to the NinjaTrader forums!

    You would need to add those other time frame data series to your strategy. Note that to use a monthly series would mean that your charts days to load will need to include enough days to the monthly bar(s).

    If you are using the Strategy Builder to create this, please see this short video on adding and accessing different time frames:https://paul-ninjatrader.tinytake.co...MF8xMTY0NTQyMw

    If you are coding directly in Ninjascript then you would need to use AddDataSeries(): https://ninjatrader.com/support/help...dataseries.htm

    In addition, for coding, I highly recommend a complete review of this section that covers all aspects of multi time frame/multi-series coding: https://ninjatrader.com/support/help...nstruments.htm
    Last edited by NinjaTrader_PaulH; 06-15-2021, 06:08 AM. Reason: Moved to NinjaTrader 8 Strategy Development forum.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    80 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X