Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 13:32:46 +0000



[User Discussion] - Multiple Time Frames

View Count: 2137

[2013-05-22 18:36:09]
User39772 - Posts: 311
Is it possible to create a buy/sell criterion that uses multiple time frames (i.e. different time settings) and/or that uses symbols from other charts with the same or different timeframe.
[2013-05-23 05:19:13]
Sierra Chart Engineering - Posts: 104368
Yes. In the case of Spreadsheets, refer to this documentation:
http://www.sierrachart.com/index.php?l=doc/doc_ReferencingChartsFormulas.html
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
[2014-01-28 04:08:07]
gabby alindogan - Posts: 49
Hi. Is there a way to create an indicator in SierraChart where the indicator is composed of an average of multiple time frames.

Ex. Given a 30m chart of IBM and a 14 period ADX. Is there a way to create an indicator "x" for the 30m chart where each 30m bar has a corresponding " x " composed of

(5min ADX(14)+10m ADX(14) + 30m ADX(14) )/3

[2014-01-28 20:02:18]
vegasfoster - Posts: 444
Yes, you can do it relatively easy with a spreadsheet study, just add all 3 charts, add the adx to each of the 3 charts, then use the study/price overlay study to overlay the ADX from the 30m and 10m chart onto the 5 minute chart, then hide the ADX and two overlayed studies on the 5m chart, then add a spreadsheet study and create a formula to take the average of the 3 in cell K3 and plot K3.

If you don't like spreadsheets and don't mind waiting a couple days then I can hard code a study that would eliminate the spreadsheet and pull the ADX from each of the 3 charts to create a composite.
[2014-01-28 20:20:19]
gabby alindogan - Posts: 49
Thanks vegasfoster. I am trying to keep my SC lean and without all the other "attachments" . I would sincerely appreciate it.
[2014-01-29 23:53:27]
vegasfoster - Posts: 444
So I created this study mainly using code from other studies I made for other people, but the code (and the other studies) aren't working anymore, so I have to figure out if they changed how this works. Even though I have specified the other chart numbers it is pulling the ADX from the chart the custom study is applied to 3 times and not from the other charts. If they haven't changed anything then I am a little stumped. Will get back to it tomorrow.
[2014-01-31 23:58:00]
vegasfoster - Posts: 444
Ok, so I needed help from SC Support and I should be able to wrap it up tomorrow.
[2014-02-03 16:48:28]
vegasfoster - Posts: 444
Uh oh, forgot all about this, i'm on it...tomorrow! :)
[2014-02-05 23:01:36]
vegasfoster - Posts: 444
So far my coding efforts are failing, see here Referencing other charts if you haven't already you may want to jump to the spreadsheet solution and I will post if/when I get it figured out, unless someone else wants to jump in here and help out.
[2014-02-06 01:29:56]
gabby alindogan - Posts: 49
Thanks for trying man. Appreciate it

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

Login

Login Page - Create Account