Support Board
Date/Time: Tue, 24 Dec 2024 12:53:49 +0000
Start study at session
View Count: 980
[2015-11-03 16:46:06] |
User832215 - Posts: 27 |
Hi, is there a way to make each study restart at session start? I want to know how to make my moving averages restart every session like the VWAP does
|
[2015-11-03 16:58:09] |
Sierra Chart Engineering - Posts: 104368 |
No. However, a Moving Average already does restart each and every single bar. It is not cumulative calculation.
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 Date Time Of Last Edit: 2015-11-03 16:58:47
|
[2015-11-03 17:10:12] |
User832215 - Posts: 27 |
Ok maybe I wasn't clear with what i meant with "restart at session start". Specifically I don't want my moving average to use the last day's bars in the calculation. If I have a simple moving average (20) and at start of the session there has only been 1 bar created which closed at 2000, then the value of the MA should be 2000. As it is now the first bar of the session and the 19 bars before that will be in the calculation. Is it possible to do that?
|
[2015-11-03 17:37:56] |
Sierra Chart Engineering - Posts: 104368 |
You will need to create your own custom study to do this. Refer to these pages here: https://www.sierrachart.com/index.php?page=doc/doc_BuildCustomStudiesDLL.html https://www.sierrachart.com/index.php?page=doc/doc_CreatingDLLs.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 |
To post a message in this thread, you need to log in with your Sierra Chart account: