Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 21:05:08 +0000



Post From: How to reference study value from N days back same time?

[2021-01-11 20:25:44]
User311344 - Posts: 136
Thanks John!

Unfortunately that easy task is little more complicated :-) Reference using [-1440] shows study value 24h back on 1min chart but... the session is not 24h but 23h so it whould be 1380 bars back. Then there are weekends where there is not full day traded so -1380 doesnt work well too.

I want to reference study values from each of past 10 days at the same time. Sound easy and I feel silly I cant do this in 15sec and although I could do it quite easy in ACSIL I tought Id ask if theres some formula/study based way.

I tought about some hack like using Period OHLC-Variable Period study but with no luck.