Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using different timeframes AND session begin / end

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

    Using different timeframes AND session begin / end

    Could someone please shed some light on using multiple timeframes, with DIFFERENT start / end times?

    My Instrument (YM Dow Mini Futures) allows a lot of overnight trading. I am attempting to use yesterday's High & Low based on 24 hours, and do some comparisons with yesterday's Floor Trader hours (9:30a - 4:15p Eastern).

    I have an indicator that does the calculation, and it bases the Session begin and end on the chart's Session, when I include this:

    ... Initialize()

    Add(MyYestHiLoIndicator())


    My primary chart's Session is based on Floor Trader hours. How can I see the 24 hr High & Low figures?


    Thanks in advance,

    Brian1

    #2
    Brian1,

    You have to have your chart to use 24 hr sessions. Then you can limit it the way you want with a time filter in your actual code. That is the only way to have both sessions available.

    if(ToTime(Time[0]) > 93000 && ToTime(Time[0]) < 160000)
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh for the reply.

      So I see that my primary timeframe is 24 hrs. Is there a way to narrow the visual timeframe of my primary chart? Or must I simply always have the 24 hr chart shown, to use this Strategy?

      Comment


        #4
        You will need the full 24 hrs. No way to limit it visually.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Ok. Thanks a lot, Josh.

          Brian1

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          62 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          33 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          44 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          58 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          47 views
          0 likes
          Last Post CarlTrading  
          Working...
          X