Mine is intraday strategy based on 5min charts which refers current day open price. If i simply refer OPEN or REF(OPEN,75), in a 5min periodicity it will refer the latest bar or 75 bars from the current bar,(ie if opportunity opens on 10 th bar, then REF(OPEN,75) will refere to previous days bar, but i need to refer current day OPEN price in a 5min periodicity.
How to code that?