# Daily SMA shown on a smaller time frame?

#### Ramos

##### New member
Is there a way to get a moving average that’s on the daily chart to be seen on a smaller time frame? Like one the daily chart the 200 sma is below the candle but on the 1hour time frame it shows above and that’s not what I want to see , I want to see the actual sma of the daily on the 1hour chart. Is it possible? I thought the (daily sma) did that but it doesn’t.

It does. Maybe you set it up incorrectly. Maybe it is out of the bounds of your chart.

@Ramos You can display higher timeframe data on lower timeframe charts, but not lower on higher... So your request is easily doable... For more information, please refer to Chapter 11 of the Thinkscript Learning Center...

It does. Maybe you set it up incorrectly. Maybe it is out of the bounds of your chart.
I checked the charts, but the settings I’m unease with what needs to be changed for that

Is there a way to get a moving average that’s on the daily chart to be seen on a smaller time frame? Like one the daily chart the 200 sma is below the candle but on the 1hour time frame it shows above and that’s not what I want to see , I want to see the actual sma of the daily on the 1hour chart. Is it possible? I thought the (daily sma) did that but it doesn’t.
If assuming correctly your request and problem, I think your problem is the number of bars (periods) to calculate the SMA on an hourly basis and daily basis. If you want to see the hourly candle shown below the ''200-MA'', you will need to use a higher time-period-value instead of 200 (let's say 200 days times 6 hours = 1200). Right now, you are telling the program to evaluate '200 hrs'....not 200 ''days'' which displays correctly in your daily chart but not in the hourly chart. Keep in mind to adjust studies to reflect the timeframes. For instance, in a weekly chart, I use 10MA periods to show ''50-days'' when funds normally buy and support price. On a daily chart, I use 50 periods 'per-se' on the SMA. If I'm correct in this assessment, you will need to save two different studies. One for daily charts, one for hourly charts. If the community has programmed something to automatically 'adjust' the periods on every SMA - depending on the selection of timeframe - using the aggregation.period clause (i.e. switch periods and colors from this timeframe to this other timeframe), that would be nice to use. Hope this helps. Happy trading...

Yes, you can use the indicator called 'DailySMA' on any chart, and once you click on the properties you can set to any of TOS' default time periods by updating the aggregation period and entering the length, for example Daily and 50.

87k+ Posts
283 Online

## The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
• Exclusive indicators
• Proven strategies & setups
• Private Discord community
• Exclusive members-only content
• 1 full year of unlimited support

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?