- Joined
- 31 May 2015
- Posts
- 17
- Reactions
- 0
I'm trying to get HHV of first 5 bars of the day on EUR/USD (timeframe 1 H). I know how to get the first bar of the day and value for first high:
but don't know how to get HHV of first 5 bars. Thanks for prompt.
Code:
FirstBar = DateNum() != Ref(DateNum(),-1);
FirstHigh = ValueWhen(FirstBar ,H);
but don't know how to get HHV of first 5 bars. Thanks for prompt.