Support Board
Date/Time: Sun, 10 Nov 2024 05:02:31 +0000
Reference from other TF when bar has closed status - issue
View Count: 1068
[2014-09-08 22:36:46] |
sampater - Posts: 244 |
Sierra Chart Engineering, I'm creating a trading system by ASCIL, which has studies on lower time frames, which get references from higher time frames. Most calculation is when bar has status == BHCS_BAR_HAS_CLOSED. So, i have two questions: 1) Is there any function or any way (which can be aplied in study in lower time frame, at specified Index) which returns the Index of last bar, which has status == BHCS_BAR_HAS_CLOSED, from the chart with higher time frames? It implies that chart (#1) with lower time frame must be set lower precedence level, and chart (#2) with higher time frame must be set standard precedence level. 2) So, if i set in this way, do every calculations on chart #1 perform after calculations on chart #2? Has the Calculation Precedence apply between studies from different charts? Thank you for answer, Marek |
[2014-09-09 02:02:22] |
Sierra Chart Engineering - Posts: 104368 |
1. We believe that you already asked this previously and we did answer it. Very simply any chart array element that is not the last element is considered closed. Nothing more to it than that. So there really is nothing special you need from us to make the determination. We do not use anything other than this simple method. 2. It is not possible to set the calculation precedence level for a chart itself. However, refer to Use Controlled Order Chart Updating: http://www.sierrachart.com/index.php?page=doc/doc_GeneralSettings.html#UseControledOrderChartUpdating 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: 2014-09-09 02:02:37
|
[2014-09-10 11:14:37] |
sampater - Posts: 244 |
Use Controlled Order Chart Updating
That's it! It's the solution for issues from my question 1 and 2.But, after tested i have noticed different behavior of getting references from the chart with higher time frame, when bar has closed status, and option Use Controlled Order Chart Updating is enabled: 1) If was downloaded data after e.g. started the platform, the references are not properly. 2) If charts are getting data in real time, the references are properly getting from this moment. But, if i press Recalculate the calculation of references has changed on the same like point 1). 3) If those charts are playing in the Replay Chart mode, the references are properly getting from this moment. Speed of replay must be not greater than 480, if not, the references are not properly. But, if i stop Replay Chart or press Recalculate during a pause, the calculation of references has changed on the same like point 1). This different behavior not handicap the real time trading, but complicates and hinders a viewing of the historical calculations. If something will not be clear, please inform me. Best regards, Marek |
[2014-09-15 11:30:54] |
sampater - Posts: 244 |
Sierra Chart Engineering, There is second issue with Use Controlled Order Chart Updating: I have 5M, 15M, 1H, 4H and Daily charts in the Chartbook. Every studies in this charts calculate if bar has closed status. The 5M chart gets references from 15M, 1H, 4H and Daily charts. The 15M chart gets references from 1H, 4H and Daily charts. If replay this all charts in chartbook, the references are not properly getting in the 15M chart, regardless of speed (even 1). The 5M chart is getting reference properly if speed is decreased to 60. If i want the properly references in the 15M chart, i have to in the 5M chart disable every references to other charts. In real time, getting references from other charts are not working properly in these 5M or 15M charts simultaneously, too. In additional, if recalculate e.g. the 15M or H1 chart, the references in the 5M chart has changed on not properly. Is there any chance to resolve this issues, too? Best regards, Marek |
[2014-09-15 16:22:56] |
Sierra Chart Engineering - Posts: 104368 |
We do not know what is meant by " the references are not properly getting in the 15M chart". In general, this kind of subject is highly complex and we are reluctant to get involved in this. We do not know exactly what you are doing. Use Controlled Order Chart Updating should work properly as designed. However, maybe it cannot do what you require. 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: