Boris Lund![]() Regular ![]() ![]() Posts: 59 Joined: 12/9/2021 ![]() | Unfortunately that was a fluke from the specific interval I was looking at. On a 15min lower timeframe it is easier to see. a=mt("V","15M",2)[0]. The offset refers to the current timeframe. The second parameter has no influence here since we are referring to a lower timeframe. b=mt("V","15M",2)[1] The offset will point us to the last 60min timeframe and give us the last 15min data. The offset point to the current (60min) timeframe and not the 15min referred lower timeframe. Then I tried a workaround changing the timeframes, since the 15min[1] is equal to 30min minus 15min like this mt("V","30M",2)-mt("V","15M",2) That works. So now I have 15min[0] and 15min[1] the two last 15min component. So now it should only be a matter of adding timeframes of bigger sizes in steps of 15. Thus we need the 45M. Adding that, the 3. 15min timeframe (15min[2]) should be the 45M-30M like this mt("V","45M",2)-mt("V","30M",2) But that doesn't work. Something messes up due to the 45M offset not being a whole fraction of 60M. So I am back to not being able to refer to the individual smaller timeframe offsets. ![]() |