Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Higher Time Frame SMA on Lower Time Frame Charts

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

    Higher Time Frame SMA on Lower Time Frame Charts

    I wondering if there is any way to get more accurate higher time frame SMA values on a lower time frame chart. Please refer to the attached screenshot. The ORANGE line represents the hourly 10 SMA on a 1000 tick Chart via a custom indicator. The blue dotted line is also the 10 SMA on the same chart and presents a more accurate value during the hour when the Orange line remains static. The Blue line is created by adding the hourly time frame as a hidden Data Series. I would like to place trades based on the blue dotted line. Any suggestion how I go about this?
    Attached Files

    #2
    Hello nelslynn,

    You can add that type of data in a script and use it, it would just not be visual. You can read about using multi timeframes here https://developer.ninjatrader.com/do...me_instruments

    Comment


      #3
      Please read my request again and look at the image... I DID add the 60 min into the script. It is taking the ORANGE line points. I want it to take the Blue dotted line points.

      Comment


        #4
        How are you coding it that it's different? Both are 60mins aren't they? You said the orange is based off of the 1000 tick chart right? And the blue is off the 60min chart? You would add the data series for whatever the blue one is using...?

        Comment


          #5
          I do have the data series for the blue line, but all print statements give me the values from the orange line (the same 10SMA value each hour). I'm guessing this is not possible.

          AddDataSeries(BarsPeriodType.Minute, 60); // [4]

          Comment


            #6
            It should be possible. Unless the other indicator isn't using the same calculations for some reason. Is it a custom indicator? I can't see how you would be able to get an SMA to be pretty much FLAT like the orange line is. I've never seen it stay that flat for that long. Have you already tried putting up an hourly data series on your chart, with a 10 SMA to confirm that's what it's using?

            Thinking about it, since the 60 min chart is being overlaid on the smaller time frame, I can see why it would have less granularity, because there are less dots to connect. That being said, are you sure that's the 10 SMA from the hour being printed from the blue indicator? Is it possible it's not the rough equivalent of one, say the 600 SMA from the 1min chart?

            What chart is this for and what day?
            Last edited by rockmanx00; 03-06-2025, 02:12 AM.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Today, 05:17 AM
            0 responses
            49 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            126 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            67 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