Thanks Im aware of these functions, in the script Im actually running this on I am using frameSync instead. Thats not the cause and I wanted to make this example script as simple as possible.
Last edited by gamadeus; 02/05/2021:14.
Re: price() on different timeframes
[Re: gamadeus]
#479022 02/05/2023:4002/05/2023:40
With TimeFrame = 6 and 10 minute bars, there is no guarantee that the last 6 bars represent the last 60 minutes. There can be many reasons for this, such as data gaps.
Consider also that the price function generates an average of the immediately available samples. In one case, you have one degree of separation from your T6 data, and in another case, you have two degrees of separation from your T6 data.