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, 05-11-2026, 05:56 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    32 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    195 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    356 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    277 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X