Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 10:08:11 +0000



Set fixed time period for displayed study independent of chart display time period

View Count: 1180

[2019-05-18 04:34:05]
User376291 - Posts: 1
I've spent hours searching and I can't figure this out. TL;DR: how can I set my SMA study to always calculate using daily values independent of the selected chart bar period?

Presently, chart 1 is set to daily bar period and charts 2, 3, 4 all copy the major studies (incl. SMA) from chart 1. If I change chart 1 to weekly bars, it obviously changes all other linked studies. This is because the SMAs are based on "main chart" values (which is chart 1), and when I change the chart bar period on chart 1, the other studies on chart 2, 3, 4 change according to whatever chart bar period I select for chart 1. Logically, this makes sense, but I always want the SMA studies to be calculated based on daily values. The four SMA studies from chart 1 are displayed on charts 2, 3, 4 by using the study/price overlay based on chart 1 (four entries study/price entries, one for each of the SMAs). Even when looking at chart 1, I may change the bar period to weekly or monthly to make some analysis, but I always want the SMA to be based on a daily value.

1. How can I peg/fix the underlying data used for calculating SMA to the daily chart bar period, independent of whatever chart bar period is selected for viewing on a chart window? Should I have a separate chart window that *always* displays the daily time frame and use this as a base to calculate all other fixed studies I want to have?

2. Related: is there a way to add one SMA study with four time periods subgraphs? Or was I correct in adding four SMAs with one time period each?

PS: The more I use SC, the more I like it (and the less I want to smash my keyboard). It really shows me that I need to be familiar with all the "hidden" data and variables involved behind the scenes in calculating trading indicators, rather than just blindly point-and-clicking based on some "auto" study from another platform's trading algorithm. Steep learning curve, but it's going to make for more intelligent trading, I think. Thanks! :)
Date Time Of Last Edit: 2019-05-18 04:36:31
[2019-05-18 10:10:32]
User138602 - Posts: 169
What about making a static daily chart for your indicators and hide it?
Date Time Of Last Edit: 2019-05-18 10:10:47
[2019-05-20 22:05:09]
Sierra Chart Engineering - Posts: 104368
1. As has been stated, and as you thought, the way to do this is to have a static chart that is set to Daily, set the SMA on this chart, and then use Study/Price Overlay to view this Daily SMA on your other charts. Also, as stated, if you are not going to be looking at the daily chart, you can hide it.

2. As you already determined, the only way to get more than 1 SMA is to add additional copies of the study. If you want them to be based on different timeframes, but viewed on a particular chart, then you would need to use the concept from #1 above, to have a chart set to the timeframe you want and the SMA for it, then use Study/Price Overlay to view the data on the chart you want.

Just for completeness, the Study/Price Overlay documentation is here:
Study/Price Overlay Study

And here is information on how to Hide a chart:
Window and CW Menus: Hide Window (Window)
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account