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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    90 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
    120 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