Hi,
I'm trying to use prior day's high and low in a strategy, with the HighD(1) and LowD(1).
The funny thing is that it's working for tick bars, contract bars, minute, second and hour bars, but not for range ("point") bars and "change bars". Those return -1.
Is this a bug or am I missing something here?
thanks
/Daniel
HighD LowD CloseD doesn't work with range bars. [SOLVED]
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: HighD LowD CloseD doesn't work with range bars.
Hello Daniel,
CloseD/HighD/LowD/OpenD are not designed to work with range and change bars.
These functions are designed for:
Ticks (Ticks & Contracts)
Intra-Day (Seconds, Minutes, & Hours)
Days
CloseD/HighD/LowD/OpenD are not designed to work with range and change bars.
These functions are designed for:
Ticks (Ticks & Contracts)
Intra-Day (Seconds, Minutes, & Hours)
Days
Re: HighD LowD CloseD doesn't work with range bars.
Ok, thanks.
Is there any similar function I could use for range bars, or do I have to code it myself?
Is there any similar function I could use for range bars, or do I have to code it myself?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: HighD LowD CloseD doesn't work with range bars. [SOLVED]
There is no similar function that you can use for range bars, you need to code it yourself.