Hi robertogozzi you’re right, as time and price progress, DHIGH should change to reflect the highest price of the day, but in PRT 10.2 & 10.3 that change isn’t being applied to the earlier candles.
This seems to be a bug introduce in version 10.2 and carried over to 10.3.
DHigh should return the highest price achieved during the day, but for any candles that occur before the high of the day DHigh will report the wrong value.
This is shown in the image below. If you wrote an indicator to compare the high of an hourly candle to the day’s high using DHigh in PRT 10.2 & 10.3 you would get the wrong result. For example in the image below, for the fourth candle of the day (circled in red) the indicator would report that the candle’s high was the same as the day’s high, which is clearly wrong.
