Login Page - Create Account

Support Board


Date/Time: Tue, 12 Nov 2024 21:31:20 +0000



Post From: Reference from other TF when bar has closed status - issue

[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